----- Original Message ----- From: "Paul Howarth" <paul@xxxxxxxxxxxx>
Subject: Re: OT: milter-greylist & sendmail - when to start?
I'll assume you've called the script "milter-greylist" #!/bin/bash # # Init file for greylist sendmail milter. # # chkconfig: - 79 21 # description: milter-greylist is a daemon that hooks into sendmail \ # and makes spammers work hard to deliver their spam # # processname: milter-greylist # config: /etc/sysconfig/milter-greylist # pidfile: /var/run/milter-greylist.pid Adjust to taste, changing file/process names as appropriate. The key values here are the "chkconfig" values, which will let chkconfig and the other system tools manage the links for you. With these comments in place, the following should get you going: # chkconfig --add milter-greylist # chkconfig milter-greylist on # service milter-greylist start That should configure your milter to start just before sendmail and stop just after it. Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>
Paul, just what I needed! Thanks! -Mike