How to *not* scan outgoing messages?

Julian Field mailscanner at
Tue Jan 28 09:02:14 GMT 2003

At 08:47 28/01/2003, you wrote:
>Hi folks,
>Reading the MailScanner FAQ, I notice Julian talking about scanning email
>leaving one's site (question 7, "There seem to be long delays". My question
>is, can I disable scanning (for spam and virii) of messages that are
>leaving our site?
>I couldn't find anything in mailscanner.conf that strictly forbids scanning
>in either direction (i.e. incoming or outgoing), so if y'all could help me
>out that would be great!

If your site is called "" then you can have
         Virus Scanning = /etc/MailScanner/rules/virus.scanning.rules
and then in that file put
To:      yes
FromOrTo:       default         no

Then any mail to your domain will be scanned, but that's all.
Julian Field
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list