I am running MD/SA forwarding to another mail server with no local delivery,
stream_by_recipient is setup correctly and working fine. I cannot find a way
around this problem though:
SA local.cf has all_spam_to [EMAIL PROTECTED] A spam message will come in
with recipients usera, userb and userc.
SA tags the message as not spam for userb and userc also.
I even tried this:
sub filter_recipient {
if ( $recipient =~ /<[EMAIL PROTECTED]>/ ) {
return('ACCEPT_AND_NO_MORE_FILTERING', "ok");
} else {
return('CONTINUE', "ok");
}
}
This just stops filtering on the entire message, not just the one recipient.
I scoured the list and cannot find a way around this behaviour.
I thought stream_by _recipient breaks up the message into (in this case)
three seperate messages then when they get
to filter_end, get the SA check seperately. Not the case, all messages get
scored as all_spam_to in my case.
Must I replace the recipient list
(TO:[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED])
on each seperate message with TO:[EMAIL PROTECTED] on the first one,
TO:[EMAIL PROTECTED] on the second one and TO:[EMAIL PROTECTED] on the
first one ? Where, filter_recipient, filter_begin? possible?
So does all_spam_to mean all_spam_to all recipients of message if any one
recipient matches at that that?
Just because one employee wants porn e-mails or something, the boss now gets
it too since the message is TO:
[EMAIL PROTECTED] and [EMAIL PROTECTED]
Bossman is not happy.
Thank all,
Fred
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang