Plesk,未收到收到的电子邮件

Plesk, incoming email not received

这是场景, 我在 public IP 上有 plesk 服务器 运行。 我有一个指向该 IP 的域。 screenshot

我用 mxtoolbox.com 告诉我,我的 mail.domain 指向我的 plesk 服务器的 IP。

问题是我无法在 roundcube 邮件客户端中接收邮件。 相反,在 1 天后我收到了来自 'mailer-daemon@googlemail.com' 的邮件 screenshot2

所有邮件传输协议端口都关闭,所以无法接收邮件:

# nmap -p 25,465,587 xx.xx.xxx.xx

Starting Nmap 6.47 ( http://nmap.org ) at 2018-08-20 21:39 +07
Nmap scan report for ec2-xx-xx-xxx-xx.compute-1.amazonaws.com (xx.xx.xxx.xx)
Host is up (0.17s latency).
PORT    STATE    SERVICE
25/tcp  filtered smtp
465/tcp filtered smtps
587/tcp filtered submission

Nmap done: 1 IP address (1 host up) scanned in 3.01 seconds

您需要在防火墙上允许传入连接。 也看看这篇文章 - Which Ports Need To Be Opened for all Plesk Services to Work with a Firewall?

还有这个 - Amazon EC2 Security Groups for Linux Instances