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


Click here to return to the 'Hack for new sendmail on 10.1.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Hack for new sendmail on 10.1.5
Authored by: mariox19 on Mar 14, '03 07:39:28AM

I'm running 10.1.5 and fell victim to Software Update. The March 2003 Security Update said Jaguar was required, but the update showed up on my machine anyway. I ran it, and met with problems running my sendmail.

I had my sendmail configured according to the O'Reilly article, Update to Terminal Part 3. Sendmail would run only when needed, and start up at system boot.

After the update, sendmail would no longer start at boot. In the system log file I would get the following: Exec format error. Reconfiguring my sendmail.cf file was no help.

Finally, I did three things. I copied my sendmail.cf to submit.cf. Then I made two changes to the startup script at /System/Library/StartupItems/Sendmail/Sendmail. First, I changed the sendmail command to only one command reading:



    /usr/sbin/sendmail -C /etc/mail/submit.cf -q1h

I also added this line before the above:

    sleep 10

I seems that the sleep command enabled sendmail to start, avoiding the exec format error. The one line to start sendmail allows it to run only when sending mail from my machine. (It is invisible to port scans.)

I don't know much about sendmail, but my guess is because it does not show up on port 25 (or any other I'm aware of) it is secure.

As always, your mileage may vary!

---
quiquid id est, timeo puellas et oscula dantes.

[ Reply to This | # ]