RE: [Mimedefang] New spam kills mimedefang/spamassassin with newlines

2004-08-22 Thread Martin Blapp
Hi,

> Have you reported this to the SA folks?

Yes, PR 3712

Martin
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


RE: [Mimedefang] New spam kills mimedefang/spamassassin with newlines

2004-08-22 Thread Rob
On Sunday, August 22, 2004 7:55 AM, Martin Blapp <> danced on the keyboard and
produced:
> 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).

Have you reported this to the SA folks?


PLEASE - keep list traffic on the list.  Email sent directly to me may be
ignored utterly. 

-- 
Rob | What part of "no" was it you didn't understand?
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] New spam kills mimedefang/spamassassin with newlines

2004-08-22 Thread Jeff Rife
On 22 Aug 2004 at 8:54, Martin Blapp wrote:

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

I'd call it a SpamAssassin bug.  I don't think any of the multi-line 
rules rely on newlines remaining exactly the same.  One newline is 
generally considered equal to any number of consecutive ones.

SA should crush the input by stripping every blank line after the first 
two in a group (in other words, if it finds more than 3 consecutive 
newlines, it should delete newlines 4 to N).  This would solve the 
problem, and shouldn't change any rule hits.


--
Jeff Rife|  
SPAM bait:   | "He chose...poorly." 
[EMAIL PROTECTED] |  
[EMAIL PROTECTED] | -- Grail Knight, "Indiana Jones and the Last 
Crusade" 


___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang