Please do not hijack a thread. Please do not hit Reply, if you do not intend to reply and contribute to that thread. Removing all quoted text and changing the Subject does *not* make it a new thread or post.
(Hint: In-Reply-To and References headers.) On Sat, 2010-06-12 at 09:50 -0400, Charles Gregory wrote: > I got another 1MB spam today. > > I still don't want to kill my system by attempting to scan every large > mail that comes in. How many messages between 500k and 1M do you get per day? > Has there been any progress on an 'option' to scan only text portions of > mail past a certain size limit and/or scan only the first X bytes? The > former is preferable because it avoids any issues with incomplete mail, or > text sections being last.... No changes since this has been asked the last time. There are features for this in 3.3, used by Amavis. This is not used by spamc. There are just a very few rules "scanning" non-textual parts of a mail. Large-ish binary attachments don't have much of an impact on performance. Large-ish textual attachments potentially do. -- char *t="\10pse\0r\0dtu...@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; }}}