[Mimedefang] Stream_by_recipient

Stefano McGhee SMcGhee at ARCweb.com
Mon Jan 6 09:08:01 EST 2003


Hello all,
	I seem to be having trouble with the stream_by_recipient function.
I added it to my mimedefang-filter file as shown at the bottom of this
message.  I don't see any errors in the syslog, but messages sent to a
group of individual users, including a user who is in SA as all_spam_to all
get the spam.  In other words, the spam message is sent to a group of
individual recipients including an all_spam_to recipient and they all get
it.  I remember that there are 2 caveats to the stream_by_recipient
function.  The first being to be using sendmail 8.12.  I am using 8.12.6.
The second is to be using smtp for local delivery.  I believe I am doing
this, but where would I check to make sure?  Is it related to the
MAILER(XXXX) option in the sendmail.mc file I'm using?

TIA,

Stefano


sub filter_begin () {
    # This line causes all messages literally sent to more than one person
    # to be broken up and sent individually.  This allows for better per
    # person behavior by SpamAssassin
    if (stream_by_recipient()) {
        return;
    }




More information about the MIMEDefang mailing list