On Tue, 15 Jul 2003, Steven W. Orr wrote:

> I want a recipe for /etc/procmailrc which conditionally runs a message
> through spamc *only* if it hasn't already been processed by SA. I want
> to use the X-Spam-Status and/or the X-Spam-Flag headers.

Use the version_tag directive in /etc/mail/spamassissin/local.cf to set a
string for SA to insert into the X-Spam-Status header.  This should be
something unique to your SA host.

Then filter on whether X-Spam-Status contains that string, e.g.

:0fw
* < 256000
* ! X-Spam-Status:.+version=.+uniquestringhere
| spamc




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to