procmail
[Top] [All Lists]

Re: recipe failure

2008-07-06 10:44:49
At 07:55 2008-07-06 +0200, rmborchers(_at_)orange(_dot_)nl, "Borchers <rmborchers"@orange.nl wrote:

I think the problem with your recipe is the case of the headers
You don't get a match on List-ID when the header is List-Id the same

BZZT. Unless the case-sensitivity flag is explicitly set (D), Procmail is case-insensitive. see 'man procmailrc'

Also, if you read 'man procmailrc', you'd see that the ^TO and ^TO_ expressions which the OP tried are procmail regexp MACROs.

An actual message header and output from the logs corresponding to the attempted recipes would generally be appropriate. I expect it may be matching but failing to deliver to the location specified, and as such is continuing to deliver to default. If the ignore failures flag was on the recipe, the messages would probably just "vanish", which would support that they're being MATCHED, but failing to deliver, which is almost universally a permissions issue.

This particular line though is telling:

* ^TO:.(plug-discuss(_at_)lists@plug.phoenix.az.us|plug-announce-admin(_at_)lists@plug.phoenix.az.us)

Ignore the failure to excape literal dots -- please explain why are there TWO @ in each of those addresses?

I rather suspect that the second @ in each of those is supposed to be a dot. If no, then try:

* ^TO:.(plug-discuss|plug-announce-admin)@lists\.plug\.phoenix\.az\.us

Next, the delivery action:

$HOME/holtzm/mail/list-plug-discuss


Who wants to wager that $HOME is something like /home/holtzm  ?

So, does:

        /home/holtzm/holtzm/mail/

exist? Or are we trying to deliver to a bogus directory? I note in proffered solutions, others have maintained the same delivery path as you originally used, so even if their CONDITIONS are good, if the delivery path is bogus, you won't magically see a delivery succeed.

try:

        $HOME/mail/list-plug-discuss


I have also tried "TO_" for all of these but they generated lock failures.
Everything I try generates a log entry such as:

This is indicative of an ATTEMPT to deliver (that's the ONLY time an auto lock should occur), which means in those cases, you were getting a MATCH on the condition. Again, if the directory you're using for delivery doesn't exist, then the typical lockfile strategy will fail, just as the simple delivery will...

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

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