rule having an effect on all recipients

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Tue Jan 27 14:23:13 GMT 2009


Scott Silva a écrit :
> on 1-26-2009 12:53 PM Marc Delisle spake the following:
>> Hi,
>> I am running 4.70.7-1 and will shortly upgrade to 4.74. My question is
>> about a rule affecting more than the intended user. Look at this:
>>
>> High Scoring Spam Actions = %rules-dir%/highspam.actions.rules
>>
>> which contains (obfuscated):
>>
>> To: user1 at cegepsherbrooke.qc.ca deliver header "X-Spam-Status: Yes"
>> To: user2 at cegepsherbrooke.qc.ca deliver header "X-Spam-Status: Yes"
>> FromOrTo:       default         delete
>>
>> So, user1 and user2 want to receive all high scoring spam. But, high
>> spam messages with user1 or user2 in the list of recipients are
>> delivered to all recipients. Is this a known problem, or is my syntax
>> invalid?
>>
>> Thanks,
>> Marc Delisle
> You have to split incoming messages for rules like that to work.
> There are howto's for postfix and sendmail in the wiki.

Thanks. I read 
http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:split_mails_per_recipient
but this howto is scary ("murderous overhead" and increased complexity 
for quarantine releasing).

Marc Delisle


More information about the MailScanner mailing list