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
> 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
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
> 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
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
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
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
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
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
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
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
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.
12 matches
Mail list logo