Not scan some domains

Julian Field mailscanner at ecs.soton.ac.uk
Mon May 19 19:33:42 IST 2003


At 19:26 19/05/2003, you wrote:
>I have an MS4.20-3/RH7.3/Exim4.14 setup which collects mail for several
>virtual domains as well as for the localdomain. I'd like most of the
>domains scanned for viruses and spam except for a few of the virtual
>ones. The EXAMPLES file shows how to scan _some_ domains but in my case
>it would be easier to specify which domains NOT to scan. What I'd like
>is something like this:
>
>FromOrTo:    *@scanme.com            no
>FromOrTo:    *@scanme-too.com        no
>FromOrTo:    default                 yes
>
>However, the problem with the above rules is that the catchall default
>statement will end up scanning all of the domains. Is there a way to
>define a rule to scan everything with the exception of the specific
>domains?

The default only gets applied if *none* of the rules matched. So your
example above will work fine.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list