Summary: Sendmail Queue mode only

johnrams at cox.net johnrams at cox.net
Wed Apr 9 12:09:33 EDT 2003


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.

http://www.sendmail.org/~ca/email/doc/op-sh-4.html 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


Hi:

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
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers




More information about the summaries mailing list