[Mimedefang] filter* being called for all recipients

Alberto.daSilva at rmb.co.za Alberto.daSilva at rmb.co.za
Wed Oct 23 13:33:00 EDT 2002


> >    sub filter_begin () {
> >        md_log("filter-begin:$Sender");
> >    }
>
> Tricky, tricky, tricky... take a look at the definition of "md_log". :-)
>
> md_log loops over each recipient.  filter_begin only gets called once.
>
> Regards,
>
> David.

Thanks - I'll use md_syslog!

Can I suggest a change to md_log:
     md_syslog("$SyslogFacility|info","MDLOG,$MsgID," .
to
     md_syslog("$SyslogFacility|info","$MsgID: MDLOG," .

Makes it easier to read syslog/maillog since it's consistent with sendmail
syslog.

Thanks

Alberto da Silva




More information about the MIMEDefang mailing list