Implementing per domain scanning

Kevin Hill kuh at IGHOSTING.COM
Sun Nov 2 16:07:34 GMT 2003


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

Thanks,
Kevin



More information about the MailScanner mailing list