spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: spamc not scanning file, spamassassin co

Re: spamc not scanning file, spamassassin command ok

From: Karsten Bräckelmann <guenther_at_nospam>
Date: Mon Oct 25 2010 - 17:05:58 GMT
To: users@spamassassin.apache.org

On Mon, 2010-10-25 at 09:47 -0700, John Hardin wrote:
> On Mon, 25 Oct 2010, a.smith@ukgrid.net wrote:
>
> > The dodgy email contains an attachment, if I make a copy of the mail
> > file and delete the email attachment and then scan via scanc it IS
> > correctly processed and marked as spam. The file with attachment is only
> > 600K so I dont see why this should cause a problem.

Please see 'man spamc'.

> > Any idea what would cause this behaviour?
>
> Yes, the default size limit on messages that spamc enforces is less than
> 600k.
>
> If you want to scan larger messages you must override that default. Please
> see the list archives for the pros and cons.

That would specifically include my name, I guess. ;) Good additional
search terms would include size, limit, threshold and of course spamc.
Time range should be the last couple months, maybe half a year.

Since this topic appears to come up more often recently, maybe I should
spend some time on re-writing all the stuff in a few list posts into a
single page on our wiki. *sigh*

-- 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; }}}