Re: [SLUG] procmail success!

From: Paul M Foster (paulf@quillandmouse.com)
Date: Thu Jul 19 2001 - 22:21:56 EDT


On Thu, Jul 19, 2001 at 07:31:28PM -0400, Derek Glidden wrote:

>
> Finally, I got it working! Here's what I added to my .procmailrc:
>
>
> :0
> * ? formail -rt -xTo | egrep -is -f \
> /home/dglidden/.procmail/lists
> {
> LISTNAME=`formail -rt -xTo | egrep -is -f \
> /home/dglidden/.procmail/nks-lists | \
> sed -e 's/\@nks\.net//' -e 's/[ ]//'`
>
> :0 c
> Lists/${LISTNAME}
>
> :0 fw
> | formail -A "X-Status: D"
>
> :0
> ${DEFAULT}
> }
>

_You_ need to do the next procmail presentation. Great explanation of
what you did, too.

Your final couple of recipes can be consolidated thusly, I believe:

:0 w
| formail -A "X-Status: D" >> ${DEFAULT}

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:20:08 EDT