Olaf Marzocchi: > If I use ssl0.ovh.net:25, I get a timeout. If I use port 587, I > get "(TLS is required, but was not offered by host > ssl0.ovh.net[213.186.33.20])", so I opted for SMTPS. > However, Postfix cannot do SMTPS on port 465, so I installed stunnel > and I set it to connect to ssl0.ovh.net:465. I did it on my OS X > 10.8 and it worked, I can send mail from command line. As reference, > I used the config suggested in postifx help: > > [smtp-tls-wrapper] > accept = localhost:11125 > client = yes > connect = ssl0.ovh.net:465 > ;delay = yes > > I replicated both main.cf and stunnel.conf on OmniOS and it doesn't > work! However, I ask in this mailing list because postfix is an > extra package not part of the base OmniOS distro. If you tell me > everything seems ok, I will ask them. > > The error I get from postfix is the following, taken from the > output of "mailq": > (connect to 127.0.0.1[127.0.0.1]:11125: Connection refused)
On the machine that runs Postfix, nothing is listening on 127.0.0.1 TCP port 11125. > Well, I tried "telnet 127.0.0.1 465" from a SSH prompt and I was > able to connect to the remote mail server, so stunnel is working You connect to 127.0.0.1 port 465. That works. Postfix is configured to connect to 127.0.0.1 port 11125. That does not work. Suggestion: configure Postfix to connect to the port that works. Wietse