ConfigServer Services HelpDesk
Server Management Services from Way to The Web Ltd
ConfigServer Home Page

Temporary Closure

We are taking a short break and will close the store, helpdesk and email from 17:00 GMT on Tuesday, 16h April to 09:00 Thursday, 25th April 2024.

If you purchase a license or Service Package before the closing date and require installation, please be sure to leave at least 24-48 hours before then for the work to be done. Otherwise, any work will be scheduled for after this period. We will reopen on Thursday, 25th April 2024.


There are certain domains on my server that I do not want MailScanner to scan AT ALL, regardless of any default settings in the cPanel or WHM front-end. How do I set this up?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
1. Create a file in /usr/mailscanner/etc/rules/ called scan.messages.rules

2. Put the following in that file and save the file:

FromOrTo:  *@domain.com  no
FromOrTo:  default   yes
Add a line like the domain.com line above for any other domains you do NOT want to have ANY scanning - this includes virus, spam, phishing, dangerous html, and file attachment scanning.

If you want to whitelist incoming mail from a particular domain, you can use a line like this:

From:  *@domain.com  no

3. Go to WHM > MailScanner > MailScanner Configuration and set "Scan Messages = " to "%rules-dir%/scan.messages.rules" (without the quotes) and click Change.

Please note that the settings in WHM > MailScanner > MailScanner Front-End > Advanced Settings (Default for spam scanning, Default actions for high and low scoring spam, Default for virus scanning, and Default delivery action for virus infected email) will be the default settings for all domains on the server regardless of whether the cPanel front-end is enabled for them or not, except for domains that you have disabled scanning for by following the steps above.

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© ConfigServer Services