With some inspiration from Sam, I cleaned up my code a bit and added a configurable whitelist to my hnbl plugin. The new config file is called 'notbadmailfromhost'. Please note the need to edit the $errormail variable to point to a fairly open address that you can check regularly like yahoo or hotmail. If the account starts getting overrun with spam (it will happen) make a new one and put it in your code.
http://web.they.org/software/mailfun/hnbl.php .enjoy -Frank On Tue, 23 Mar 2004, Sam Laffere wrote: # frank wrote: # > (note: I'm the author) # > # > I have to agree with this guy here. Since I wrote the plugin, I've # > been in # > touch with at least 10 mail admins who were interested in bringing # > their # > server closer to spec. Course I'm not quite sure what spec is, I'm # > just a # > hacker who is sick of spam on his box and used a bit of hazy long-term # > memory topped with common sense to come up with my rules. # # Sam here, I'm the one that started this discussion. # Frank, thank you for the plugin. I have had good luck with mail admins # trying to repair their problems. Most of the time, I get the office expert, # who realizes that they have been having problems, but never suspects that it # is a real problem on their end. They always have to refer me on to their # ISP or their IT department. Some of the time, it ends there and I never get # a call back. # # # > Make no mistake, this plugin is a heavy hand. # # By its self, this plug-in seemed to eliminate the largest chunk of remaining # spam when I added it in. It also reduced the load on the server by saving # the following plugins the effort of more tests. # # # > If people are interested in trying these changes I'll go update the # > web # > page with new code (including config-based white-list) and send the # > link # > back to the list. # # Yes, I am interested in seeing the updated code. If I can find some # refinement that allows me as an ISP to put this back into full use, I would # love it. # # The interesting side effect for me is that since I set up my spam blocking # machine 6 months ago, I have taken these plugins as my oppertunity to learn # perl. # # Sam # # # -- Nobody snuggles with Max Power. You strap yourself in and feel the "G"s!
