User specific "Spam Actions"

Julian Field mailscanner at ecs.soton.ac.uk
Mon Sep 29 09:57:38 IST 2003


At 10:01 29/09/2003, you wrote:
>So if I understand this post, I could put:
>
>MailScanner.conf
>----------------
>Spam Checks = %etc-dir%/enable-spamcheck.conf
>
>and:
>
>enable-spancheck.conf
>---------------------
>To: user1 at domain1.com   yes
>To: user2 at domain1.com   yes
>FromOrTo: *@domain1.com  no
>
>To: usera at domain2.com   no
>To: userb at domain2.com   no
>FromOrTo: *@domain2.com  yes
>
>FromOrTo:   default   no
>
>to achive both per domain and per user control of whether spam checking is
>used or not.
>
>Right?

Looks okay to me.
Please get in the habit of ending ruleset files with ".rules". MailScanner
works hard to deduce whether you meant a simple value or the filename of a
ruleset. However, there are a few situations when it can't work it out, at
which point it has to resort to the filename extension. In your case, you
will get away with it, but in situations where it is asking for a filename
anyway it can't work it out.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list