Exclude domain from Virus scan...

Drew Marshall drew at THEMARSHALLS.CO.UK
Tue Oct 11 20:44:26 IST 2005

On 11 Oct 2005, at 20:40, Rob wrote:

> Hello all.. just tried this, and it did not work.... am i missing  
> something?

Yup :-)
> In a file located in /etc/Mailscanner/rules/virus.scanning.rules
> FromTo: *@domain1.com  no
> FromTo: *@domain2.com    no
> FromTo: default         yes

I think this should be FromOrTo: *@domain.tld no


> In /etc/Mailscanner/Mailscanner.conf
> Changed the line
> Virus scanning = yes
> to
> Virus scanning = /etc/Mailscanner/rules/virus.scanning.rules
> All domain still get scanned for viruses...

Don't forget to restart MailScanner


In line with our policy, this message has 
been scanned for viruses and dangerous 
content by MailScanner, and is believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list