[clug] Keep The MAIL Server Running!

Michael Still mikal at stillhq.com
Sun Jan 22 01:33:43 GMT 2006


Daniel Black wrote:
> On Sun, 22 Jan 2006 03:16 am, Nedim Hadzimahmutovic wrote:

>>I have a problem with my mail server wich fails and stops running.
>>This ocures every few days. I cannot find a shell script that would
>>chech if the mial server or some other process is running, and if not,
>>execute the mail server again.
>>
>>If someone can provide me the script I would be very thankful.
> 
> init (entry in inittab)
> 
> or if you using something like qmail it intergrates nicely with daemontools 
> http://cr.yp.to/daemontools.html (see supervise program). You may be able to 
> use supervise on other mail servers.

You should probably also work out why it is exitting, and fix the actual 
problem. Log files should help with that.

Mikal


More information about the linux mailing list