ConfigServer Services HelpDesk
Server Management Services from Way to The Web Ltd
ConfigServer Home Page
There was a problem loading the comments.

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

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: /usr/mailscanner/etc/
For filetype.rules.rules add:

FromOrTo: /usr/mailscanner/etc/
The files /usr/mailscanner/etc/ and /usr/mailscanner/etc/ 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