procmail
[Top] [All Lists]

Bouncing Spam(mail)

1996-09-13 17:01:11
Lately, I've been experimenting with a recipe to bounce unwanted mail 
back to it's sender.  However, I haven't had much success.  Here's the 
recipe that I thought would do the trick:

.procmailrc:
DUMP=/dev/null

rc.idiots:

:0
* ^(.*-)?(From|Sender):(_dot_)*soandso(_at_)spam\(_dot_)com
! soandso(_at_)spam\(_dot_)com; $DUMP

This seemed right at first, since I would like to bounce the mail back 
and THEN delete it, but I got the response in my log that said it had 
saved the message in the folder "/usr/lib/sendmail soandso(_at_)spam(_dot_)com; 
/dev/null".  I'm not sure what's going wrong, since I'm following the man 
instructions as best as I can.  Do I need to put it into /dev/null first, 
or am I way off base here?  


---

Zach Babayco

zachb(_at_)netcom(_dot_)com  <----- finger for PGP public key
http://www.geocities.com/SiliconValley/Park/4127




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