Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2008 23:18:50 -0700 (PDT)
From:      lyd mc <alydiomc@yahoo.com>
To:        "Philip M. Gollucci" <pgollucci@p6m7g8.com>, freebsd-questions@freebsd.org
Subject:   Re: Spamassassin very slow
Message-ID:  <835067.88569.qm@web52208.mail.re2.yahoo.com>
In-Reply-To: <4886AB3F.4070107@p6m7g8.com>

next in thread | previous in thread | raw e-mail | index | archive | help
thnx Philip, your config will help in my current setup.



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

James Tanis wrote:
> "lyd mc" <alydiomc@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@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.


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?835067.88569.qm>