将 postfix 设置为使用 Google Apps SMTP 中继的 SMTP 中继的步骤是什么。网上有很多教程解释了如何将smtp.gmail.com
网关与 SASL 身份验证一起使用,但我找不到此处smtp-relay.google.com
描述的 Google Apps 中继的工作配置,尤其是特定于 Google Compute 的配置。
我已经按照此处所述使用“仅我的域中的地址”设置了 smtp 中继服务,并验证了 IP 实际上是我连接的 IP。
我知道,谷歌计算不允许端口25的输出端口的描述在这里。
我正在使用 debian linux 或 debian 衍生产品。
我已经按照文档中的详细说明设置了 postfix,但我在 mail.log 中得到的只是:
postfix/smtp[720]: send attr reason = host smtp-relay.gmail.com[66.102.1.28] said:
550-5.7.1 Invalid credentials for relay [104.155.78.1]. The IP address you've
550-5.7.1 registered in Google Apps SMTP Relay service doesn't match domain of
550-5.7.1 the accountthis email …
Run Code Online (Sandbox Code Playgroud)