Summary: Sendmail Queue mode only

2007-12-25 1:01:00

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

Comments

Got something to say?

You must be logged in to post a comment.