|
Your article suggests that one, "Save that file and then open /System/Library/StartupItems/Sendmail/Sendmail:
sudo pico /System/Library/StartupItems/Sendmail/Sendmail
Find this line near the end:
/usr/sbin/sendmail -bd -q1h
And add this line after it:
/usr/sbin/sendmail -C /etc/mail/submit.cf -q1h
Save that file and restart your machine to allow the startup script to run."
Thus generating the following Sendmail file
---[Cut Here]---
#!/bin/sh
. /etc/rc.common
##
# Start mail server
##
if [ "${MAILSERVER:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting mail services"
##
# Remove junk from the outbound mail queue directory and start up
# the sendmail daemon. /usr/spool/mqueue is assumed here even though
# it can be changed in the sendmail configuration file.
##
queue=/var/spool/mqueue
rm -f ${queue}/nf* ${queue}/lf*
/usr/sbin/sendmail -bd -q1h
/usr/sbin/sendmail -C /etc/mail/submit.cf -q1h
fi
---[Cut Here]---
Presumabably, you only wanted us to ADD to that line. Thereby generating the following Sendmail file
---[Cut Here]---
#!/bin/sh
. /etc/rc.common
##
# Start mail server
##
if [ "${MAILSERVER:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting mail services"
##
# Remove junk from the outbound mail queue directory and start up
# the sendmail daemon. /usr/spool/mqueue is assumed here even though
# it can be changed in the sendmail configuration file.
##
queue=/var/spool/mqueue
rm -f ${queue}/nf* ${queue}/lf*
/usr/sbin/sendmail -C /etc/mail/submit.cf -q1h
fi
---[Cut Here]---
Please clarify and or change your article to correctly reflect your intent.
Also, why are you not appending a & to the line in question, thereby making sendmail a backgournd app, as it should be?
|
> line in question, thereby making sendmail a
> backgournd app, as it should be?
IIRC, sendmail is well-behaved and will background itself.
jafager