[2692] in RedHat Linux List
Bounce back that spam
daemon@ATHENA.MIT.EDU (Ariel Mazzarelli)
Tue Nov 5 01:12:23 1996
To: argentina-deportes@beau.math.indiana.edu, futbol@ultimate.org,
redhat-list@redhat.com, linux-biz@lege.com
Date: Mon, 04 Nov 1996 20:00:53 -0800
From: Ariel Mazzarelli <mazzare@primenet.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
This came to me courtesy of Jim Lippard.
Ariel
-----------
shell script takes a file called .plonk which
contains a list of addresses that are sources of spam and produces
a file called .procmailrc-new which can be appended to the end of
your .procmailrc file. The result is that any mail from those
addresses/domains will be bounced back to them with an error message
stating that delivery was refused.
I also append my own .plonk file, which is AOL's list of blocked sites
plus a few more.
The shell script was written by someone whose name escapes me--but I
remember that he was the main author of the 750-point Adventure game
that was written in PL-6 for the CP-6 operating system. I've commented
out the parts that actually cause it to overwrite an existing .procmailrc
file.
The shell script:
---cut here---
#!/bin/bash
# rm -f .procmailrc-new
for foo in `cat .plonk` ; do
echo ':0' >> .procmailrc-new
echo "* ^From:.*$foo" >> .procmailrc-new
echo '{' >> .procmailrc-new
echo ' EXITCODE=77' >> .procmailrc-new
echo ' :0' >> .procmailrc-new
echo ' /dev/null' >> .procmailrc-new
echo '}' >> .procmailrc-new
done
# ln -f .procmailrc .procmailrc-old
# ln -f .procmailrc-new .procmailrc
# rm -f .procmailrc-new
---cut here---
the .plonk file:
---cut here---
@1stamend.com
@answerme.com
@bbbiiizzz.com
@bizimage.com
@brobro.com
@bulk-e-mail.com
@bulkads.com
@businesslink.net
@careernetonline.com
@cyber-promo.com
@cyberemag.com
@cyberpr0m0.com
@cyberprom0.com
@cyberpromo.com
@cyberpromotions.com
@dm1.com
@email2u.com
@emailsrus.com
@emaster.com
@eternal.net
@fight4rights.com
@freeconnect.com
@freeview.com
@gohomeray.com
@hereyougo.com
@honeys.com
@hotgrrls.com
@ibb.com
@internetfree.com
@isp-inter.net
@keever.net
@l-e-n.com
@lightningbolt.com
@luv2cu.com
@mailreport.com
@massemail.com
@moneyworld.com
@nationaltv.com
@noblock.com
@nocensorship.com
@ntview.com
@ntz.com
@pleaseread.com
@ppgsoft.com
@promocyber.com
@pwrnet.com
@randomdomain.com
@reedrules.com
@sanfordw.com
@savepaper.com
@savetrees.com
@seemen.com
@seriousincome.com
@shoppingplanet.com
@snappy.com
@swallace.com
@sweeties.com
@sweinc.com
@ultragrafix.com
@vbox.com
@webcreations.com
@yougotmail.com
@youvegotmail.com
SoftCell
aselman@earthnetbbs.com
aselman@holonet.net
docuserv@2625-141.mx1.fidonet.org
mmg@netxpress.com
netresearch@megd.com
patriot@teleport.com
prospectnet@pobox.com
---cut here---
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null