Spamassassin very slow

lyd mc alydiomc at yahoo.com
Wed Jul 23 06:18:52 UTC 2008


thnx Philip, your config will help in my current setup.



--- On Wed, 7/23/08, Philip M. Gollucci <pgollucci at p6m7g8.com> wrote:
From: Philip M. Gollucci <pgollucci at p6m7g8.com>
Subject: Re: Spamassassin very slow
To: "James Tanis" <jtanis at mdchs.org>
Cc: alydiomc at yahoo.com, freebsd-questions at freebsd.org
Date: Wednesday, July 23, 2008, 11:53 AM

James Tanis wrote:
> "lyd mc" <alydiomc at yahoo.com> wrote:
>> What causes spamassassin to slow?
>>
>> Here is my config:
>>
>> snippet from sendmail.mc
>> .. <cut> ..
>>
>> I have .procmailrc in every home directory of my mail users and it
goes
> like
>> this:
The following setup by the front line mx's (2 of them) for apache.org 
can handle ~1million messages/day for a total of 2million without 
breaking a sweat.

No .procailrc involved.

/etc/rc.conf:
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

rbldnsd_enable="YES"
rbldnsd_flags="MASKED OUT"

svscan_enable="YES"

clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"

spamd_enable="YES"
spamd_pidfile="/var/run/spamd/spamd.pid"
spamd_flags="--min-children=4 --max-children=40 --min-spare=2 
--max-spare=8 --max-conn-per-child=100 -c -d 
--socketpath=/var/run/spamd/socket --socketmode=0777 -r ${spamd_pidfile}"

Thats FreeBSD 6.x (soon to be 7.x when I update it)
httpd 2.2.9+worker mpm with qpsmtp using mod_perl

in my consulting buss, for sendmail I use the following sendmail.mc snippet:

INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, 
T=S:4m;R:4m')
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, 
F=, T=C:15m;S:4m;R:4m;E:10m')
define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
{if_addr}')


That said, all individual users do you ~/.procmailrc, with the following 
rule:
:0
* ^X-Spam-Status: Yes
spam




-- 
------------------------------------------------------------------------
Philip M. Gollucci (philip at ridecharge.com)
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


      


More information about the freebsd-questions mailing list