dovecot-2.0: lmtp: Include local/remote port in userdb lookups.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Nov 16 20:24:50 EET 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/2f6c0ab7d043
changeset: 12972:2f6c0ab7d043
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 e5ca61d1fd40 -r 2f6c0ab7d043 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