procmail
[Top] [All Lists]

Re: Buggy recipe (simple)

2007-07-20 13:41:26
On 7/20/07, Stephen Allen <sdaprocmail(_at_)rowyerboat(_dot_)com> wrote:

The last line of the log shows "Match on ! "...".  I don't
understand this because the word "test" is definitely in $RCPT_WHITELIST
(which is only 10 lines long).

* $ !   grep -i -F -x $MATCH $RCPT_WHITELIST

You're asking for a whole-line match with -x.  Are you sure that the
file isn't written with CRLF ("\r\n") line endings, where grep may be
expecting just LF as the line ending?  A CR might be treated as part
of the "line" and therefore break the -x matching.
____________________________________________________________
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>