From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 06:18:51 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 EE865106567B for ; Wed, 23 Jul 2008 06:18:51 +0000 (UTC) (envelope-from alydiomc@yahoo.com) Received: from web52208.mail.re2.yahoo.com (web52208.mail.re2.yahoo.com [206.190.48.131]) by mx1.freebsd.org (Postfix) with SMTP id A3A2F8FC08 for ; Wed, 23 Jul 2008 06:18:51 +0000 (UTC) (envelope-from alydiomc@yahoo.com) Received: (qmail 88677 invoked by uid 60001); 23 Jul 2008 06:18:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=S8UB/sHOhqQ4kCFo7Qz/t5fVfRQ6W6ExJXoWDnHH7vMtoW+PoM+ni8R+qru4z8pkrU+QkM2DJXp+3h5Won2vflxIy9EFHbKE4Qr+R8+8ccF++ZlktDi3r26dM9Gzr3mCmDokQlNemI4qIYZ7DF3kqXuWPXcEl0Vul86Rd17f6Nk=; Received: from [203.131.169.182] by web52208.mail.re2.yahoo.com via HTTP; Tue, 22 Jul 2008 23:18:50 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Tue, 22 Jul 2008 23:18:50 -0700 (PDT) From: lyd mc To: "Philip M. Gollucci" , freebsd-questions@freebsd.org In-Reply-To: <4886AB3F.4070107@p6m7g8.com> MIME-Version: 1.0 Message-ID: <835067.88569.qm@web52208.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Spamassassin very slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alydiomc@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2008 06:18:52 -0000 thnx Philip, your config will help in my current setup. --- On Wed, 7/23/08, Philip M. Gollucci wrote: From: Philip M. Gollucci Subject: Re: Spamassassin very slow To: "James Tanis" Cc: alydiomc@yahoo.com, freebsd-questions@freebsd.org Date: Wednesday, July 23, 2008, 11:53 AM 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.