When you get a chance, could you check this fix in. Right now I've got a cron job cleaning out the postfix deferred queue, which is suboptimal.

Ilja Booij wrote:

Ilja Booij wrote:

I was wrong:

There are two problems:
dbmail-smtp: for some reason, the dbmail-smtp returns EX_TEMPFAIL when there are only external forwards to deliver

dbmail-lmtpd: after closing the pipe, the daemon process (a child of the original daemon) gets a SIGCHLD (of course), but it reacts to this by killing itself! Of course, it should ignore this signal.

This last problem I've dealt with. In serverchild.c, I've added a signal handler ChildSignalHandler() as signal handler for SIGCHLD, and use that function to ignore the SIGCHLD. Somehow, just setting signal(SIGCHLD, SIG_IGN) did not work like I wanted it to. It interfered with the server parent signal handler.

Ilja


Ilja


_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to