[Mimedefang] md_graphdefang_log() must be called "in message context"?
Gary Funck
gary at intrepid.com
Thu Sep 11 15:54:12 EDT 2008
On 09/11/08 13:14:42, David F. Skoll wrote:
> No. Neither $Subject nor $MsgID is available until after DATA.
> (Think about it...)
Yeah, (the $Subject part) sounded wrong when I wrote that.
What do you think of the idea of moving this code:
# Set message ID
if ($QueueID ne "") {
$MsgID = $QueueID;
} elsif ($MessageID ne "") {
$MsgID = $MessageID;
} else {
$MsgID = "NOQUEUE";
}
into read_commands_file()?
We're calling read_commands_file() from filter_recipient()
to pick up macros and such. It'd be nice if $MsgID were
set implicitly as well. This should work fine for
do_scan() as well?
More information about the MIMEDefang
mailing list