veganizer - a spam counter-attack
veganizer -s -d -a -p
veganizer -s -d -a -n num
veganizer -s -d -a -f filename -n num
Given a mailfile and a message number, or a file containing only on message with headers, the Veganizer attempts to determine all addresses associated with the servers that the message came through and mail them a ``stop this spam'' message.
veganizer accepts the following options:
Run in silent mode; no prompting is done.
Don't actually send mail. For testing purposes.
Check body for IP's/domains as well.
read from STDIN, used for piping from mailers.
alternate mailfile
message number to use as spam
The veganizer needs to know where to find certain programs/files: a mail program, nslookup, whois, and your mailfile. Note that the last is only used if you use the -n option.
You will also want to change the @my_domains
array to include
only those domains that you are in charge of.
Additionally, Pine users will need to set the $use_pine
variable to a true value ($use_pine = '1'). This is because Pine creates
these silly messages at the top of your mail file which aren't shown to you
in Pine, but every other mail program thinks they're a real message. Refer
to http://www.washington.edu/pine/faq/problems.html#pseudo-message
for more information.
Make sure the veganizer can find its template file. As long as spamtemplate.txt is in the same directory as veganizer, you shouldn't have a problem.
There are three ways to use veganizer. The first is to have it read straight from your mail file, such as /var/mail/login or the like. For this method, you will need to specify a message number, such as:
veganizer -n 12
This will work on the 12th message in your mailfile.
The second is to specify an alternate mailfile to use instead of your inbox:
veganizer -f /home/login/spam_file -n 7
The third is to pipe a message to the veganizer, such as from your mail program:
| veganizer -p
Be sure to include all the headers in what gets piped!
Any of these methods can have the -s, -a, and -d options, only the first two will notice the -n option.
Should only grep the Technical contact for a domain/IP
Incorrect Domains/IPs are sometimes matched.
whois query only searches arin.net
francisco roque frisco@peruano.org
http://www-personal.wccnet.org/~frisco/code/veganizer/
This program is copyright (c) Francisco Luis Roque 1999
This program is free and open software. You may use, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.