Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: starting sendmail as service on boot



On Dienstag, Mai 8, 2001, at 03:00 Uhr, Justin C. Walker wrote:

Check /System/Library/StartupItems/Sendmail/Sendmail. The assumption is that the system will be used as a mail server if you're running sendmail. You can either modify your local copy of this script, or set
MAILSERVER=-YES-
in /etc/hostconfig.

Cause of a two (small) bugs in OSX, sendmail didn't start at boottime allthrough you have enabled MAILSERVER=-YES-.

1) unsecure permissions
-----------------------
sendmail checks permissions of certain files/dirs and will not start if something is wrong. Apple uses root:admin as owner of the "/"-dir and sendmail likes root:bin.
a) you can chmod this dir, but will have to do it again in the next update (4ex 10.0.2)
b) or you add the line
O DontBlameSendmail=GroupWritableDirPathSafe
to the sendmail config in /etc/mail/sendmail.cf

2) "&" too much in /System/Library/StartupItems/Sendmail/Sendmail
---------------------------------------------------------------
a) You can start sendmail manually with
sudo /System/Library/StartupItems/Sendmail/Sendmail
or b) you can fix the small bug. You have to delete the "&" behind "sendmail -bd -q1h".

After that sendmail starts at boottime

hth Pitz


References: 
 >Re: starting sendmail as service on boot (From: "Justin C. Walker" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.