I have a Postfix/Dovecot setup on my home network to send emails (mainly so I can get messages from my servers at a central location). I'd like to be able to send them to my yahoo.com address so I can access them when I'm not at home, and the only way I can see to do that is to forward mail via the Yahoo smtp server using my account there. Following the guide
here, the relevant part of my main.cf is:
Code:
relayhost = [smtp.mail.yahoo.com]:465
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_wrappermode = yes
smtp_use_tls = yes
smtp_tls_security_level = encrypt
smpt_generic_maps = hash:/etc/postfix/map/generic_map, regexp:/etc/postfix/map/regex_map_yahoo
smtp_always_send_ehlo = yes
I have mapping setup so that my local mail identity will show up as my yahoo mail address when connecting to yahoo. The error I keep getting is
Code:
lost connection with smtp.mail.yahoo.com[67.195.228.95] while receiving the initial server greeting
The best guidance I've been able to find on this is that my ISP is blocking the outgoing port. However, I'm able to send email through Yahoo using Thunderbird with basically the same settings (smtp host, port, user, and password). So I figure there must be something wrong with my Postfix configuration.
Can anyone provide any guidance? More information on the error message, any setting that I might be overlooking, etc.? I've tried the same thing with gmail, with the same result.