procmail
[Top] [All Lists]

mail block

1998-05-02 11:16:13
Hello,

        Can someone give me a recipe that will see if the incoming mail's
address is listed in a file, and if so, send a certain text file back to
the sender, and then place the mail in /dev/null ?  This would be handy so
that I could block mail from certain people by placing their address in a
file, and then if they mail me, a message gets sent back saying their mail
has been blocked.  Thanks.

                        Jeremy

  +---------------------------------------------------------------------+
  | Jeremy Gault - KD4NED | "Make it idiot proof and someone will make" |
  | EMAIL: saw(_at_)nether(_dot_)net |  a better idiot."     -Unknown           
   |
  +--------------------+--+---------------------------------------------+
  | saw(_at_)nether(_dot_)net     | Check out my (unfinished) web page:         
   |
  | saw(_at_)radiolink(_dot_)net  | http://www.nether.net/~saw/                 
   |
  +--------------------+------------------------------------------------+
  | NetherNet Staff Member (no, I don't have root, so don't ask!)       |
  | NetherWeb Central - Webmaster Team Member                           |
  +---------------------------------------------------------------------+
  | All mail that I actually compose is protected by a copyright policy |
  | I have.  Before reproducing/disclosing/forwarding/printing ANY mail |
  | please see http://nether.net/~saw/mailpol.txt or send a blank email |
  | with "get mailpol.txt" (without quotes) as your subject.            |
  +---------------------------------------------------------------------+

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