[Mimedefang] multiplexor error - slave died

Yeager dyeager at teleport.com
Mon Feb 4 13:16:54 EST 2002


I've been getting the following in my maillogs:
----------------------------------------------------------------------------
--
Feb  4 04:12:35 mail sendmail[1008]: g94CCZhx1008: from=<xyz at hotmail.com>,
size=25627, class=0, nrcpts=1, msgid=<123>, proto=ESMTP, daemon=MTA, relay=
Feb  4 04:12:36 mail mimedefang.pl[756]: g94CCZhx1008: Non-multipart entity
with sub-parts??
Feb  4 04:12:36 mail mimedefang.pl[756]: g94CCZhx1008: Non-multipart entity
with sub-parts??
Feb  4 04:12:36 mail mimedefang-multiplexor: Slave 0 stderr: Can't call
method "path" on an undefined value at /usr/local/bin/mimedefang.pl line
504.
Feb  4 04:12:36 mail mimedefang-multiplexor: handleSlaveReceivedAnswer(0):
Timeout or error: Flag = 2
Feb  4 04:12:36 mail mimedefang-multiplexor: Reap: Idle slave 0 (pid 756)
exited normally with status 255 (SLAVE DIED UNEXPECTEDLY)
Feb  4 04:12:36 mail mimedefang[1007]: Error from multiplexor: ERR Filter
timed out
----------------------------------------------------------------------------
--

It only seems to be from this one sender, other than that MimeDefang works
fine. Any ideas on what this could be?
Looking in the mimedefang.pl source, the error is in action_quarantine - the
second line after the comment
"Can't handle path-less bodies". What exactly is a path-less body, and is
there a way to handle them?

Looking at some of the MIME docs, it says the $enity->bodyhandle could
return undefined, in which case the $body->path call would error. Could this
be the problem? If so, how to quarantine the attachment?

It appears sendmail is not accepting the mail, because the sequence of log
messages appears every 20 minutes or so from the same sender.
System is MimeDefang 2.3, Redhat 7.2 Sendmail 8.11.6

Filter syntax checks OK, and when I send test messages, they are handled
appropriately. It seems to be this one sender only.

--- mimedefang.pl code snip
sub action_quarantine {
    my($entity, $msg) = @_;

    $Action = "drop";
    push(@Warnings, "$msg\n");

    # Can't handle path-less bodies
    my($body) = $entity->bodyhandle;
    if (!defined($body->path)) {
 return 0;
    }

... rest of code.




More information about the MIMEDefang mailing list