View Full Version : Procmail recipe

06-17-2004, 09:42 PM
Found this procmail recipe ( download the zip file ) http://s92562228.onlinehome.us/yavr/nkvir-rc.gz

Inside is a whole list a mecca to ward off spam & all current annoying tricks by spammers + viruses.

The file is 94 KB, if I were to apply the list to my procmail - it will surely slow the mails down & take up much cpu processing power on a high email trafficked site ?

The main url that provides good info on catching spam with procmail
is http://www.ii.com/internet/robots/procmail/qs/

06-18-2004, 11:22 AM
if I were to apply the list to my procmail - it will surely slow the mails down & take up much cpu processing power on a high email trafficked site ?

Probably, but it can't be any worse than running an instance of SpamAssassin on each and every one of those e-mails. I doubt the (delay) effect would even be very noticable. I would also say that SpamAssassin is probably much more effective (overall) ;)

06-18-2004, 12:20 PM
Another good site to explore spam catching with procmail is http://www.spambouncer.org/ , but alas, some of the network tools it uses doesn't seem to be on our virtual machines.

06-22-2004, 07:55 PM
Hi DPFaigin, I really like spambouncer, it's upto date and has all the spam text filtering imaginable there in place.

But I've just gone through it & installed all the files in /usr/home/sb .

And set my procmailrc file with these lines at the bottom



I've tested it & it won't work.

Still rereading the instructions given again. Any sample or pointers ?

06-23-2004, 03:00 PM
Alas, some of the tools it seems to require just aren't on the Westhost system, which is why I had to give up on it.

06-23-2004, 09:32 PM
Any idea what tools those are? If they are simple things like 'sort', etc. you can grab those as an archive from jalal's site and extract to /usr/bin.

06-24-2004, 10:56 AM
They are more network checking tools that do things like name lookups. You can get some ideas from the Spambouncer site. Note that I was using the newer SpamBouncer 2.

WestHost - MMellor
06-25-2004, 10:23 AM
Hello Everyone,

A GREAT free procmail editing utility is : http://www.uvm.edu/opensource/?Page=procbuilder.html This utility gives you a GUI to edit your procmail as opposed to having to edit it manually.

This however is not for beginning users. If you do mess up your procmail file it will crash the email account. This is a personal recommendation and WestHost does not provide support for this. We are looking at several email filtering technologies and are planning to implement something similar to this in the future. If you have any questions on this please let me know.

06-25-2004, 02:15 PM
I've just tried out the procbuilder that Mike mentions.
I'm a little underwhelmed by it, to be honest. If you are not comfortable with using SSH and Vi then to be sure, it will be a help, but otherwise not.
None of my existing rules were recognized, they just appeared in textarea's for editing.
Adding rules to the ruleset does allow you to select from drop down boxes but I didn't try it to see what kind of output it gave.
The script is configured for the UVM computer system, which means that you will need to configure it by hand (set the variables in the script) and the script has no security at all, so that is something to also be aware of.

And, from a brief check through the code, it will actually write out a 'wrong' procmalrc file unless you have configured it properly, so check the configuration closely before using it and back up those files first!

There is a great market for a decent web based procmail and spamassassin editor.
Just wish I had the time...


06-25-2004, 02:28 PM
I just found an online SpamAssassin cofiguration creator at:


simple and basic....