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

Even more on sendmail in 10.1.5 UNIX
For those looking for a more comprehensive explanation (previous sendmail hints: 1, 2) of how to get sendmail running again under 10.1.5, take a look at Chris Stone's MacDev Center's sendmail article on the O'Reilly Mac DevCenter site.

FYI, if you don't need to run sendmail as a daemon, don't set the MAILSERVER=-YES- option in your hostconfig file like the O'Reilly article suggests. If you do, sendmail will take *forever* to initialize each time you reboot your machine. If you're just using sendmail periodically you shouldn't need to run it as a daemon (but it largely depends on what you're doing with it).

And lastly, the O'Reilly article is correct -- you'll need to run *two* instances of sendmail. It's not a typo.
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[3,231 views]  

Even more on sendmail in 10.1.5 | 2 comments | Create New Account
Click here to return to the 'Even more on sendmail in 10.1.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sendmail 8.12.x
Authored by: professor on Jun 15, '02 11:41:00AM

Woohoo! So Apple finally updated to Sendmail 8.12.

As alway, however, they are a couple of versions
behind current (8.12.2 vs 8.12.4).

I have been running 8.12.x since I started with MacOSX.

One "gotcha" not mentioned in the O'Reilly article is that
you need the following option in your sendmail.mc file (used
to build sendmail.cf)

MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl

This is because sendmail no longer runs as root, so you either need to
make /usr/libexec/mail.local (or /usr/bin/procmail; whichever you use as
your local mail delivery agent) SUID root, or you need to set the above
flag. If you do neither, then sendmail won't be able to deliver mail
locally.



[ Reply to This | # ]
It works without dual sendmail
Authored by: nirs on Jun 17, '02 03:31:23PM

I using sendmail for sending mail localy and to the outside world (using Mail.app through 127.0.0.1), and I did not add the secod sendamil with the -C /etc/mail/submit.cf argument.

And it does not take forever to initilize, only few minutes, and this can be fixed with starting sendmail in the background. On the sendmail startup script, /System/library/Startupitems/Sendmail/Sendmail, put & after the sendmail command, like this:
/usr/sbin/sendmail -bd -q1h &

I tested this on two macs, both running 10.1.5.
I dont use sendmail as my LAN smtp mail server, so I dont know if it will work.



[ Reply to This | # ]