I noticed that when running with Sendmail I don't get this, but Postfix 
provokes these messages:

Nov  9 14:18:42 svr002 postfix/cleanup[4406]: 81C93280047: milter-discard: 
END-OF-MESSAGE from localhost[127.0.0.1]: milter triggers DISCARD action; 
from=<[email protected]> to=<[email protected]> proto=ESMTP 
helo=<scaylclient.scayl.net>

when I hit this code fragment:

sub filter_end {

        ...

        if (@Recipients > 1) {
            stream_by_recipient();              ### ignore return value
            md_syslog('info', "contained scayl attachments; resubmitting");
            return action_discard();
        } else {

        ...


which I have to do for various reasons, including the fact that each user now 
needs to receive an individually rewritten message based on his address.

I might be able to work-around it as:

sub filter_end {

        ...

        if (@Recipients > 1) {
            my $firstRecipient = shift(@Recipients);
            stream_by_recipient();              ### ignore return value
            md_syslog('info', "contained scayl attachments; resubmitting");
            @Recipients = ($firstRecipient);
        }  # fall-thru instead for the first recipient...


but it seems to me that this really should be fixed in the MDF/Postfix 
interaction instead.

Anyone else have any insight into this?

Thanks,

-Philip
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to