Spamikaze's spam trap software
To call the passivetrap.pl script automatically from a spam trap email address in sendmail, postfix, zmailer or exim, simply add lines like the following to the email aliases file (usually in /etc/aliases).
spamtrap: "|/opt/spamikaze/scripts/passivetrap.pl" ionlygetspam: "|/opt/spamikaze/scripts/passivetrap.pl"
This way all email to spamtrap@yourdomain is sent into the passivetrap script automatically. You could even turn a whole subdomain into one big spamtrap, sending all addresses in that subdomain into passivetrap.pl. Eg. if your domain is example.com, you could create the spamtrap.example.com subdomain and use that for spamikaze only.
Of course, you will need to make sure the spammers know about the email addresses you use as spam traps. Some obvious methods are posting the address on usenet, putting the address on a web page or filling the address into unsubscribe forms in spam. A less obvious (but very effective) way is to look at your mail logs. Chances are spammers are already trying to send email to nonexisting accounts at your domain. Using the busiest nonexisting accounts as spam trap addresses is very effective, because the spammers are already trying to send mail to them!
The expire.pl script should be run periodically, at least once a day, to take IP addresses that haven't sent spam recently off the list. Note that the history in the database is preserved so the listing web script will still show things.
Named, sendmail, rbldnsd & text scripts
The named.pl script needs to be configured in the Spamikaze config file. Note that after the zone file is regenerated, you will still need to tell bind to reload the zone in question, by issuing the rndc reload command.