From: Timo Sirainen Date: Wed, 16 Nov 2011 18:24:07 +0000 (+0200) Subject: lmtp: Include local/remote port in userdb lookups. X-Git-Tag: 2.1.rc1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d16cbc7557bc2e9f790c9c907212eb5df57a4ab2;p=thirdparty%2Fdovecot%2Fcore.git lmtp: Include local/remote port in userdb lookups. --- diff --git a/src/lmtp/commands.c b/src/lmtp/commands.c index 6b8d8b47ac..916eb8d00c 100644 --- a/src/lmtp/commands.c +++ b/src/lmtp/commands.c @@ -426,6 +426,8 @@ int cmd_rcpt(struct client *client, const char *args) 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);