Just had someone come into the IRC chat with this issue and I was able
to reproduce it quite easily, this is with Postfix 3.6.2. If your
/etc/services has smtps listed but not submissions (or vice-versa) and
you uncomment or add the relevant section to master.cf then postfix
gives an error like the following at startup:
Oct 17 18:28:59 CentOS8 postfix/master[79810]: fatal:
127.0.0.1:submissions: Servname not supported for ai_socktype
Oct 17 18:29:00 CentOS8 postfix/master[79809]: fatal: daemon
initialization failure
Oct 17 18:29:01 CentOS8 postfix/postfix-script[79811]: fatal: mail
system startup failed
...the thing is that submissions is listed in known_tcp_ports:
known_tcp_ports = lmtp=24, smtp=25, smtps=submissions=465, submission=587
...so by rights postfix should know that submissions is port 465 and
startup without error in spite of the service not being listed in
/etc/services.
Is there a stray startup check that was missed when known_tcp_ports was
added or something?
Peter