]> 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)
committerGitLab <gitlab@git.dovecot.net>
Mon, 8 Aug 2016 08:02:22 +0000 (11:02 +0300)
commitdfe53c824fb6f6e3736ee2958665dd6f545724b1
tree7767e593d6fc21b8b7ee37d459f89a1f8d4a9eb7
parent0b9667003a1d54aec1ef60dd8adedb80c5775b3a
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