[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail recipe not working



On Fri, Dec 07, 2001 at 11:21:57AM -0900, Christopher S. Swingley wrote:
| > I've been thinking of making a similar thing, just so I can list each
| > spammer on one line instead of 4.
| 
| FYI, if you do something like this in your procmail recipe file:
| 
|     SPAM=SPAM
|     SPAMMERS=$HOME/procmail/spammers
| 
|     # Anti-spam
|     :0:
|     * ? (formail -x From: -x Sender: -x Reply-To: -x Received: -x
|         Subject: | fgrep - iqf $SPAMMERS)              .
|     $SPAM                                             /|\
|                                                        |
| (the * ? (formail ... ) thing is all on one line)  ----+
| 
| Then you can put things like this into $HOME/procmail/spammers:
| 
|     End your IRS tax problems!
|     o325eb@msn.com
| 
| I got this from someone on this list sometime in the past, so they
| deserve the credit for this.  Works great from here!

If I keep using procmail, I need to learn formail one of these days.

-D

-- 

How great is the love the Father has lavished on us,
that we should be called children of God!
        1 John 3:1 



Reply to: