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 some domains on my server that want virus and spam scanning but do not want any attachments blocked. How can I set this up?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
In the /usr/mailscanner/etc/rules/ directory, edit filename.rules.rules and filetype.rules.rules (and the archives.filename.rules.rules and arvhies.filetype.rules.rules if you also want the same rules for scanning within zip archives). Add a line like this for each domain for which you don't want attachments to be scanned:

For filename.rules.rules add:

FromOrTo: domain.com /usr/mailscanner/etc/filename.no.rules.conf
For filetype.rules.rules add:

FromOrTo: domain.com /usr/mailscanner/etc/filetype.no.rules.conf
The files /usr/mailscanner/etc/filename.no.rules.conf and /usr/mailscanner/etc/filetype.no.rules.conf should simply contain the following line:

allow   .       -       -
Make sure that you put tabs and not spaces between the parts of the above line.

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© ConfigServer Services