MS4.28.6 on a minimally modified Qube
Leland J. Steinke
steinkel at PA.NET
Tue Mar 23 22:20:56 GMT 2004
Leland J. Steinke wrote:
> The server is running sendmail 8.10.2, f-prot 4.4.1, clamav 0.68-1, and
> spamassassin 2.63. It looks like any MIME messages cause a coredump in the
> Explode routine. There is no error logged even with "Debug = yes"; MS just
> stops.
>
> This was supposed to be a quick, simple (pro bono) upgrade for a church
> school's mail server. Several hours later, it has turned into anything
> but.
>
>
> Any ideas or suggestions?
> Leland
>
> ps: "Nuke the qube" is not a viable short-term solution. ;-)
>
Sorry for answering my own post, but I changed the line
$prevpos = 0;
to
$prevpos = $file->getpos;
in ExplodePart() in Message.pm. It shouldn't make any difference, but it
did. When I did a test script, that does nothing but open a file, do a
getpos, read the file to the end, do a setpos, then read the file again,
getpos's return value was '' and NOT 0.
Maybe $nextpos should be initialized to $prevpos, just to be on the safe side.
leland
More information about the MailScanner
mailing list