Using "Default Rules With Multiple Recipients"

Julian Field MailScanner at ecs.soton.ac.uk
Tue Mar 15 16:29:16 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Use Default Rules With Multiple Recipients = yes
should do what you want.
It forces it to use the "default" rule if there are multiple recipients.

Peter Bates wrote:

>Hello all...
>
>I've had a butchers at the FAQ (sorry, a look, I don't know why I drop
>into slang) but didn't find a clear answer.
>
>Basically, I'm using Postfix and the HOLD method, and have a few
>addresses I now happily acknowledge are nothing but spamtraps, and which
>I want to forward elsewhere. I use the virtual_maps/virtusertable
>equivalent to forward to an external address.
>
>Because of the HOLD method, the message has to pass through MailScanner
>before being redirected (I've tried the REDIRECT Postfix method,
>seemingly without much success).
>
>So, I've been trying to use rules to avoid spam scanning for these
>addresses:
>
>Spam Checks = /etc/MailScanner/rules/scan.rules
>
>which has:
>
>To:     dodgy-spam at blah     no
>FromOrTo:     default           yes
>
>However, when the message is destined for multiple addresses, it
>doesn't get scanned for them, leading to some rather annoyed users.
>
>I've looked at:
>
>Use Default Rules With Multiple Recipients
>
>... but am still unsure how to use it, considering the messages
>technically come in for x at lshtm.ac.uk, but then get forwarded out.
>
>If anyone still awake has any suggestions or is doing something
>similar, I'd be grateful for any suggestions.
>
>Thanks.
>
>
>--------------------------------------------------------------------------------------------------->
>Peter Bates, Systems Support Officer, IT Services.
>London School of Hygiene & Tropical Medicine.
>Telephone:0207-958 8353 / Fax: 0207- 636 9838
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
>Support MailScanner development - buy the book off the website!
>
>
>

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list