[Mimedefang] Mimedefang segfaults/crashes on some mails
Jan Pieter Cornet
johnpc at xs4all.nl
Sat Jul 31 09:20:01 EDT 2004
On Sat, Jul 31, 2004 at 10:32:57AM +0200, Martin Blapp wrote:
> Hi,
>
> We have problems with mimedefang crashing on always the same
> mails. How can I fix that ? (I use perl 5.8.5 and Mimedefang 2.44
> SpamAssassin 3PR3 on FreeBSD 5.2.1).
Wild guess: it's your virus scanner, that is integrated in the perl
process using external libs, trying to extract a .rar file which is
failing spectacularly.
If not: somehow obtain that email that is crashing your MD, make
sure you can reproduce it, then sprinkle your mimedefang-filter with
call like this:
md_syslog('info', 'About to check phase of the moon...');
... and resubmit, then you'll be able to find out what part of
your filter is crashing.
(or manually run mimedefang.pl inside a properly prepped working
directory, according to specs in mimedefang-protocol(7), within
the perl debugger, and/or within gdb).
--
#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig; # Jan-Pieter Cornet
More information about the MIMEDefang
mailing list