united states of america usa  linkedinfacebookgoogle
MailScanner: skip certain email checks

One of our IT Support clients asked us why some emails are coming in with extra HTML content. After some searching, we've discovered that is was due to the MailScanner antispam system: it was parsing emails improperly and adding extra junk. We have decided to solve this by skipping the email from that domain from being scanned altogether.

One way to do so is to change the Scan Messages directive in MailScanner.conf from:

Scan Messages = yes

to

Scan Messages = %rules-dir%/scan.messages.rules

Then, in your rules directory, create a file called scan.messages.rules. In that file, be sure to add the line for scanning all by default:

FromOrTo:       default           yes

Then add the domain you don't want to scan (in this case they were Google Alerts):

From:   alerts.bounces.google.com       no

and restart MailScanner.

If you are having issues with Linux, Windows or Apple systems, we will be glad to provide you with IT services. Our IT support clients are located all over the world and our IT consultants are always available. Contact us for any IT help.

Tel: (786) 646-6461   |   Toll-Free: (877) 454-0758
18350 NW 2nd Ave, Suite 406E, Miami, FL, 33169, USA
Privacy Policy