Jaroslaw Rafa:
> Dnia 16.04.2021 o godz. 17:30:43 Bill Cole pisze:
> > two current OS/distro 'families' of the 6 that I've checked have the
> > same 465/tcp entry, and only Debian has 'submissions' as the primary
> > name. None include it as an alias. All except MacOS have smtps as
> > either the primary name or an alias.
> 
> We can just use port number in the Postfix master.cf file, then
> there will be no problem, right?

As described in "man 5 master" or http://www.postfix.org/master.5.html

> (I am actually running another smtps instance on a nonstandard
> port on my server, and use just port number in master.cf, so I
> guess the same applies for standard ports)

As /etc/sevices is dpending on platform and version, the solution
is to make Postfix less dependent on that file. Well-known services
such as submission, smtps, lmtp, and smtp, aren't going to move to
a different TCP port. Therefore, I'm thinking of adding a new
parameter. A default setting as below should go a long way.

known_tcp_ports = 
    submission = 587, 
    smtps = submissions = 465, 
    smtp = 25,
    lmtp = 24

This would work only for Postfix code, not for code in non-Postfix
libraries.

        Wietse

Reply via email to