I do not want MailScanner to block any file attachments unless they are infected by a virus. How do I do this?

To disable any checking of file attachments except for viruses, make the following changes in WHM > MailScanner > MailScanner Configuration and then click "Change":

1. Set "File Command =" to blank.

2. Set "Filename Rules =" to blank.

3. Set "Filetype Rules =" to blank.

4. Set "Archives: Filename Rules =" to blank.

5. Set "Archives: Filetype Rules =" to blank

6. To disable checking of zip attachments, set "Maximum Archive Depth =" to 0.

None of the above will affect scanning for viruses in attachments. Virus scanning will be controlled by the rules in /usr/mailscanner/etc/rules/virus.scanning.rules

  • 1 Users Found This Useful
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...