spamassassin-users December 2011 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: sa-learn and modern spam sizes

Re: sa-learn and modern spam sizes

From: Kevin A. McGrail <KMcGrail_at_nospam>
Date: Fri Dec 16 2011 - 17:06:15 GMT
To: Jonas <jonas@vrt.dk>

>>> There are a couple of hits on it on google with various people having
>>> the same problem, I didn't find much answers but it appears that the
>>> hardcoded limit is somewhere between 256-512kilobyte?
>> man spamc
>>
>> -s max_size, --max-size=max_size
>> Set the maximum message size which will be sent to spamd -- any bigger
>> than this threshold and the message will be returned unprocessed (default: 500
>> KB). If spamc gets handed a message bigger
>> than this, it won't be passed to spamd. The maximum message size is
>> 256 MB.
>>
>>
> I do not use spamd/spamc. But the perl module of spamassassin.
>
> So is there no way to get around this?
Hmm. I didn't think SA had a limit internally. Normally, you utilize a
limit on spamc (-s/--max-size) or in procmail such as * < 524288.

But if you call SA directly as an API, I don't think there is a limit.
You might want to post this on the dev list.

A quick check and I couldn't find anything in the code or docs but I
didn't look exhaustively.

regards,
KAM