Hi,
How do I go about blocking a specific email address with cfg/mailscanner? I noticed in MailWatch one specific address sending phising mail to all accounts ibx@fakebank.co.uk
Regards,
Block specific email address
If you want to block the sender email address in exim so it doesn't even get to MailScanner, you can add the following lines to the exim configuration. Go into WHM > Exim Configuration Editor > Advanced Editor:
In the 2nd text box under "begin acl" look for the line that says:
Below that line, add the following (replacing user@domain.com with the real email address, of course):
Save the exim configuration and make sure there are no errors in the output.
In the 2nd text box under "begin acl" look for the line that says:
Code: Select all
accept hosts = :
Code: Select all
drop senders = user@domain.com
message = (you can put a message here that will be included in the NDR)