hi ken,

on some systems i can see that qmail isn't restarted properly after adding 
new domains with vadddomain (or any other program that modifies files in 
/var/qmail/control), so the new domains didn't work until a manual restart.

i guess that the problem is in vpopmail.c in signal_process(). i'm not a c 
expert, but it seems like that you parse the output of "ps" and look for 
lines that contain "qmail-send", get the pid and restart this process. this 
doesn't work if there are more than one process containing that string 
which is normally the case because the qmail logging process has this 
string in it, either. because signal_process() seems to restart the _last_ 
process it has found, my logging is restarted, but not qmail-send. it works 
fine on a system where supervise happily started qmail-send _after_ the 
qmail-send-logging.

am i right with this suggestion? any fixes would be greatly appreciated.

regards, jonas.

Reply via email to