On Fri, Dec 01, 2006 at 05:56:06AM -0500, Will Nordmeyer wrote:
> I know this isn't the procmail list, but had a quick question.
> 
>  
> 
> My server is running SA 3.1.7 and has the following systemwide procmailrc:
> 
>  
> 
> SHELL=/bin/sh
> 
> #LOGFILE=$HOME/.procmail-log
> 
> #VERBOSE=on
> 
> DROPPRIVS=yes
> 
>  
> 
> :0fw
> 
> * < 256000
> 
> | /home/spam-filter/bin/spamc -U /home/spam-filter/tmp/spamd.sock
> 
>  
> 
> If I want to lower the load on SA by not having emails to/from THIS list
> (and select other lists) processed through SpamAssassin, could I simply
> change it to this?
> 
>  
> 
> SHELL=/bin/sh
> 
> #LOGFILE=$HOME/.procmail-log
> 
> #VERBOSE=on
> 
> DROPPRIVS=yes
> 
>  
> 
> :0fw
> 
> * < 256000
> 
> * ! To:  users@spamassassin.apache.org
> 
> | /home/spam-filter/bin/spamc -U /home/spam-filter/tmp/spamd.sock

I don't think that will work because the To: line isn't always just
that way, and the sender might have the address in the Cc: line.
Rather filter on the line:

List-Id: <users.spamassassin.apache.org>

because it's always, always, always in that format.

FWIW, I use a different logic because I have many things I want to
exclude from SA scanning, so before the call to spamc, I have recipes
like:

:0:
* ^List-Id: <users\.spamassassin\.apache.org>
/var/spool/mail/bob

which diverts such mail directly to my mailbox without going through
SA.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
[EMAIL PROTECTED]             http://www.bobcatos.com
"Where you go in the hereafter depends on what you were after here."
  - Thanks to Graffiti, 2 March 2004

Reply via email to