I am having some nightmare procmail issues on a system with PLESK

My aim is to run these rules server-wide but for now I have a .forward file processing a specific user to a .procmailrc file.

I want to be able to delete certain email on criteria using /dev/null but even when the filter matches, the email still gets through. For a while I was even getting double emails of all non-spam tagged messages.

Any help with figuring out why the /dev/null action isn't working would be appreciated, but I am also getting "cannot create tmp lockfile" errors when I try to use spamassassin for blacklisting and whitelisting.


below are my .procmailrc and a procmail.log output. Any insight would be greatly appreciated since this has been eating up DAYS.

Kev

PS: I have replaced actual domain names and user names with generic terms, but all paths on my server are accurate

MAILDIR=/var/qmail/mailnames/domainame.com/username/Maildir


SPAMDIR=${MAILDIR}/.Spam
DEFAULT=${MAILDIR}/
#LOGFILE=${MAILDIR}/procmail.log
#LOG="--- Logging ${LOGFILE} for ${LOGNAME} "


#VERBOSE=yes
#LOGABSTRACT=all

# Send all mail through SpamAssassin

:0fw: spamassassin.lock
* < 256000
| spamassassin

:0
* ^From:.*@yahoo\.com
/dev/null


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


:0
* ^X-Spam-Status: Yes.*
/dev/null

PROCMAIL LOG:


procmail: [10865] Mon Sep 1 07:30:10 2008
procmail: Locking "spamassassin.lock"
[11466] warn: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /var/qmail/popuser/.spamassassin/auto-whitelist.lock.server.domainname.com.11466 for /var/qmail/popuser/.spamassassin/auto-whitelist.lock: Permission denied
procmail: [11464] Mon Sep 1 07:30:13 2008
procmail: Unlocking "spamassassin.lock"
procmail: No match on "^From:.*@yahoo\.com"
procmail: No match on "^Subject:.SPAM"
procmail: Match on "^X-Spam-Status: Yes.*"
procmail: Assigning "LASTFOLDER=/dev/null"
procmail: Opening "/dev/null"
From clarencestoreyalexander@regia.org Mon Sep 01 15:30:06 2008
Subject: *****SPAM***** Looking for Tag Heur replica? Visit Replica Classics
Folder: /dev/null 2458
procmail: [10865] Mon Sep 1 07:30:18 2008