# HG changeset patch # User meillo@marmaro.de # Date 1278416811 -7200 # Node ID b072426cc6bbe88e64f8f12857e490930225e7ec # Parent 43a9447c35837a0defcdc9b17becfb35785f1e0d fixed defer_all code it was broken during refactoring this morning diff -r 43a9447c3583 -r b072426cc6bb src/smtp_in.c --- a/src/smtp_in.c Tue Jul 06 13:45:42 2010 +0200 +++ b/src/smtp_in.c Tue Jul 06 13:46:51 2010 +0200 @@ -176,9 +176,12 @@ while ((len = read_sockline(in, buffer, BUF_LEN, 5 * 60, READSOCKL_CHUG)) >= 0) { cmd_id = get_id(buffer); - if (conf.defer_all) { /* I need this to debug delivery failures */ + if (conf.defer_all) { + /* I need this to debug delivery failures */ smtp_printf(out, "421 %s service temporarily unavailable.\r\n", conf.host_name); - break; + destroy_message(msg); + msg = NULL; + return; } switch (cmd_id) {