dovecot-2.0-sslstream: lmtp: Use hostname setting.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Feb 13 02:56:35 EET 2010
details: http://hg.dovecot.org/dovecot-2.0-sslstream/rev/6aa11c638f54
changeset: 10370:6aa11c638f54
user: Timo Sirainen <tss at iki.fi>
date: Wed Nov 18 20:43:44 2009 -0500
description:
lmtp: Use hostname setting.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/lmtp/client.c | 3 ++-
diffs (25 lines):
diff -r 9f2e8d230bd5 -r 6aa11c638f54 src/lmtp/client.c
--- a/src/lmtp/client.c Wed Nov 18 19:58:37 2009 -0500
+++ b/src/lmtp/client.c Wed Nov 18 20:43:44 2009 -0500
@@ -14,6 +14,7 @@
#include "mail-storage.h"
#include "mail-storage-service.h"
#include "main.h"
+#include "lda-settings.h"
#include "lmtp-settings.h"
#include "lmtp-proxy.h"
#include "commands.h"
@@ -221,12 +222,12 @@ struct client *client_create(int fd_in,
client->output = o_stream_create_fd(fd_out, (size_t)-1, FALSE);
client_io_reset(client);
- client->my_domain = my_hostname;
client->state_pool = pool_alloconly_create("client state", 4096);
client->state.mail_data_fd = -1;
client_read_settings(client);
client_raw_user_create(client);
client_generate_session_id(client);
+ client->my_domain = client->set->hostname;
client->state.lhlo = "missing";
DLLIST_PREPEND(&clients, client);
More information about the dovecot-cvs
mailing list