AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1046279
Accepted
mbakabilal
mbakabilal
Asked: 2020-12-16 06:42:14 +0800 CST2020-12-16 06:42:14 +0800 CST 2020-12-16 06:42:14 +0800 CST

Postfix 无法向 Gmail 发送邮件

  • 772

我正在学习如何托管 postfix 服务器(初学者),我已经能够接收来自 gmail 的电子邮件,但我正在尝试发送到 Gmail,这是我的“tail /var/log/mail.log”

Dec 15 14:24:49 thepocketmerlin postfix/smtp[25424]: connect to gmail-smtp-in.l.google.com[172.253.112.27]:25: Connection timed out
Dec 15 14:24:49 thepocketmerlin postfix/smtp[25424]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4024:c00::1a]:25: Network is unreachable
Dec 15 14:24:49 thepocketmerlin postfix/smtp[25424]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:4002:c08::1a]:25: Network is unreachable
Dec 15 14:25:19 thepocketmerlin postfix/smtp[25424]: connect to alt1.gmail-smtp-in.l.google.com[64.233.177.26]:25: Connection timed out
Dec 15 14:25:49 thepocketmerlin postfix/smtp[25424]: connect to alt2.gmail-smtp-in.l.google.com[173.194.68.27]:25: Connection timed out
Dec 15 14:25:49 thepocketmerlin postfix/smtp[25424]: 528BB3F132: to=<[email protected]>, relay=none, delay=90, delays=0.03/0.01/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp in.l.google.com[173.194.68.27]:25: Connection timed out)

邮件q(结果)

528BB3F132      372 Tue Dec 15 14:24:19  [email protected]
(connect to alt2.gmail-smtp-in.l.google.com[173.194.68.27]:25: Connection timed out)
                                         [email protected]

有任何想法吗?。

ubuntu postfix gmail
  • 1 1 个回答
  • 1268 Views

1 个回答

  • Voted
  1. Best Answer
    Esa Jokinen
    2020-12-16T09:29:06+08:002020-12-16T09:29:06+08:00

    在评论中你说它是一个 AWS EC2 实例。AWS 默认限制出站 SMTP。您实例上的内部防火墙规则对此无济于事,但您必须请求删除。

    如何从我的 EC2 实例中移除对端口 25 的限制?

    解析度

    默认情况下,Amazon EC2 会限制所有 EC2 实例的端口 25 上的出站流量。您可以请求取消此限制。

    1. 使用您的 AWS 账户登录,然后打开请求删除电子邮件发送限制表单。

    你还需要...

    从您的 EC2 实例发送电子邮件的清晰详细的用例。

    学习如何托管邮件服务器对他们来说不一定是一个足够好的理由。正确保护邮件服务器,以免您最终被用作垃圾邮件的中继站是一项艰巨的任务。

    • 3

相关问题

  • 无法通过 Ubuntu VPN 访问外部网络

  • ubuntu apt-get upgrade - 如何在 shell 中单击确定?

  • VirtualBox 上 Ubuntu 的访客优化技巧 [关闭]

  • 外部硬盘上的 virtualbox 虚拟硬盘驱动器(Vista 主机上的 ubuntu 客户机)

  • 如何在 Ubuntu 上挂载 LVM 分区?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve