Wietse Venema: > The postscreen in snapshot 20100914 has a problem where it terminates ... > There is no loss of mail (or even delay of mail) but I'll try to fix it > today. Meanwhile, snapshot 20100913 is problem free.
Postfix snapshot 20100915 fixes this trivial problem, and has been uploaded to ftp.porcupipine.org. Wietse diff -cr /var/tmp/postfix-2.8-20100914/src/postscreen/postscreen_dnsbl.c src/postscreen/postscreen_dnsbl.c *** /var/tmp/postfix-2.8-20100914/src/postscreen/postscreen_dnsbl.c Tue Sep 14 19:04:48 2010 --- src/postscreen/postscreen_dnsbl.c Wed Sep 15 08:33:35 2010 *************** *** 357,375 **** } if (reply_argv != 0) argv_free(reply_argv); - } else { - msg_warn("%s: unexpected event: %d", myname, event); - } - - /* - * We're done with this stream. Notify the requestor(s) that the result - * is ready to be picked up. If this call isn't made, clients have to sit - * out the entire pre-handshake delay. - */ - score->pending_lookups -= 1; - if (score->pending_lookups == 0) - PS_CALL_BACK_NOTIFY(score, PS_NULL_EVENT); vstream_fclose(stream); } --- 357,372 ---- } if (reply_argv != 0) argv_free(reply_argv); + /* + * Notify the requestor(s) that the result is ready to be picked up. + * If this call isn't made, clients have to sit out the entire + * pre-handshake delay. + */ + score->pending_lookups -= 1; + if (score->pending_lookups == 0) + PS_CALL_BACK_NOTIFY(score, PS_NULL_EVENT); + } vstream_fclose(stream); }