[Mimedefang] filter* being called for all recipients
Alberto.daSilva at rmb.co.za
Alberto.daSilva at rmb.co.za
Wed Oct 23 11:58:01 EDT 2002
>> Is possible to configure MD so that filter* only gets call once per
>> message?
> filter_begin and filter_end do only get called once per message.
> filter gets called once per MIME part.
> --
> David.
Thanks David,
That's what I though, but I checked this with
sub filter_begin () {
md_log("filter-begin:$Sender");
}
sub filter ($$$$) {
my($entity, $fname, $ext, $type) = @_;
md_log("filter-main:$Sender:$fname$type");
}
sub filter_end ($) {
my($entity) = @_;
md_log("filter-end:$Sender");
}
And filter_begin/filter_end ARE being called for every recipient.
syslog:
g9NDJHIT024761: <-- RCPT TO:<EVAN.MORRIS at rmb.co.za>
ORCPT=rfc822;EVAN.MORRIS at RMB.CO.ZA
g9NDJHIT024761: <-- RCPT TO:<GLEN.SCORGIE at rmb.co.za>
ORCPT=rfc822;GLEN.SCORGIE at RMB.CO.ZA
g9NDJHIT024761: <-- RCPT TO:<CRAIG.SHERMAN at rmb.co.za>
ORCPT=rfc822;CRAIG.SHERMAN at RMB.CO.ZA
g9NDJHIT024761:
MLOG,filter-begin:<RUBULOTTA at bloomberg.net>,,,<rubulotta at bloomberg.net>,<evan.morris at rmb.co.za>,EL9:15
UPDATE:
g9NDJHIT024761:
MLOG,filter-begin:<RUBULOTTA at bloomberg.net>,,,<rubulotta at bloomberg.net>,<glen.scorgie at rmb.co.za>,EL9:15
UPDATE:
g9NDJHIT024761:
MLOG,filter-begin:<RUBULOTTA at bloomberg.net>,,,<rubulotta at bloomberg.net>,<craig.sherman at rmb.co.za>,EL9:15
UPDATE:
g9NDJHIT024761:
MLOG,filter-main:<RUBULOTTA at bloomberg.net>:text/plain,,,<rubulotta at bloomberg.net>,<evan.morris at rmb.co.za>,EL9:15
UPDATE:
g9NDJHIT024761:
MLOG,filter-main:<RUBULOTTA at bloomberg.net>:text/plain,,,<rubulotta at bloomberg.net>,<glen.scorgie at rmb.co.za>,EL9:15
UPDATE:
g9NDJHIT024761:
MLOG,filter-main:<RUBULOTTA at bloomberg.net>:text/plain,,,<rubulotta at bloomberg.net>,<craig.sherman at rmb.co.za>,EL9:15
UPDATE:
g9NDJHIT024761:
MLOG,filter-end:<RUBULOTTA at bloomberg.net>,,,<rubulotta at bloomberg.net>,<evan.morris at rmb.co.za>,EL9:15
UPDATE:
g9NDJHIT024761:
MLOG,filter-end:<RUBULOTTA at bloomberg.net>,,,<rubulotta at bloomberg.net>,<glen.scorgie at rmb.co.za>,EL9:15
UPDATE:
g9NDJHIT024761:
MLOG,filter-end:<RUBULOTTA at bloomberg.net>,,,<rubulotta at bloomberg.net>,<craig.sherman at rmb.co.za>,EL9:15
UPDATE:
Not sure why though.
Alberto
More information about the MIMEDefang
mailing list