Limit domains to scan using rules

Julian Field mailscanner at ecs.soton.ac.uk
Wed Oct 23 22:21:24 IST 2002


At 21:49 23/10/2002, you wrote:
>Hi,
>
>I am using Mailscanner 4.01-8 on a Redhat 7.2 machine. With the former
>version, I used the domains file to include domains for scanning and right
>now, I have a problem with the new rules.
>I applied serveral rules like
>
>Spam Modify Subject = /etc/MailScanner/rules/domains.to.scan.rules
>High Scoring Spam Modify Subject =
>/etc/MailScanner/rules/domains.to.scan.rules
>Spam Checks = /etc/MailScanner/rules/domains.to.scan.rules
>Use SpamAssassin = /etc/MailScanner/rules/domains.to.scan.rules
>
>My domains.to.scan.rules looks lile
>ToOrFrom:    domain1.de                 yes
>ToOrFrom:    domain2.de                 yes
>etc.
>
>but Mailscanner scans domains not included in my domains.to.scan.rules
>file and adds a "Found to be clean" even to domains not included in my
>file.
>Do I have to add any additional rules ?

Add a "default" rule saying "no". The "default default" is "yes". Should
just look like this:
ToOrFrom:       default no



>Regards,
>
>Steffan

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list