procmail
[Top] [All Lists]

Re: Strange problem with the fgrep

2007-05-31 07:01:48
On 5/31/07, Alex Kosach <alex(_dot_)kosach(_at_)replacements(_dot_)com> wrote:

:0HB

Don't use HB.  It's the default, and some versions of procmail have a
bug wherein the H flag is never turned off once it's on.

* ^FROM_DAEMON|FROM_MAILER

"^FROM_MAILER" (with the caret included) is the magic token, not just
the string FROM_MAILER.  However, ^FROM_DAEMON should match everything
that ^FROM_MAILER does, so it's redundant here.

{
:0
* $? fgrep -i -x -f $DEFAULT/somelist1.lst

This is not what your log file excerpt says you're executing.  The log says

Match on "fgrep -is -f /………/somelist1.lst"

The -s option fo fgrep causes some errors to be suppressed, so it may
be causing fgrep to return a zero exit status even when nothing
matched or somelist1.lst was not found.  However, I'd be concerned
that procmail is not using the .procmailrc that you think it's using.


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