[Mimedefang] Mimedefang/logwatch interaction
PF
kernel at pkts.ca
Tue Feb 20 19:23:08 EST 2007
On Tue, 2007-02-20 at 12:43 -0700, Philip Prindeville wrote:
> Quoting the man page:
>
> DISPOSITION
> mimedefang.pl examines each part of the MIME message is examined and
> chooses a disposition. Unless otherwise indicated, the dispositions
> should be called only from filter and not filter_begin or filter_end.
>
>
> so why call it from filter_multipart() and not filter_begin() or
> filter()? Don't you want to accept the message atomically and
> stop further filtering of it? I.e. short-circuit the testing...
I think I'll move this code to filter()... it was randomly added to the
rest of our customizations in filter_multipart(), and Just Worked(tm).
> Can anyone think of any other methods to detect messages queued
> locally rather than accepted over a socket? I.e. messages read
> from stdin?
>
> Also, I tried to look at $SendmailMacros{'daemon_name'} but that
> never seems to be set. Ditto for daemon_flags.
>
> -Philip
--
Charles Howes <ch at pkts.ca>
--
PF <kernel at pkts.ca>
More information about the MIMEDefang
mailing list