Technically, this really belongs on the procmail list. However, this will probably do what you one (note that I didn't test it). Your mistakes are that you need a space after the ! for a negative condition. But, if you want two different things to happen, you need two rules. The :0 means that any mail that hits that rule stops there, while other mail continues to the following rules. So, no negation is actually necessary.
:0 * ^To:[EMAIL PROTECTED] spamcatcherfolder #Or you can pipe it to sa-learn or whatever :0fw: spamassassin.lock * < 256000 | /usr/bin/spamc -f -u $1 For more info, see: http://wiki.apache.org/spamassassin/UsedViaProcmail http://wiki.apache.org/spamassassin/ProcmailToForwardMail - dan -- Dan Kohn <mailto:[EMAIL PROTECTED]> <http://www.dankohn.com/> <tel:+1-650-327-2600> -----Original Message----- From: Vermyndax [mailto:[EMAIL PROTECTED] Sent: Saturday, June 26, 2004 21:47 To: [EMAIL PROTECTED] Subject: Semi OT: procmail recipe question I am running SpamAssassin through /etc/procmailrc... but I would like procmail to avoid piping through SpamAssassin if the mail is addressed to the quarantine user. I wrote what I thought was the correct recipe, but apparently I'm mistaken as the mail is still piped through SpamAssassin for the quarantine user: :0fw * !^To:[EMAIL PROTECTED] | /usr/bin/spamc -f -u $1 Could anyone tell me what I've done wrong? Thanks... --JM
