/etc/rc.d dir processed twice on startup?

Greg Himes greg at chlgroup.com
Wed Feb 1 08:40:02 PST 2006


Hello all,

I have just updated my mail server to 6.0-RELEASE from
4.6 (which was very stable, but getting old).  I had a script
that started mimedefang then sendmail, using 
mta_start_script ="/root/start_sendmail"
in /etc/rc.conf.  I removed that value after I received errors
on reboot from sendmail unable to bind to various multi-homed
addresses, apparently caused by sendmail starting up again.

I tried adding the mimedefang lines to the /etc/rc.d/sendmail script
in the sendmail_precmd()  section,
but now I find it is starting mimedefang 2 times.  This makes me think
that the script is somehow being run a second time.

Any suggestions?  TIA

Greg Himes
Spec. Prod. Dir.
CHL Design Group



More information about the freebsd-isp mailing list