We really need to stop people using lockfiles for spamc rules in procmail -- anyone know where people are copying that example from so I can fix the docs?

C

On Mon, 2002-01-28 at 17:55, B. Cook wrote:
On 28 Jan 2002 20:45 EST you wrote:

> On Mon, Jan 28, 2002 at 08:28:41PM -0500, B. Cook wrote:
> > How would I go about this, I'm running spamd / spamc and using a global procmailrc on FreeBSD -stable.
> 
> send it to /dev/null, modify the trap rule to something like:
> 
> :0:
>       * ^Subject:.*\*\*\*\*SPAM\*\*\*\*
>       /dev/null
> 
> 
> 
> 
> -- 
> [EMAIL PROTECTED]            [EMAIL PROTECTED]
So this being the relevant part of procmailrc:

:0fw:spam.lock
| /usr/local/bin/spamc

:0e
{
EXITCODE=$?
}


Would I want to change the default rule of :0e to :0 and just put the /dev/null there?
i.e.

:0fw:spam.lock
| /usr/local/bin/spamc

:0
* ^Subject:.*\*\*\*\*SPAM\*\*\*\*
/dev/null

and just leave off the :0e all together?

Brian

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


Reply via email to