From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 03:53:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 278F41065677 for ; Wed, 23 Jul 2008 03:53:36 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 2243C8FC12 for ; Wed, 23 Jul 2008 03:53:36 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from smgellar.p6m7g8.net (70.88.236.22) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.278.0; Tue, 22 Jul 2008 20:53:35 -0700 Message-ID: <4886AB3F.4070107@p6m7g8.com> Date: Tue, 22 Jul 2008 23:53:35 -0400 From: "Philip M. Gollucci" Organization: RideCharge Inc User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: James Tanis References: <66d1a8b0058a09bc1efee86388c5dd8a@portal.mdchs.org> In-Reply-To: <66d1a8b0058a09bc1efee86388c5dd8a@portal.mdchs.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: alydiomc@yahoo.com, freebsd-questions@freebsd.org Subject: Re: Spamassassin very slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2008 03:53:36 -0000 James Tanis wrote: > "lyd mc" wrote: >> What causes spamassassin to slow? >> >> Here is my config: >> >> snippet from sendmail.mc >> .. .. >> >> 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.