dovecot-2.1: smtp client: Do DNS blocking lookups.

dovecot at dovecot.org dovecot at dovecot.org
Sat Jan 28 19:25:40 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/32318f1588d4
changeset: 14019:32318f1588d4
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jan 28 19:25:32 2012 +0200
description:
smtp client: Do DNS blocking lookups.
We don't currently have access to base_dir, so we can't know what the path
to dns-client is. Also smtp client is a blocking operation anyway, so doing
a blocking DNS lookup isn't a problem.

diffstat:

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

diffs (11 lines):

diff -r bc2eea348f55 -r 32318f1588d4 src/lib-lda/smtp-client.c
--- a/src/lib-lda/smtp-client.c	Sat Jan 28 19:24:17 2012 +0200
+++ b/src/lib-lda/smtp-client.c	Sat Jan 28 19:25:32 2012 +0200
@@ -261,7 +261,6 @@
 	client_set.mail_from = smtp_client->return_path == NULL ? "<>" :
 		t_strconcat("<", smtp_client->return_path, ">", NULL);
 	client_set.my_hostname = smtp_client->set->hostname;
-	client_set.dns_client_socket_path = "dns-client";
 
 	ioloop = io_loop_create();
 	client = lmtp_client_init(&client_set, smtp_client_send_finished,


More information about the dovecot-cvs mailing list