J. Bakshi wrote:
J. Bakshi wrote:
mouss wrote:
J. Bakshi wrote:
Dear list,
I get an error like "postfix/master[18801]: fatal: 127.0.0.1:smtps:
Servname not supported for ai_socktype"
below is my main.cf of postfix. Could any one give me a clue ?
what does
# grep smtps /etc/services
return?
Good morning mouss,
Thanks for your kind reply.
Here is "grep smtps /etc/services" of my server
Sorry for my previous *incomplete* post but it was sent by mistake.
The /etc/services didn't have any smtps entry.
that was it. postfix couldn't know what port to use for smtps (ports are
not hardcoded).
Hence I added as below
~~~~~~~~~~~~~~~~~~~~~~~~~~~
#smtps 465/tcp # eMail Server
smtps 465/tcp
~~~~~~~~~~~~~~~~~````~~``
Now I don't have the "smtps:,Servname not supported for ai_socktype"
error :-)
but when using smtps I got can't connect to smtp server :-(
what do you mean? you can't connect to smtps? please be explicit and
describe exactly what is happening.
I'm looking into it so that I can collect the error messages from log.
In between if you give me any hints it would be really helpful. Onece I
check and collect logs I'll come back to the list.
- restart postfix
- check that postfix is listening on port 465. use netstat, lsof, ...
- check that no firewall prevents access
- check postfix logs
- read
http://www.postfix.org/TLS_README.html