Don O'Neil wrote: > Anyone using inetd to launch spamd? I've had my process die a couple of > times and it would be nice to have inetd around to make sure it's allways > running. If you have, what did you put in inetd.conf?
Using inetd would cause a new spamd instance to be launched for every message. At that point it would be faster and more CPU efficient to not use spamd/spamc, but call the plain-old "spamassassin" script instead. Another option would be to have a cronjob check to see if spamd isn't running and restart it. This is kind of a poor-mans hack of an "angel" process. (an "angel" process is dedicated program that does nothing but constantly watch to make sure a daemon stays running and re-launch it whenever it dies. Often seen used with badly written MUDs that crash constantly and sometimes on better written code when 100% uptime is a must.)