procmail
[Top] [All Lists]

how to keep mail from being stored

2002-02-13 00:57:18
I have an auto-responder set up on a mail account on my box.  Currently, all
mail that comes to echo1 gets stored.  I'd like to NOT store them and
instead respond and dump the message into the bit bucket.  How can I do
that?

Here's the majority of my current .procmailrc file


PATH=/usr/bin:/bin:/sbin:$HOME/bin
MAILDIR=$HOME/Mail      #you'd better make sure it exists
#DEFAULT=$HOME/Mailbox
#LOGFILE=/dev/null
LOGFILE=$MAILDIR/log
SHELL=/bin/sh
VERBOSE=on

:0 h c
* !^FROM_DAEMON
* !^X-Loop: echo1(_at_)my(_dot_)box"
| (formail -r -A"Precedence: junk" \
-A"X-Loop: echo1(_at_)my(_dot_)box" ; \
echo "Mail received on my.box.  Autoresponder located in Lancaster, PA."; \
echo | date \
tail /var/log/messages \
 ) | $SENDMAIL -t

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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