dovecot-2.1: lmtp: Include local/remote port in userdb lookups.

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 16 20:24:15 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/9ead5aea2ce4
changeset: 13715:9ead5aea2ce4
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 16 20:24:07 2011 +0200
description:
lmtp: Include local/remote port in userdb lookups.

diffstat:

 src/lmtp/commands.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r bca3950cad53 -r 9ead5aea2ce4 src/lmtp/commands.c
--- a/src/lmtp/commands.c	Wed Nov 16 20:23:50 2011 +0200
+++ b/src/lmtp/commands.c	Wed Nov 16 20:24:07 2011 +0200
@@ -426,6 +426,8 @@
 	input.username = username;
 	input.local_ip = client->local_ip;
 	input.remote_ip = client->remote_ip;
+	input.local_port = client->local_port;
+	input.remote_port = client->remote_port;
 
 	ret = mail_storage_service_lookup(storage_service, &input,
 					  &rcpt.service_user, &error);


More information about the dovecot-cvs mailing list