採用しようとするもの下記参考に
/etc/rc.d/rc.M sample
# Start the sendmail daemon ; Add Thu Oct 11 21:26:42 JST 2007
if [ -x /usr/sbin/sendmail ]; then
echo "Starting sendmail daemon (/usr/sbin/sendmail -bd -q15m)..."
/usr/sbin/sendmail -bd -q15m
/usr/sbin/sendmail -L sm-msp -Ac -q15m
fi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==========================
plase change as below
/usr/sbin/sendmail -L mta-daemon -bd -q15m
/usr/sbin/sendmail -L msa-queue -Ac -q15m
cf
/usr/sbin/sendmail -bd -q15m
/usr/sbin/sendmail -L sm-msp -Ac -q15m
=========================
$ newaliases -d0.1 < /dev/null | head -1
Version 8.14.1
$ /usr/sbin/sendmail -d0.1 < /dev/null | head -1
Version 8.14.1
~~~~~~~~~~~~~~~~
sv:/etc/mail# cd /etc/rc.d/ /usr/sbin/sendmail -L mta-daemon -bd -q15m /usr/sbin/sendmail -L msa-queue -Ac -q15m sv:/etc/rc.d# diff -s 20071013-01-rc.M_sendmail_bd_Ac rc.M 312,318d311 < # Start the sendmail daemon ; Add Thu Oct 11 21:26:42 JST 2007 < if [ -x /usr/sbin/sendmail ]; then < echo "Starting sendmail daemon (/usr/sbin/sendmail -bd -q15m)..." < /usr/sbin/sendmail -L mta-daemon -bd -q15m < /usr/sbin/sendmail -L msa-queue -Ac -q15m < fi < # ADD AND Modefy ; Add Thu Oct 11 21:26:42 JST 2007 sv:/etc/rc.d# cp 20071013-01-rc.M_sendmail_bd_Ac rc.M sv:/etc/rc.d# diff -s rc.M 20071011_rc.M_non_sendmail 312,319d311 < # Start the sendmail daemon ; Add Sun Nov 11 23:16:21 JST 2007 < if [ -x /usr/sbin/sendmail ]; then < echo "Starting sendmail daemon (/usr/sbin/sendmail -L mta-daemon -bd -q15m)..." < echo "Starting sendmail daemon (/usr/sbin/sendmail -L msa-queue -Ac -q15m)..." < /usr/sbin/sendmail -L mta-daemon -bd -q15m < /usr/sbin/sendmail -L msa-queue -Ac -q15m < fi < # ADD AND Modefy ; Add Sun Nov 11 23:16:21 JST 2007 =============================================== sv:/etc/rc.d# ps ax | grep ntp 285 ? SL 0:00 /usr/bin/ntpd -c /etc/ntp.conf 614 pts/0 S 0:00 grep ntp ===============================
何か加工すると 良いかもしれません。
にゃんたろう 拝!
2007年12月 4日 (火) 23:13:42 JST 作成