Log warning when deprecated ListenPort is used
authorMegaBrutal <code+git@megabrutal.com>
Mon, 15 Oct 2018 17:00:00 +0000 (19:00 +0200)
committerMegaBrutal <code+git@megabrutal.com>
Mon, 15 Oct 2018 17:00:00 +0000 (19:00 +0200)
commitf4882400776ff6de4f796a3e8123909d5531da53
tree00e326a206d76ef91a294d9e751ec4d5729f4c31
parentf70bfb8a7f2c72758be721b78a7e9f33321dca21
Log warning when deprecated ListenPort is used

Added a nice warning message to notify users to use ListenAddress
instead of ListenPort. The warning is triggered when the config has
no ListenAddress declaration, but a ListenPort setting is present.

Also replaced the slash with a backslash in the error message that
warns about missing "Server\Name" setting.

modified:   MgSMTP.pas
MgSMTP.pas