procmail
[Top] [All Lists]

/etc/procmailrc

2001-06-27 21:28:47

I tried to use /etc/procmailrc to filter out some annoying
spam mails for the whole site:

--------------------------------------------------------
MAILDIR  = /root/Mail
LOCKFILE = /tmp/.lockmail
LOGFILE  = /root/Mail/log
NULL     = /dev/null
TRAP     = 'formail -XFrom: -XTo: -XCc: ; echo __________ '

:0
* ^From.*(specialoffers|sale|haitian.com|LastChance|sex@)
$NULL
--------------------------------------------------------

However I got errors:

procmail: Couldn't unlock "/tmp/.lockmail"
procmail: Couldn't chdir to "/opt/home/tom/mail"
procmail: Lock failure on "/opt/home/tom/.lockmail"
procmail: Error while writing to "/opt/home/tom/mail/log"
procmail: Lock failure on ".msgid.lock"

It seems it continued to stand in place when it should have hand 
the deliver task to the next (user) ~tom/.procmailrc ...

Any hint that my /etc/procmailrc might be incomplete?

Thanks!

Zhiliang


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • /etc/procmailrc, Zhiliang Hu <=