Summary: Sendmail Queue mode only

From: <>
Date: Wed Apr 09 2003 - 12:09:33 EDT
Thanks to Robert Tseng, David Meissner, Randy Chatfield, Ric Anderson, Crist Clark, Mark, Jeff Horwitz, Mario Henley, Israel Novelo Zel, William Enestvedt, Angel Rivera, Christopher Barnard.

Unanimous conclusion is to use following approach. link is good source.

In Solaris 8, add MODE="" in /etc/default/sendmail (create this file if it does not exist already)

In Solaris 2.6, your have three choices:
a. borrow /etc/init.d/sendmail from Solaris 8
b. directly edit /etc/init.d/sendmail to remvoe -bd
c. remove/rename /etc/rc2.d/S88sendmail, then add an entry in root's crontab:
0,15,30,45 * * * * /usr/lib/sendmail -q
(or any interval of your choice)

After you're done above modification, bounce sendmail
/etc/init.d/sendmail stop
/etc/init.d/sendmail start


If incoming mail is not to be allowed, how would i force sendmail to run in queue mode only.
> What would i do to the startup script? Turning off  '-bd' flag is sufficient and restart.
> Thanks
> John
sunmanagers mailing list
Received on Wed Apr 9 12:20:28 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:08 EST