[Dovecot] Dovecot 'suicide'

Marc Perkel marc at perkel.com
Mon Mar 19 16:03:29 EET 2007



Luigi Rosa wrote:
> Christian Skarby said the following on 19/03/2007 10.40:
>
> My point is: could Dovecot restart itself insted of killing itself?
>
>

Try this. Run this once a minute in a cron job.

#! /bin/bash

if nmap -p 143 localhost | grep closed
then
   /sbin/service dovecot restart
fi




More information about the dovecot mailing list