僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。
yahoo.co.jp は駄目だった。
仮メールサーバ(TLS 1.3)のpostfixで、main.cfの設定を一部変更。
"may"を"encrypt"と変えてみた。
smtpd_tls_security_level = encrypt smtp_tls_security_level = encrypt
本番メールサーバとは送受信に問題なさげ。
Gmailも同様。
でも、yahoo.co.jp に送ろうとしても、
Sep 16 04:04:53 localhost postfix/smtp[592]: 0710D3C06ED: to=<$MY_ID@yahoo.co.jp>, relay=mx5.mail.yahoo.co.jp[183.79.16.247]:25, delay=20, delays=0.3/0/19/0, dsn=4.7.4, status=deferred (TLS is required, but was not offered by host mx5.mail.yahoo.co.jp[183.79.16.247]
yahoo.co.jp から送ろうとしても、
Sep 16 04:06:36 localhost postfix/smtpd[614]: SSL_accept error from unknown[193.32.160.145]: Connection reset by peer Sep 16 04:06:36 localhost postfix/smtpd[614]: lost connection after STARTTLS from unknown[193.32.160.145] Sep 16 04:06:36 localhost postfix/smtpd[614]: disconnect from unknown[193.32.160.145] ehlo=1 starttls=0/1 commands=1/2
Sorry, we were unable to deliver your message to the following address. <$MY_ADDR@$MY_DOMAIN.NET>:kuzuore.net>: Remote host said: 530 5.7.0 Must issue a STARTTLS command first [MAIL_FROM]
仮サーバへは送れても、仮サーバからは送れないところもあったり。
リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。