changeset 20614:f3b498663de4

lmtp: Reverted default port 24 change 1cbf46898. This might break some existing installation since otherwise the local port is the default. So lets just keep it a v2.3.x change.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 10 Aug 2016 01:39:39 +0300
parents f29b99e582a8
children dbd3bbba0f49
files src/lmtp/commands.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lmtp/commands.c	Mon Aug 08 19:25:05 2016 +0300
+++ b/src/lmtp/commands.c	Wed Aug 10 01:39:39 2016 +0300
@@ -263,8 +263,6 @@
 		} else if (strcmp(key, "protocol") == 0) {
 			if (strcmp(value, "lmtp") == 0)
 				set->protocol = LMTP_CLIENT_PROTOCOL_LMTP;
-				if (!port_set)
-					set->port = 24;
 			else if (strcmp(value, "smtp") == 0) {
 				set->protocol = LMTP_CLIENT_PROTOCOL_SMTP;
 				if (!port_set)