我正在尝试在 digitalocean VPS 中设置邮件服务器。问题是,尽管防火墙处于非活动状态并且 dovecot 正在侦听,但我无法 telnet 到 993。请告诉我我哪里做错了。我跟着这个 postfix, dovecot, mysql, spamassasin tutorial。
我的服务器操作系统:
lsb_release -a
Run Code Online (Sandbox Code Playgroud)
结果:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Run Code Online (Sandbox Code Playgroud)
我一直跟着教程直到这部分:telnet example.com 993结果:
telnet mysite.com 993
Trying 127.0.1.1...
Connected to mysite.com.
Escape character is '^]'.
Connection closed by foreign host.
Run Code Online (Sandbox Code Playgroud)
我检查了防火墙:sudo ufw status这导致:
Status: inactive
Run Code Online (Sandbox Code Playgroud)
以及 dovecot 是否处于活动状态:sudo netstat -plutn | grep 993
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 27460/dovecot …Run Code Online (Sandbox Code Playgroud)