procmail
[Top] [All Lists]

Re: Another good one for your Procmail spam filter

1997-04-12 17:24:00
On Sat, 12 Apr 1997 19:50:32 -0400 (EDT),
Robert Nicholson <steffi2(_at_)DGS(_dot_)dgsys(_dot_)com> wrote:
So when I'm checking to see if the addressee is spam or not I'm actually
using the Reply-To, if it's there, with the formail -rzvt trick.

Have you tried without the -t flag? (It shouldn't matter, but I'm
curious.) 

When I reply to a mail item and bcc myself I have to make sure that I
don't pick up _my_ reply-to when attempting to get the To: header.
The only way I can currently get the To: header from a -rzvt at the moment
is like this.
  cat /tmp/bla3 | formail -I "Reply-To:" -U "From:" -R "To:" "From:" |
formail -rtzx "To:"

The `cat' qualifies you for a "Useless Use of Cat Award" but since you
have it there, try replacing it with `fgrep -v Reply-To'. That should
simplify things. 

Hope this helps,

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

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