procmail
[Top] [All Lists]

FROM_DAEMON catch problem

2005-07-13 23:16:08
I have the following recipe:

REPLY_MESSAGE="This is a test reply.."
DATE_OK=`/etc/procrcs/check_date 20050713180000 20050714180000`

:0 h c
* !^FROM_DAEMON
* !^X-Loop: scott(_at_)mydomain(_dot_)com
* !DATE_OK ?? NO
| (formail -r -I"Precedence: junk" \
        -A"X-Loop: scott(_at_)mydomain(_dot_)com" ; \
        echo "$REPLY_MESSAGE" ) | $SENDMAIL -f scott(_at_)mydomain(_dot_)com -t

But for some reason no matter where the email comes from I get the
following in my log:

procmail: Assigning "DATE_OK=YES"
procmail: No match on !
"(^(Mailing-List:|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)|NETSERV|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]*)?[%@>
 
][^<)]*(\(.*\).*)?)?$([^>]|$)))"

And no response gets sent, yet if I comment out the FROM_DAEMON line it
will respond. I have tested from Gmail, and my system running
Thunderbird. Any help would be greatly appreciated..

Scott

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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