procmail
[Top] [All Lists]

Re: Should I tempfail when spamfiltering

2004-08-24 12:18:38
On Fri, Aug 20, 2004 at 11:19:56AM -0500, Dan Smart wrote:

I'm running spamassassin under procmail.  Please review my assumptions.

I call spamassassin as follows from my procmailrc
:0 fw
| /usr/bin/spamc

If spamc fails for some reason, (TIMEOUT, too many instances, etc?) then
procmail continues with the rest of the recipe.

What risk do I incur if I add the following?

:0 fw
| /usr/bin/spamc
:0 e ## If previous errors, run this
{
EXITCODE = $EX_TEMPFAIL
HOST = "_spamc_failed_"
}

I believe the answer is that it is platform-dependent, particularly
MTA-dependent.  It might work fine on your system.  I would test
it thoroughly.  I would tend to think it wouldn't work under postfix
as the MTA, but I'm not certain.

-- 
dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail