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


Reply via email to