[SAtalk] Re: Resource conservation

2004-01-04 Thread Bryan Hoover
Gary Funck wrote: > > The line to search for reads: > > > > HEADER = `$FORMAIL -X ""` # The space after the X is vital. > > > > http://pm-doc.sourceforge.net/pm-tips-body.html > > > > Thanks for the pointer. I think the situation discused in that example > is different than your usage. The space i

RE: [SAtalk] Re: Resource conservation

2004-01-04 Thread Gary Funck
> From: Bryan Hoover > Sent: Saturday, January 03, 2004 8:41 PM [...] > > > > > > Notice in, HEADERTAGVAL=`formail -rztx To:`, there must be that space > > > between the options, and the tag -- would not work on my > system without > > > it, and procmail tips page notes it as well. > > > > Intere

[SAtalk] Re: Resource conservation

2004-01-03 Thread Bryan Hoover
Gary Funck wrote: > > > From: Bryan Hoover [mailto:[EMAIL PROTECTED] > > Sent: Saturday, January 03, 2004 7:05 PM > [...] > > > > #extract only the address part -- so that's the format addresses should > > appear in #mailing list address file too. > > > > HEADERTAGVAL=`formail -rztx To:` > > > > I

[SAtalk] RE: Resource conservation

2004-01-03 Thread Gary Funck
> From: Bryan Hoover [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 03, 2004 7:05 PM [...] > > #extract only the address part -- so that's the format addresses should > appear in #mailing list address file too. > > HEADERTAGVAL=`formail -rztx To:` > > ISMAILINGLIST=no > > :0 > * ? grep -i -x

[SAtalk] Re: Resource conservation

2004-01-03 Thread Bryan Hoover
Thanks for your insight Gary, and Bob. So, to sum up, I think, the recipe for bypassing processing based on sender address appearing in a text file of user's mailing list subscription addresses: ADDRESSFILE=listaddresses #extract only the address part -- so that's the format addresses should app

[SAtalk] Re: Resource conservation

2004-01-03 Thread Bryan Hoover
Bob, Sorry I was a little distracted the first time I read this message. I have addressed some of what you bring up. Bob Proulx wrote: > > Bryan Hoover wrote: > > HEADERTAG=From > > ADDRESSFILE=/usr/home/bhoover/listreply > > Use $MAILDIR here? > > ADDRESSFILE=$MAILDIR/listreply Whatever y

[SAtalk] Re: Resource conservation

2004-01-03 Thread Bryan Hoover
Bob, Sorry I was a little distracted the first time I read this message. I have addressed some of what you bring up. Bob Proulx wrote: > > Bryan Hoover wrote: > > HEADERTAG=From > > ADDRESSFILE=/usr/home/bhoover/listreply > > Use $MAILDIR here? > > ADDRESSFILE=$MAILDIR/listreply Whatever y

[SAtalk] Re: Resource conservation

2004-01-01 Thread Bryan Hoover
Bryan Hoover wrote: > I'm still looking at the differences between the code from which I > pulled the above -- it's not matching in the exact same way. My > original code -- that which I'm using on my account -- matches more > flexibly, but there have been no false matches. Procamail seems to hav

[SAtalk] Re: Resource conservation

2004-01-01 Thread Bryan Hoover
Bob Proulx wrote: > > I like it! Much more efficient than listing all of the addresses > out. It is pretty nifty -- I love stuff like that :). I only partially tested what I pasted -- which I "extrapolated" from my implimented code -- I had forgotten to test whether it matched only for addresse

[SAtalk] Re: Resource conservation

2004-01-01 Thread Bob Proulx
Bryan Hoover wrote: > HEADERTAG=From > ADDRESSFILE=/usr/home/bhoover/listreply Use $MAILDIR here? ADDRESSFILE=$MAILDIR/listreply > :0i > HEADERTAGVAL=|$FORMAIL -zx$HEADERTAG | tr -d "\n" | tr -s " " > > * ? grep -i $HEADERTAGVAL $ADDRESSFILE I like it! Much more efficient than listing all o

[SAtalk] Re: Resource conservation

2004-01-01 Thread Bryan Hoover
Bob Proulx wrote: > > Martin Radford wrote: > > In your scenario, it sounds very much like you're already running > > procmail. In this case, the best method is to tell procmail not to > > call spamc/spamassassin if mail is from one of those lists. > > > > For example, my own .procmailrc looks li

[SAtalk] Re: Resource conservation

2004-01-01 Thread Bob Proulx
Martin Radford wrote: > In your scenario, it sounds very much like you're already running > procmail. In this case, the best method is to tell procmail not to > call spamc/spamassassin if mail is from one of those lists. > > For example, my own .procmailrc looks like this: > > :0fw:spamassassin.