]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lmtp: Use port 24 if no port has been provided
authorWido den Hollander <wido@widodh.nl>
Sat, 9 Apr 2016 11:43:16 +0000 (13:43 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 8 Aug 2016 12:53:17 +0000 (15:53 +0300)
commit1cbf468986aeb4d60efd96e17392f9c330c32546
tree91a127e73d7ddbb2fccb9af367e8331e8f6c5696
parentc48b3d9651ff2d667a234a8009460600ca85e840
lmtp: Use port 24 if no port has been provided

This allows using the LMTP, IMAP and POP3 proxy on the same
Dovecot installation without the userdb providing the port
to connect to.

TCP port 24 is registered at IANA as: "any private mail system"

LMTP being the Local Mail Transfer Protocol classifies as a private
mail system and thus justifies the usage of port 24.

Prior to this patch the LTMP client would connect to TCP port 0 by
default if the userdb did not provide a port to connect to.
src/lmtp/commands.c