First, thanks for all those that sent me email cocerning this. It was very
appreciated.
I set up the .procmailrc last night and everything seemed to work, less
the reply back to the sender. No biggy!
I tested this by adding the same filter for my address. Last night it
worked like a charm. Today.. it doesn't work at all.
Any suggestions?
Here is what I have for my .procmailrc
$cat .procmailrc
PATH=/bin:/usr/bin:/usr/local/bin:/usr/contrib/bin
MAILDIR=$HOME/mail
LOGFILE=$MAILDIR/procmail-log
LOGABSTRACT=yes
SHELL=/bin/sh
LINEBUF=4096
VERBOSE=OFF
SENDMAIL=/usr/sbin/sendmail
FORMAIL=/usr/bin/formail
:0:
* !^From.*purplecav
* !^FROM_DAEMON
* ^(From:).*(myaddress(_at_)ihs2000\(_dot_)com)
| /usr/bin/formail >> /usr/home/purplecav/myaddress.log \
| (formail -r -t ; cat /usr/home/purplecav/abusemessage.txt) \
| $SENDMAIL -i -t << /usr/home/purplecav/myaddress.txt
:0:
| /usr/bin/formail >> /var/mail/$USER
$cat abusemessage.txt
Message logged
Your address is currently blocked. Please email questions to the IHS
Staff.
Ths is an automated message. Do not reply.
$cat myaddress.txt
To: myaddress(_at_)ihs2000(_dot_)com
From: Postmaster <nobody(_at_)ihs2000(_dot_)com>
Subject: Notice
Reply-To: nobody(_at_)ihs2000(_dot_)com