大网数据广告活动
服务器运维问答

Having port 25 closed triggers error on MXtoolbox. Do I need Port 25 open for mail server to function correctly and consistently?

· 52CE 我爱测

Environment: CentOS, Postfix, Dovecot, Digital Ocean Droplet Background: The mail server I just installed appears to send and receive normally. I tested my website on MXtoolbox and received 1 error that was related to SMTP. It wa…

问题原文

原帖链接 · myNewAccount · CC BY-SA 4.0

Environment: CentOS, Postfix, Dovecot, Digital Ocean Droplet

Background: The mail server I just installed appears to send and receive normally. I tested my website on MXtoolbox and received 1 error that was related to SMTP. It was the only error that I received.

Unable to Connect to SMTP Host

Description: We attempted a connection to your mail server on port 25 but your server did not respond. More than likely there is no email server at this address or you have a misconfigured firewall or spam filtering system.

Question: Firewalld is blocking port 25. The only ports I have open are, 80/tcp 443/tcp 587/tcp 993/tcp. Do I need port 25 to be open for the mail server to function correctly and consistently or is this error unimportant?

已采纳解答

原帖链接 · davidgo · CC BY-SA 4.0

If you want to be able to receive mail from other mail servers (as distinct from end users/MUA's) yes, port 25 needs to be open and listening all the time, and available to accept connection from anywhere.

(If you are doing this other then experimentally, please consider having someone come alongside you - you are likely missing a lot of nuance around mail delivery)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-05-12)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。