procmail
[Top] [All Lists]

Re: The script doest work!

2000-10-16 02:53:46
Grzegorz Jaskiewicz <gj(_at_)poczta(_dot_)atsisa(_dot_)krakow(_dot_)pl> writes:
I don't know why this isn't working, it changes topic, saves in local, but it 
doesn't send it to gryzman(_at_)priv6(_dot_)onet(_dot_)pl box?

:0
* Subject:.*sms
{
:0fhw
| formail -I 'Subject: 608892083'
:0
!gryzman(_at_)priv6(_dot_)onet(_dot_)pl
}

When you send questions to the procmail mailing list in the future, can
you please include the version number of procmail (found in the output
of "procmail -v") and what you find in the logfile?  If you don't set
the LOGFILE variable already, please put the assignment 
        LOGFILE = ".procmail.log"
or something like it at the top of your .procmailrc file, and then check
that file when you have problems.  Setting VERBOSE=on will turn on
verbose logging that can often help narrow down where the problem is, or
even what the exact problem is.

That said, the problem in this case is almost certainly that you're
using procmail version 3.14.  That version has a bug in its handling of
'!' actions when no whitespace is put between the '!' and the first
address.  The 'correct' solution is to upgrade to version 3.15.  Until
you do that, put a space between the '!' and the 
"gryzman(_at_)(_dot_)(_dot_)(_dot_)".

Also, you almost certainly left out a carat in the outer condition:
        * ^Subject:.*sms


Philip Guenther

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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