Implementing per domain scanning

Julian Field mailscanner at ecs.soton.ac.uk
Sun Nov 2 16:27:48 GMT 2003


At 16:07 02/11/2003, you wrote:
>I need to implement per-domain rules for both virus and spam checks. Can
>both "Virus Scanning =" and "Spam Checks =" point to the same ruleset?

Yes.

>For
>example:
>
>MailScanner.conf:
>Virus Scanning = %rulesdir%/per.domain.rules
>Spam Checks = %rulesdir%/per.domain.rules
>
>
>per.domain.rules:
>FromOrTo:   *@domain1.com   no
>FromOrTo:   *@domain2.com   no
>FromOrTo:   default         yes
>
>This would turn off virus and spam checks for domain1 and domain2 and allow
>checks for all other domains.
>
>Would this be the most efficient method?

Should work just fine.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC  7222 11F6 5947 1415 B654



More information about the MailScanner mailing list