Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'one last step...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
one last step...
Authored by: Nighzlie on Sep 07, '01 01:33:08PM

After following these instructions, sendmail still wasn't working. I kept getting a message that it could not open /etc/mail/local-host-names because it is a world wrteable directory. I used chmod 755 /etc/mail without success. So instead I just edited /etc/mail/sendmail.cf and commented out the line that says Fw/etc/mail/local-host-names.
This did the trick. It looks like this line in the config file is related to receiving mail, which I'm not trying to do so no big deal.
Good luck!



[ Reply to This | # ]
one last step...
Authored by: fxdl on Dec 20, '01 02:08:02PM

A better fix to this problem is:

1) Open up the config file using your favorite editor (i.e. Pico) and using the 'sudo' command since you probably don't have write access to the file:
sudo pico /etc/hostconfig

2) Make the change indicated below and save the file
Change:
#0 DontBlameSendmail=safe

To:
#0 DontBlameSendmail=GroupWriteableDirPathSafe

I read this info on pg. 1141 of the excellent "Mac OS X Unleashed" book (ISBN: 0-672-32229-3). This book and macosxhints.com have been my two best friends...



[ Reply to This | # ]
one last step...
Authored by: vesalius on Dec 21, '01 11:25:17AM

Don't you mean to edit "/etc/mail/sendmail.cf"? I can find no reference to "#0 DontBlameSendmail=safe" in /etc/hostconfig, but "#0 DontBlameSendmail=safe" is located in the sendmail.cf file?



[ Reply to This | # ]
No luck
Authored by: SeanAhern on Jan 18, '02 01:59:45PM

No effect. I changed:

#O DontBlameSendmail=safe

to

#O DontBlameSendmail=GroupWriteableDirPathSafe

and I still get the

/etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory

error.



[ Reply to This | # ]
No luck
Authored by: dsauve on Jan 18, '02 05:31:22PM

I think a recent OS X update reset the permissions on mail-related files. My mail server was down for three or four days two weeks ago until I realized the permissions error was keeping sendmail from starting.

I played around with it with no luck until I went back to the original OS X Hint above and went throught the step-by-step process described here:

> http://www.kung-foo.tv/xtips.shtml

Try these permission changes, and let us know if it works:

sudo chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
sudo chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

-damon



[ Reply to This | # ]
No luck
Authored by: dsauve on Jan 18, '02 05:32:12PM

I think a recent OS X update reset the permissions on mail-related files. My mail server was down for three or four days two weeks ago until I realized the permissions error was keeping sendmail from starting.

I played around with it with no luck until I went back to the original OS X Hint above and went throught the step-by-step process described here:

> http://www.kung-foo.tv/xtips.shtml

Try these permission changes, and let us know if it works:

sudo chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
sudo chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

-damon



[ Reply to This | # ]
No luck
Authored by: sharumpe on Jan 28, '02 02:18:06PM
You probably did this, but just in case: If sendmail was running while you made the change, you need to kick it.

# ps -auxww | grep sendmail
# kill -1 pid

pid is the numeric process ID from the ps output.

Mr. Sharumpe

[ Reply to This | # ]
No luck
Authored by: sharumpe on Jan 28, '02 02:25:26PM
Disregard my previous post - you need to remove the # from the front of that line. The final result should read:
O DontBlameSendmail=GroupWriteableDirPathSafe
Mr. Sharumpe

[ Reply to This | # ]