procmail
[Top] [All Lists]

Re: Procmail question

1996-09-23 02:58:14
Alan K. Stebbens writes on 22 September 1996 at 15:27:01
Is there any reasonable way to write a procmail script so that it
looks in a file, call it, losers.txt, say, for the ^From: line in the
header, and then sends matching messages to /dev/null?

This has been discussed before, many times.  Please review the procmail
archive, for messages, from me even, within the last two or three

Yes indeed; and if you do so, you'll note that recipes like the one from 

robert(_at_)elastica(_dot_)com writes on 22 September 1996 at 18:16:43
Joel Rosenberg <ellegon(_at_)ibm(_dot_)net> writes:
[...]
     echo "seen, actually), but will generate this response." ; \
[...]
     echo "---- Original Message ----" ; \
     cat -

are not a particuarlly good idea.  It's best to just send such
messages straight to /dev/null; if you feel you must respond in some
way, then manually send a message to the user's postmaster and/or ISP.

   Dan
------------------- message is author's opinion only ------------------
J. Daniel Smith <DanS(_at_)bristol(_dot_)com>        http://www.bristol.com/~dan
Bristol Technology B.V.                   +31 33 450 50 50, ...51 (FAX)
Amersfoort, the Netherlands               {info,jobs}(_at_)bristol(_dot_)com

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