[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Procmail partially working



On Mon, Jul 28, 2003 at 02:56:38PM +0200, J. Zidar wrote:
> I have setup fetchmail to get my mail from my two pop3 accounts and to
> be then processed by procmail. Mail is then processed by Spamassassin,
> messages that were found to be spam "should" be moved to oblivion
> (/dev/null), but nothing happens. I can still marked spam in my inbox.
> 
> What should I do? Is there a permission issue with /dev/null?
> 
> Here's my .procmailrc file:
> #Take to SA
> :0fw
> | /usr/bin/spamassassin
> 
> #Move flagged spam into the bottomless Unix pit.
> :0:
> * ^X-Spam-Flag: YES
> /dev/null

:0: says to use a locallockfile, which by default is the destination
filename with $LOCKEXT appended, and you won't be able to write to
/dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: