procmail
[Top] [All Lists]

Recipe Failure

1997-09-24 08:02:10
I have a recipe that seems to choke only about 5% of the time.  The rest 
of the time it seems to work perfectly.  I added a line to the recipe to 
check for the host name of the machine delivering the mail.  I now know 
that mail.netcom.com is the machine that chokes on my recipe.  It uses 
the same sendmail daemon (8.8.5-r-beta) that the other mail delivery 
machines use.  


The recipe is:

LOG="$HOST
"

WHO=`$FORMAIL -rtzcx'To:'`

:0
* ! ^FROM_DAEMON
* ! ^Subject:.*keyword
* ! ^Subject:.*Re:
* ! WHO ?? ? $GREP -i -f $PMDIR/friends 
{
LOG="Unknown Sender Bounce
"

The log file looks like:

mail
procmail: [8132] Tue Sep 23 09:44:13 1997
procmail: Executing "/usr/local/nuglops/bin/formail,-rtzcxTo:"
procmail: [8132] Tue Sep 23 09:44:13 1997
procmail: Assigning "WHO=joe(_at_)schmoe(_dot_)com"
procmail: Match on ! "(^(Precedence:.*(junk|bulk|list)|To: Multiple recipients 
of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From 
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSER





V|o(wner|ps)|r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
  ][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: Match on ! "^Subject:.*keyword"
procmail: Executing "/u5/bts8/bin/grep,-i,-f,/u5/bts8/.procmail/friends"
procmail: [8132] Tue Sep 23 09:44:32 1997
procmail: Program failure (-15) of "/u5/bts8/bin/grep"
procmail: Match on ! "/u5/bts8/bin/grep -i -f /u5/bts8/.procmail/friends"
procmail: Assigning "LOG=Unknown Sender Bounce
"
Unknown Sender Bounce


Does anyone know where to look next or what to change to fix this problem? 
It's not a critical problem, just one that annoys the heck out of me. 
Thanks! 


<Prev in Thread] Current Thread [Next in Thread>