
私はこれらの設定exim を設定して、Gmail をスマートホストとして使用し、うまくいきました。ただし、これらの設定を Yahoo や Fastmail (どちらもポート 587 ではなく 465) などの他の SMTP サーバーに対して使用できないようです。どちらもメッセージが表示されて失敗しますdefer (-18): Remote host smtp.example.com [x.x.x.x] closed connection in response to initial connection
。これらの設定に何か問題があるのでしょうか? 何が問題なのでしょうか?
my_route:
driver = manualroute
domains = ! +local_domains
transport = my_relay
route_list = * smtp.mail.yahoo.com
my_relay:
driver = smtp
port = 465
hosts_require_auth = $host_address
hosts_require_tls = $host_address
my_login:
driver = plaintext
public_name = LOGIN
hide client_send = : [email protected] : my_password
答え1
同じ課題がありましたが、SMTP ポートを 465 (SSL/TLS) から 587 (STARTTLS) に変更することで解決しました。