On 2012-08-15 10:15, Kevin A. McGrail wrote:
On 8/15/2012 11:24 AM, Henrik K wrote:
On Wed, Aug 15, 2012 at 11:14:58AM -0400, Kevin A. McGrail wrote:
Henrik, why don't you think the timeout hit?
Probably because regexps hanging and it's impossible to timeout
them.
Interesting. OK. I look forwarding to see if your patch helped!
Kevin,
I added the patch and it hung in the same place. The 'spamassassin -D
-t < bad' command eventually went through after a LONG timeout. I didn't
capture the results of the SA command (forgot to redirect output), but
the patch to substr(X, 0, 30000) didn't seem to help any. Could be that
30,000 is too long? That delves deep into the attachment, and I'm
wondering if the top-end of the attachment (within that 30k range) has
content that triggers a regex that doesn't like what it sees?
Just throwing some ideas out there.
Thoughts?
--
John Evans