procmail
[Top] [All Lists]

Ignoring and/or Bouncing mail?

1996-08-10 17:24:15

I'm trying to set-up procmail to /dev/null any mail from known spammers, I
have the following:

---
:0
* ^From(_dot_)*crjr1(_at_)(_dot_)*netcom(_dot_)com
/dev/null

:0
* ^From(_dot_)*ndr(_at_)(_dot_)*akamail(_dot_)com
/dev/null

:0
* ^From(_dot_)*rlj(_at_)(_dot_)*pobox(_dot_)com
/dev/null

[...]
---

Which works, but looks like it can be improved.  Is there anyway to combine
all of these into one recipe?  I tried:

---
:0
* ^From(_dot_)*crjr1(_at_)(_dot_)*netcom(_dot_)com
* ^From(_dot_)*ndr(_at_)(_dot_)*akamail(_dot_)com
* ^From(_dot_)*rlj(_at_)(_dot_)*pobox(_dot_)com
/dev/null
---

But that didn't work...  Any ideas?

Also, instead of just tossing these in /dev/null, I would prefer to have
them bounce to the sender so that maybe they'd take me off their lists
thinking I disappeared.  Any help on how to do this would be appreciated.

Since I'm not on the procmail-list, direct replies (as well cc:'s to the
list for others' benefits) would be appreciated.

 +---------------------_|_-----------------------------------------+
 |   Nuno Serrenho    (@ @)  Whiskey Bar: The Complete Doors Page: |
 | <adrenlin(_at_)ki(_dot_)net>  |\o/|  http://www.ki.net/~adrenlin/thedoors/ |
 +-------------------ooO-Ooo---------------------------------------+

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