Forgive me if this has been asked in the past.

Looking at the source for spamc, it looks to me like a message that exceeds the 
maximum message size is simply skipped entirely, which actually requires reading in 
most of the message first - fair enough, as it's hard to determine the size when it's 
coming from a pipe.  However, wouldn't it make some sense to try passing at least the 
first max_size bytes of the message to spamd for processing?  Generally, most spam can 
be identified after the first 10-20k of a message, and anything else in that message 
is unlikely to change the outcome of the scoring, so trying to process the beginning 
of a huge mail is likely to be a pretty decent indicator of whether the mail is spam.

This could also be of some benefit to performance - set a small message size limit 
(say 50k) to limit memory use and processing time, but still get the benefits of spam 
scanning those largish messages.



Pete `-_-'

Although we modern persons tend to take our electric lights, radios,
mixers, etc., for granted, hundreds of years ago people did not have
any of these things, which is just as well because there was no place
to plug them in.  Then along came the first Electrical Pioneer,
Benjamin Franklin, who flew a kite in a lighting storm and received a
serious electrical shock.  This proved that lighting was powered by the
same force as carpets, but it also damaged Franklin's brain so severely
that he started speaking only in incomprehensible maxims, such as "A
penny saved is a penny earned."  Eventually he had to be given a job
running the post office.
                -- Dave Barry, "What is Electricity?"


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to