procmail
[Top] [All Lists]

Strangeness With Delivery

2004-03-15 14:51:47
I'm having a strange error with the following procmailrc:

LOGFILE=/tmp/global.procmail
BOUNCE_SCORE=15
VERBOSE=on
 
:0fw:spamassassin.lock
* < 256000
| spamc
  
:0e
{
  EXITCODE=$?
}
:0
* ^X-Spam-Status: Yes
{
        :0hi
        BounceIt=|/tmp/checkbounce.pl $BOUNCE_SCORE
 
        :0
        * BounceIt ?? Bounce
        {
                EXITCODE=77
                ERRORLEVEL=77
                $MAILDIR/SpamBounce/
        }
}

The message is going to the EXITCODE/ERRORLEVEL/SpamBounce block, but
the delivery is being skipped, and it's going directly into my main
folder ($HOME/.maildir/new)  The following is then showing up in my
procmail log:
procmail: [27989] Mon Mar 15 17:07:28 2004
procmail: Match on "< 256000"
procmail: Locking "spamassassin.lock"
procmail: [27989] Mon Mar 15 17:07:30 2004
procmail: Error while writing to "_V1G.SshVAB.pac"
procmail: Lock failure on "spamassassin.lock"
procmail: Executing "spamc"
procmail: Match on "^X-Spam-Status: Yes"
procmail: Executing "/tmp/checkbounce.pl,15"
procmail: Assigning "BounceIt="
procmail: Match on "Bounce"
procmail: Assigning "EXITCODE=77"
procmail: Assigning "ERRORLEVEL=77"
procmail: Skipped "$MAILDIR/SpamBounce/"


Any ideas as to why the lock failure is happening and why it's skipping
the delivery in my block?  I don't even *want* the damned mail
delivered, I just want to bounce it back (hence the EXITCODE and
ERRORLEVEL)

BTW: Before the "don't bounce spam,it's all faked from addresses
anyway..." replies come in, I do have a legitimate reason for bouncing
the messages rather than just discarding them.





_______________________________________________
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>