procmail
[Top] [All Lists]

Re: Recipe problems

2001-02-03 13:52:21
On  3 Feb, Forrest Aldrich wrote:
| I'm running into more problems with my procmailrc, and am unable to 
| understand why these aren't working.
| 
| The recipes I have, which have changed over time, are:
| 
| # Procmail Users
| * ^(To|Cc|From|Sender).*procmail.*
| Procmail
| 
| # Bind Users
| * 
| 
^(From|To|Cc|Sender):.*(bind-users|bind-users-bounce|comp-protocols-dns-bind).*
| Bind
| 
| The Logs say:
| 
| procmail: Skipped "* 
^(To|Cc|From|Sender)(_dot_)*procmail(_dot_)*(_at_)(_dot_)*RWTH-Aachen(_dot_)DE"
| procmail: Skipped "* 
^(To|Cc|From|Sender)(_dot_)*bind-users(_at_)isc(_dot_)org(_dot_)*"
| 
| procmail: Skipped "* ^(To|Cc|From|Sender).*procmail.*"
| procmail: Skipped "* 
| ^(From|To|Cc|Sender):.*(bind-users|bind-users-bounce|comp-proto
| cols-dns-bind).*"
| 
| What is wrong here?

Well if your showing us the recipes in their entirety, then they're not
recipes. A recipe starts with ":" with the format (from man procmailrc):

        :0 [flags] [ : [locallockfile] ]
        <zero or more conditions (one per line)>
        <exactly one action line>

So what you have is conditions (starting with "*") and actions without a
valid start of recipe. Procmail doesn't know what to do with them so it
skips them.

Don Hammond



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