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


Click here to return to the 'Works for me, seems clean' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Works for me, seems clean
Authored by: jzsimon on Mar 12, '03 10:52:55AM
This worked for me and appears to be the cleanest, simplest fix. The idea is courtesy of RonLP via MacFixit. The implementation (hopefully bug free, but it works for me) is mine. All shell > commands are entered in a terminal.

1) Backup /System/Library/StartupItems/Sendmail/Sendmail, e.g.
> sudo cp -p /System/Library/StartupItems/Sendmail/Sendmail \
/System/Library/StartupItems/Sendmail/Sendmail.old


2) Edit the same file to put a "-Am" in the first line calling sendmail, so that it reads /usr/sbin/sendmail -Am -bd -q1h
An easy way to edit it is with
> sudo pico /System/Library/StartupItems/Sendmail/Sendmail

3) Restart sendmail with
> sudo SystemStarter -v restart SMTP

The -Am tells sendmail to use /etc/mail/sendmail.cf. It is "supposed to" use this file anyway, but without the -Am it doesn't, it uses /etc/mail/submit.cf.

All of this assumes that you followed the Davidson article's instruction on how to create your own, new, /etc/mail/sendmail.cf file, and that before you applied the March 3 2003 security update your sendmail was working properly.

All the usual caveats apply; your results may vary. I'm not a sendmail expert at all.

[ Reply to This | # ]