Re: spamassassin - more children / faster scanning

2010-11-01 Thread Russ Sanders

That sounds great!

We are using PostFix ...

Thanks
Russ


Ned Slider wrote:


On 01/11/10 13:17, John Hardin wrote:


On Mon, 1 Nov 2010, Russ Sanders wrote:


Suggestions will be appreciated.



You want to do things at SMTP time to reduce your email volume.

Greylisting has been suggested; I see good results from it here.

Rejecting messages that do not have a FDQN in the HELO string works well
for me, too. I use milter-regex for this as well as for some other tests.

Are you open to SMTP-time reject based on the Zen DNSBL?



Absolutely. The 3 measures outlined by John above will massively reduce 
the load (number of spam) that SpamAssassin (SA) gets to see.


If you can tell us your MTA (postfix, sendmail, exim etc?) then I'm sure 
someone on the list will be able to point you in the right direction for 
implementing the above measures.


With the above measures in place, I'd estimate my SA installation sees 
around 10 spam for every 1,000 spam sent - 990 get rejected at the smtp 
stage before SA.




--
--

Russ Sanders (r...@eacsi.com)
   Electronic And Computer Solutions, Inc
8120 E 12th Street, Unit A
 Tulsa, OK  74112

  (918)286-2816 Fax:(918)834-9391
   http://www.eacsi.com


spamassassin - more children / faster scanning

2010-10-31 Thread Russ Sanders
I have an Ubuntu Linux server running SpamAssassin Server version 3.2.4 running
on Perl 5.8.8 with zlib support (Compress::Zlib 2.008).  I have at least one
account that is having to process from 250 - 400 emails, 99% spam, per HOUR. 
This works out to be approximately 8,000 emails per day.  The spamassassin just
can't keep up and it is backing the Queue upto 2500 messages.  I have made an
adjustment so that the one user can have multiple spamd children running for it,
but it doesn't seem to take on more that 2 spamd children.  

I have also recorded that scanning a single message appears to take
approximately 15 seconds.  I have adjusted the timeout to 5 seconds, but it
still appears to be taking 12 - 20 second per message.  This works out to 4 per
minute, or 240 per hour.  So, of course, it can't keep up if it has 450 per hour
coming at it.

The system is a basic Linode running Ubuntu Linux 8.04 with 512M of memory.
I would like to adjust appropriately

Number of Max Children
Number of Spare Children
Number of spamd services per account (upto max children if possible)
TimeOut on Scanning of the eMail

Suggestions will be appreciated.

Thank You
Russ