我在VPS上使用ubuntu 10.04.没有启用UFW everythign工作正常 – 使用端口143的imap.并使用smtp端口587发送电子邮件.
原文链接:https://www.f2er.com/ubuntu/347713.html但是,当我打开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似乎也不包含任何相关内容