Fix for OpenSuSE error: postfix/master: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype

You might see the error:

postfix/master[5309]: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype

On a OpenSuSE server when you enable smtps in postfix master.cf file. The reason for the error is that the definition of the smtps port in /etc/services is missing.

Solution

Edit the /etc/services file

vi /etc/services

and add the following lines:

smtps 465/tcp # Secure SMTP
smtps 465/udp # Secure SMTP

Then restart postfix

/etc/init.d/postfix restart

4 thoughts on “Fix for OpenSuSE error: postfix/master: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype”

  1. localhost postfix/smtp alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c0d::1a]:25: Connection timed out)

    Please help on above

    Thanks
    Niki

    Reply

Leave a Comment

*