How do I configure MailScanner to notify recipients of a blocked file attachment?

If you want to deliver blocked filetype or filename attachment notices to the recipient, but not emails that were actually infected with a virus, you can do the following:

1. WHM > MailScanner > MailScanner Configuration > Deliver Disinfected Files = %rules-dir%/virus.delivery.rules

2. WHM > MailScanner > MailScanner Configuration > Still Deliver Silent Viruses = no

3. WHM > MailScanner > MailScanner Configuration > Silent Viruses = All-Viruses

4. WHM > MailScanner > Front-End Settings > Advanced Settings > Default delivery action for email found to be virus infected and is subsequently cleaned = yes

5. In the cPanel Front-end the user will probably need to change the Deliver Cleaned Emails setting from no to yes.

6. To make the front-end changes take effect on existing accounts rather than just new accounts (except for cPanel accounts whose users have already modified their MailScanner configuration), run the following command from the shell prompt:

/usr/mscpanel/msbe.pl

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...

Powered by WHMCompleteSolution