This looks like a tough one to me: I'm configuring postfix on my local home server running ubuntu server 14.04 LTS I was able to send outgoing mail through my relayhost on port 26, everything worked I'm now trying to send outgoing mail through my relayhost on port 465, and I get postfix error "lost connection with [relayhost] while receiving the initial server greeting" I can openssl and EHLO fine from the command line though, so it must be a postfix configuration issue
my master.cf has
smtps inet n - - - - smtpd
uncommented as required
my main.cf has
... relayhost = relayhostname.tld:465 smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_type = cyrus smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous ...
and obviously I configured sasl_passwd etc.
Thank you p