You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Karsten Bräckelmann <gu...@rudersport.de> on 2014/09/05 20:56:33 UTC

Re: Large commented out body HTML causing SA to timeout/give up/allow spam

On Fri, 2014-09-05 at 11:55 -0400, Justin Edmands wrote:
> We are seeing a few emails that are about a 1MB and [...]

> dbg: timing: total 46640 ms

> BUT, because the live test likely took 46 seconds, I think SA is
> giving up or something similar. The actual email run through the live
> SA instance shows no score at all.

If SA timed out, this would be reflected in your logs. Your guessing
suggests you did not check logs.

How are you passing messages to SA? Using spamc/d? With spamc the size
limit of messages it will process is 500 kByte by default. Other methods
and glue are likely to have a size limit, too.

Odds are, that message simply has not been passed to SA.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: Large commented out body HTML causing SA to timeout/give up/allow spam

Posted by Tom Hendrikx <to...@whyscream.net>.
On 09/05/2014 09:16 PM, Jari Fredriksson wrote:
> 05.09.2014, 21:56, Karsten Bräckelmann kirjoitti:
>> On Fri, 2014-09-05 at 11:55 -0400, Justin Edmands wrote:
>>> We are seeing a few emails that are about a 1MB and [...]
>>> dbg: timing: total 46640 ms
>>> BUT, because the live test likely took 46 seconds, I think SA is
>>> giving up or something similar. The actual email run through the live
>>> SA instance shows no score at all.
>> If SA timed out, this would be reflected in your logs. Your guessing
>> suggests you did not check logs.
>>
>> How are you passing messages to SA? Using spamc/d? With spamc the size
>> limit of messages it will process is 500 kByte by default. Other methods
>> and glue are likely to have a size limit, too.
>>
>> Odds are, that message simply has not been passed to SA.
>>
>>
> I have 5MB limit with spamc and have not encountered any timeouts. My
> spamd server is quite obsolete with only a 64 bit Pentium 4 processor
> and 3 gigs of RAM.
> 
> Small load though, not an ESP, but my personal mail for mailing lists
> and also my 12 person company uses this as a filter.
> 

We saw more big spam messages in the last half year, and experimented
with increasing max message size (we use spamc). In the end we settled
with a 4M limit. Never seen any timeout (or other) issues with larger
files, but it didn't matter: there was no significant traffic above that
limit.

Tom


Re: Large commented out body HTML causing SA to timeout/give up/allow spam

Posted by Jari Fredriksson <ja...@iki.fi>.
05.09.2014, 21:56, Karsten Bräckelmann kirjoitti:
> On Fri, 2014-09-05 at 11:55 -0400, Justin Edmands wrote:
>> We are seeing a few emails that are about a 1MB and [...]
>> dbg: timing: total 46640 ms
>> BUT, because the live test likely took 46 seconds, I think SA is
>> giving up or something similar. The actual email run through the live
>> SA instance shows no score at all.
> If SA timed out, this would be reflected in your logs. Your guessing
> suggests you did not check logs.
>
> How are you passing messages to SA? Using spamc/d? With spamc the size
> limit of messages it will process is 500 kByte by default. Other methods
> and glue are likely to have a size limit, too.
>
> Odds are, that message simply has not been passed to SA.
>
>
I have 5MB limit with spamc and have not encountered any timeouts. My
spamd server is quite obsolete with only a 64 bit Pentium 4 processor
and 3 gigs of RAM.

Small load though, not an ESP, but my personal mail for mailing lists
and also my 12 person company uses this as a filter.



-- 
jarif.bit