procmail
[Top] [All Lists]

Re: identical From and To headers

1997-10-13 09:34:32
On Mon, 13 Oct 1997 08:55:18 -0700 (PDT), { brad brace }
<bbrace(_at_)wired(_dot_)com> wrote:
From: jrmaxx97(_at_)qlink2info(_dot_)com
To: jrmaxx97(_at_)qlink2info(_dot_)com
What recipe would recognize this?

You'll find several in the archives.
<http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/>

    :0
    * ! ^FROM_DAEMON
    * ^To: \/.*
    * $ ^\/(From|Reply-To): $\MATCH
    { # do nasty things here ... }

Just watch out for very long To: lines.

You might want to check out one of the several existing Procmail
antispam recipe collections.
    <http://www.iki.fi/~era/procmail/links.html>

/* era */

-- 
 Paparazzi of the Net: No matter what you do to protect your privacy,
  they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>