Block specific email address

Discuss our MailScanner install script and MailScanner itself
Post Reply
dotnetrix
Junior Member
Posts: 8
Joined: 04 Sep 2008, 17:43

Block specific email address

Post by dotnetrix »

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,
Infopro
Junior Member
Posts: 142
Joined: 15 Dec 2006, 00:22

Post by Infopro »

You might try: WHM > Plugins > ConfigServer MailScanner FE > ConfigServer MailScanner Front-End, scroll to bottom of the page and find the box titled:
Server Spam Blacklist:

Adding it there should prove helpful. ;)
Sarah
Moderator
Posts: 921
Joined: 09 Dec 2006, 22:49

Post by Sarah »

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:

Code: Select all

  accept  hosts = :
Below that line, add the following (replacing user@domain.com with the real email address, of course):

Code: Select all

  drop senders = user@domain.com
       message = (you can put a message here that will be included in the NDR)
Save the exim configuration and make sure there are no errors in the output.
Post Reply