dovecot-2.2: lib-lda: Send QUIT after DATA replies have been rec...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Mar 20 18:24:33 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/b61be8a47126
changeset: 16063:b61be8a47126
user: Timo Sirainen <tss at iki.fi>
date: Wed Mar 20 18:24:21 2013 +0200
description:
lib-lda: Send QUIT after DATA replies have been received.
diffstat:
src/lib-lda/lmtp-client.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r abd9763e91d1 -r b61be8a47126 src/lib-lda/lmtp-client.c
--- a/src/lib-lda/lmtp-client.c Wed Mar 20 18:09:46 2013 +0200
+++ b/src/lib-lda/lmtp-client.c Wed Mar 20 18:24:21 2013 +0200
@@ -277,9 +277,10 @@
if (client->protocol == LMTP_CLIENT_PROTOCOL_LMTP)
break;
}
- if (i < count)
+ if (client->rcpt_next_data_idx < count)
return 0;
+ o_stream_send_str(client->output, "QUIT\r\n");
lmtp_client_close(client);
return -1;
}
More information about the dovecot-cvs
mailing list