[Mimedefang] New spam kills mimedefang/spamassassin with newlines

Martin Blapp mb at imp.ch
Sun Aug 22 02:54:41 EDT 2004


Hi,

I found out that if one adds 20'000 newlines to a mail,
spamassassin uses a very high amount of ram (~200MB) or
even more if you have more newlines. This is too much
for mimedefang, so the same mail gets killed and killed
over and again. Spamassassin seems to read all lines into
it's memory and allocates some structures for each line
(even the empty ones).

I wonder if there is a way to circumvent this in mimedefang,
or should it be done in spamassassin ?

Martin

Martin Blapp, <mb at imp.ch> <mbr at FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: <finger -l mbr at freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------



More information about the MIMEDefang mailing list