On Wed, May 21, 1997 at 04:42:19PM +0000, Matthew G. Saroff wrote:
Hi,
I have the following recipe in my .procmailrc:
============================
# this is a sample script that mails back a "go away" letter
# in this case, it is if the mailer is extractor
Actually, it's a bad idea, 'cause usually it will either generate
bounces (when junk mail has forged from) or confinrm existance of your
e-mail, adding value to it in the spam lists (and next time your filters
can fail on the elaborate junk mail).
:0
* ^From(_dot_)*saroff(_at_)lmco\(_dot_)com
* !^X-Loop: msaroff(_at_)pca(_dot_)net
| (formail -rk \
-A "X-Loop: msaroff(_at_)pca(_dot_)net" \
-A "Precendence: junk"; \
echo "Please don't send me any more mail";\
echo "This is an automated response";\
echo "I'll never see your message";\
echo "So, GO AWAY" ) | $SENDMAIL -t -oi
============================
This is another of my email accounts, and I am using this to set
up an autoresponder. It picks up the bessage and works fine, but there
are some changes that I'd like to make. Currently the response is:
============================
blah blah blah
blah blah blah
blah blah blah
blah blah blah
Please don't send me any more mail
This is an automated response
I'll never see your message
So, GO AWAY
============================
What I'd like to do is to do the following:
Please don't send me any more mail
This is an automated response
I'll never see your message
So, GO AWAY
---------- Forwarded message ----------
Full headers:
============================
I've been looking through the docs on formail, and I'm not sure
how to do this.
Basically, there are entire sites that I want to block, and when
someone posts a mail, I want to send a message saying, "I've blocked your
domain. If you want to contact me, put the passowrd XXXXXX in the
subject. I will take you off the list when I receive this message.
BTW, if there is a way to automatically append the user id to a
pass list file upon receipt of the password, I'd appreciate it.
--
Matthew Saroff
--
Roman V. Isaev Moscow, Russia
========================================================
Homepage ------------> http://accessnet.ru/lp/rm/index.html
Obscene limericks ---> http://accessnet.ru/lp/rm/eng/elim.html
Firearms in Russia --> http://accessnet.ru/lp/rm/eng/firearms.html