[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Sendmail unexpectedly stopping on Raq550



> -----Original Message-----
> From: Mike Jenkins [mailto:cobalt-users@xxxxxxxxxxxxx]
> Sent: Thursday, August 14, 2003 9:09 AM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] Sendmail unexpectedly stopping on Raq550
> 
> Is there any way to make the /etc/rc.d/init.d/sendmail restart command
> more
> reliable?
> 

I have always done:

/etc/init.d/sendmail stop
killall -9 sendmail
/etc/init.d/sendmail start

> Adding a relay denied, or allowed domain causes sendmail to restart,
see
> /usr/sausalito/handlers/base/email/restart.pl, which executes the
sendmail
> restart script.
> 
> However, it doesn't check that all the sendmail instances have been
> stopped
> before restarting, and it appears that on restart it checks to see if
> sendmail is already running. So if your server has email connections
open
> at
> the time of the change, some of the time you end up with no daemon
> listening
> for new connections. This means that you can't receive email until the
> current connections are finished and swatch notices than sendmail has
died,
> and restarts it. (Unless you restart manually).
> 
> Anybody else seen this?
> 
> Mike
> 
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users