procmail
[Top] [All Lists]

Re: recipe problem

1998-10-06 18:04:17
Hi,

Let a newbie like me try and help.

I know the mistake in the recipt is that you've put the line LOG=sender
right after the :0: where the conditions are supposed to be.
In the absence of a condition it take that line to mean the action to
take, which in your case is put in folder named LOG=sender

Variable declarations should be either at the top of the recipe file or
inside the recipe.  Try the following:

:0
* ^Sender:.*porschelist
{
        LOG=sender      

        :0:
        porsche
}

As for assigning sender to LOG, I'm not sure how LOG works, so maybe a
procmail guru can help you there.

Vivek

On Tue, 6 Oct 1998, Chuck Campbell wrote:

Well,
I was following the mail list/sorting mail to folders thread from a while
back, which suggested using Sender or Resent-Sender for identifying
mailing list emails, and it appears to work, but I am having a problem
with some emails, and I want to know which recipe is catching them.

I tried using the LOG variable for this, but it didn;t work.  I tried:

:0:
LOG=sender
* ^Sender:.*porschelist
porsche

and I hoped to see something like this in the log file:


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