Linux- GCP sendmail 587 timeout

匿 匿名 629 次瀏覽 0 個回答

根據 GCP 文件 https://cloud.google.com/compute/docs/tutorials/sending-mail

目前可以透過非 25 port 發信

因此在本機上裝了 sendmail 設定 relay 時使用 587 port

透過 netstat -plant 可以確定 sendmail 有用 587 port

但是 /var/log/mail.log 會看到以下錯誤

Feb 27 14:33:29 foobar sm-mta[3101]: 11111111111: to=<[email protected]>,
delay=00:02:37, xdelay=00:02:37, mailer=esmtp, pri=120337,
relay=alt4.gmail-smtp-in.l.google.com. [142.250.136.26], dsn=4.0.0,
stat=Deferred: Connection timed out with alt4.gmail-smtp-in.l.google.com.

但是在防火牆的紀錄裡面可以看到 ALLOWED 的紀錄

事實上,用 telnet alt4.gmail-smtp-in.l.google.com 587 也會 timed out

想問看看有人在 computer engine 上用本機 sendmail 成功發信嗎?

--

我要回答

0 個回答

還沒有人回答,你知道答案嗎?

我要回答

登入會員後即可回答問題。

免費註冊