procmail
[Top] [All Lists]

Re: Recipe problem

2003-10-22 11:48:32
At 11:26 2003-10-22 -0500, Chuck Campbell wrote:
[snip - lots of unnecessary reposting of previous messages]

I don't know what this is doing:

:0:
* ! LISTNAME ?? ^^linux-kernel^^
linux-kernel

Oh, geez, I didn't even pay attention to the bang - yea, this would be for anything that DOES NOT match linux-kernel. Refer to the recipes I posted - no exclamation, and they file to the LISTNAME variable.

More than likely, you took a recipe like:

:0:
* ! LISTNAME ?? ^^^^
$LISTNAME

And mangled it into what you have. That recipe says "if LISTNAME isn't blank (i.e. we parsed a listname from the message), then file the message in a LISTNAME-named mailbox."

It appears all I need to do is take out the ! to make it do as I wanted.

Yes, or consider using a generic list filter - which is _sort_ of what you're presently doing - if you're going to do it for JUST ONE list, there's little point in setting LISTNAME.


---
 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(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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