Listen on user-specified addresses
authorMegaBrutal <code+git@megabrutal.com>
Fri, 12 Oct 2018 06:05:25 +0000 (08:05 +0200)
committerMegaBrutal <code+git@megabrutal.com>
Fri, 12 Oct 2018 06:05:25 +0000 (08:05 +0200)
Configuration key ListenPort has been changed to ListenAddress.
Now it is possible to supply exact addresses to listen on instead
of all addresses (0.0.0.0). Backward compatibility is kept, so old
ListenPort values will still be interpreted (if no ListenAddress is
present).

ListenPort = 25 ==> ListenAddress = 0.0.0.0:25

Multiple listen addresses may be separated by commas, e.g.
ListenAddress = 192.168.1.161:25,127.0.0.1:225

Port 25 is implied when no port is specified for an address.

modified:   Common.pas
modified:   Listener.pas
modified:   MgSMTP.pas
modified:   Network.pas


No differences found