dovecot-2.2: lib-lda: Assert-crashfix when sending a rejection m...

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 11 03:03:22 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/7a2ca282a53e
changeset: 15759:7a2ca282a53e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 11 03:03:12 2013 +0200
description:
lib-lda: Assert-crashfix when sending a rejection mail failed.

diffstat:

 src/lib-lda/smtp-client.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r e866b9e64f09 -r 7a2ca282a53e src/lib-lda/smtp-client.c
--- a/src/lib-lda/smtp-client.c	Mon Feb 11 03:02:49 2013 +0200
+++ b/src/lib-lda/smtp-client.c	Mon Feb 11 03:03:12 2013 +0200
@@ -106,6 +106,7 @@
 
 	client = i_new(struct smtp_client, 1);
 	client->output = o_stream_create_fd(fd[1], IO_BLOCK_SIZE, TRUE);
+	o_stream_set_no_error_handling(client->output, TRUE);
 	client->pid = pid;
 
 	*output_r = client->output;
@@ -163,6 +164,7 @@
 	client->return_path = i_strdup(return_path);
 	client->temp_fd = fd;
 	client->output = o_stream_create_fd(fd, IO_BLOCK_SIZE, TRUE);
+	o_stream_set_no_error_handling(client->output, TRUE);
 	client->use_smtp = TRUE;
 
 	*output_r = client->output;


More information about the dovecot-cvs mailing list