The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Starting Sendmail Last
Author: el_kab0ng 
Date:   14-09-05 00:42

FreeBSD 5.4 RELEASE.

I have some customized milters that get called out of /usr/local/etc/rc.d, but they are called AFTER sendmail gets called from /etc/rc.d. Since thwe sockets are not created yet, Sendmail complains. Any way to force sendmail to load AFTER the milters have fired up?

Reply To This Message
 
 Re: Starting Sendmail Last
Author: el_kab0ng 
Date:   14-09-05 00:50

Nevermind. Found the answer shortly after posting as usual.

"The ports/local startup directory hasn't been integrated into the
new rcorder system (yet). The local startups are run by
/etc/rc.d/localpkg, which happens after sendmail in the default
ordering. You can easily change this by editing /etc/rc.d/sendmail
and change the

# REQUIRE: LOGIN

to read:

# REQUIRE: LOGIN localpkg

This will run sendmail after *everything* in /usr/local/etc/rc.d,
which is probably OK."

http://lists.roaringpenguin.com/pipermail/mimedefang/2004-March/020866.html

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org