This section of code:
WHO=`$FORMAIL -rtzcx'To:'`
:0
* ! ^FROM_DAEMON
* ! ^Subject:.*keyword
* ! WHO ?? ? $GREP -i -f $PMDIR/friends
{
LOG="Unknown Sender Bounce
"
}
Produced the following log file:
procmail: Executing "/usr/local/nuglops/bin/formail,-rtzcxTo:"
procmail: [15366] Sat Sep 13 15:23:03 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|mmdf|n?uucp|LIST(SERV|proc)|NETSERV|owner|r(e
(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp)|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: [15366] Sat Sep 13 15:24:01 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
Even though "joe(_at_)schmoe(_dot_)com" is in the Friends file. The grep is
gnu
grep 2.0 (I think). I'm not sure what the program failure means since it
is only an intermittant failure. It works fine 99% of the time. Thanks.