Can I configure MailScanner to not check zip/archive files for only one domain?

n MailScanner Configuration > "Maximum Archive Depth = ", enter the name of a ruleset (e.g. %rules-dir%/archive.rules). Then save changes.

Create a file with that name in the /usr/mailscanner/etc/rules/ directory. This file should contain the following (replace domain.com with the domain you wish to skip scanning within archives for):

To: *@domain.com 0
FromOrTo: default 3

You must include the default line so MailScanner will know what to do with domains that are not specified.

Was this answer helpful?

Related Articles

cPanel MailScanner Install/Upgrade Package

Please read this whole page before downloading the package Through our experience of...

Mailscanner front end

cd /usr/src/rm -fv msfe*wget http://www.configserver.com/free/msfeinstaller.tgz tar -xzf...

How can I get the MailScanner configuration to appear in the Xmail cPanel theme?

Do the following steps: cd /usr/local/cpanel/base/frontend/xmail ln -s ../x/cells/ pico -w...

How can I filter spam by blackhole lists such as spamcop.net?

In WHM > MailScanner > MailScanner Configuration you will find a setting for 'Spam List =...

What does the {Disarmed?} tag mean and can I disable it?

The {Disarmed} tag is added by MailScanner when it has detected and disarmed potentially...