How to configure postfix to send email via Gmail

本文介绍了如何通过Gmail中继发送邮件,解决邮件服务器信任问题和ISP限制。详细步骤包括在Gmail设置、安装配置Postfix,以及发送测试邮件。
摘要由CSDN通过智能技术生成

此博文为copy版本,可能不及时更新,要想查看最新版本,请访问:

https://it.smallstrong.org/2019/05/how-to-configure-postfix-to-relay-email.html?view=classic

1. Why relay via Gmail?

Today it's very hard to set up an email server which can be trusted by other email servers. So even if you can configure a postfix server in a couple of minutes, you cannot send email successfully to other email servers because they don't trust you and deny emails sending from your own postfix server.

 

Another issue is most ISPs forbid TCP port 25 so your email server cannot send SMTP with port 25. Fortunately, 587 port which is used by Gmail is allowed.

 

Email relay is not a new tech but it works for the above situation. And Gmail server supports it for free! Almost all other email servers trust the Gmail ser

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值