PDA

View Full Version : Postfix trouble


jmroth
19th December 2007, 22:27
Today, I had a problem with postfix restarting. I saw that the reason for the restart was that someone changed something in ISPconfig.

What usually happens in mail.log is then:

Dec 19 12:00:02 host postfix/smtpd[20381]: table hash:/etc/postfix/virtusertable(0,lock|fold_fix) has changed -- restarting
Dec 19 12:00:02 host postfix/cleanup[19128]: table hash:/etc/postfix/virtusertable(0,lock|fold_fix) has changed -- restarting
Dec 19 12:00:02 host postfix/cleanup[18459]: table hash:/etc/postfix/virtusertable(0,lock|fold_fix) has changed -- restarting
Dec 19 12:00:02 host postfix/cleanup[18512]: table hash:/etc/postfix/virtusertable(0,lock|fold_fix) has changed -- restarting
Dec 19 12:00:02 host postfix/cleanup[18515]: table hash:/etc/postfix/virtusertable(0,lock|fold_fix) has changed -- restarting
Dec 19 12:00:07 host postfix/master[29565]: terminating on signal 15

But it did not restart. Usually it would say a few seconds later:

host postfix/master[29565]: daemon started -- version 2.3.8, configuration /etc/postfix

Does anyone have an idea why such a thing can happen?

Regards,

till
19th December 2007, 22:28
Any errors when you restart postfix manually?

jmroth
19th December 2007, 22:35
No... but I have now set

$go_info["server"]["smtp_restart"] = 2; // 1 = stop/start, 2 = restart
in config.lib.php

I suppose it is that under some circumstances (that unfortunately I do not know) the stop/start is just too fast one after another.

Let's hope that helps.