ubuntu – 启用UFW会阻止我的电子邮件客户端运行(包括imap和smtp),即使它们被允许了吗?

前端之家收集整理的这篇文章主要介绍了ubuntu – 启用UFW会阻止我的电子邮件客户端运行(包括imap和smtp),即使它们被允许了吗?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在VPS上使用ubuntu 10.04.没有启用UFW everythign工作正常 – 使用端口143的imap.并使用smtp端口587发送电子邮件.

但是,当我打开UFW时会遇到很多问题.电子邮件失败,ssh log ins非常慢,dig命令不起作用 – 它超时.此外,Apt-get安装不起作用.

ufw status verbose返回:

Status: active
Logging: on (low)
Default: deny (incoming),allow (outgoing)
New profiles: skip

To                         Action      From
--                         ------      ----
Anywhere                   ALLOW IN    my.ip.address.0
Anywhere                   ALLOW IN    my.ip.address.0/24
80                         ALLOW IN    Anywhere
443                        ALLOW IN    Anywhere
25/tcp                     ALLOW IN    Anywhere
587                        ALLOW IN    Anywhere
143                        ALLOW IN    Anywhere
993                        ALLOW IN    Anywhere
465/tcp                    ALLOW IN    Anywhere
587/tcp                    ALLOW IN    Anywhere
143/tcp                    ALLOW IN    Anywhere
587/udp                    ALLOW IN    Anywhere
53/tcp                     ALLOW IN    Anywhere
53/udp                     ALLOW IN    Anywhere
68/udp                     ALLOW IN    Anywhere
67/udp                     ALLOW IN    Anywhere
53                         ALLOW IN    Anywhere
53                         ALLOW OUT   Anywhere
53/tcp                     ALLOW OUT   Anywhere
53/udp                     ALLOW OUT   Anywhere

在我的系统日志中,我得到以下内容(同样允许端口53):

Aug 25 13:55:31 VPS##-###-## postfix/smtpd[23611]: NOQUEUE: reject: RCPT from unknown[ip.address.here.0]: 450 4.1.8 <my@gmail.com>: Sender address rejected: Domain not found; from=<my@gmail.com> to=<my@server.com> proto=ESMTP helo=<mail-qy0-f179.google.com>

即使启用了ufw日志记录,/ var / log / messages似乎也不包含任何相关内容

您正在阻止DNS,这将破坏邮件的查找并解释SSH登录减速.

允许端口53 – TCP和UDP.

原文链接:https://www.f2er.com/ubuntu/347713.html

猜你在找的Ubuntu相关文章