我正在尝试将Sendmail配置为在ec2服务器上监听110 ec2。我需要它的通讯应用程序,以便它可以检查反弹。当我尝试在110端口上打电话时,我会得到一个连接错误。
root:/# telnet sub.domain.com 110
Trying 5?.??.?.?0...
telnet: Unable to connect to remote host: Connection refused
root:/# telnet sub.domain.com 25
Trying 5?.??.?.?0...
Connected to sub.domain.com.
Escape character is '^]'.
220 ip-172-31-54-114.ec2.internal ESMTP Sendmail 8.14.4/8.14.4/Debian-4.1ubuntu1; Wed, 30 Nov 2016 10:24:50 GMT; (No UCE/UBE) logging access from: [5?.??.?.?0](FORGED)-ec2-5?-??-?-?0.compute-1.amazonaws.com [5?.??.?.?0] (may be forged)
^]
telnet> quit
Connection closed.当我在端口25上lsof时,我可以看到它在工作,但在110上不能工作。
root:/# lsof -n -i :25
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sendmail- 4279 root 4u IPv4 2349285 0t0 TCP *:smtp (LISTEN)
root:/# lsof -n -i :110
root:/# 我是否需要编辑sendmail.mc文件,之前我注释掉了下面的行,以便smtp能够监听所有的I。
dnl DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, M=Ea, Addr=127.0.0.1')dnl 我在sendmail.cf & sendmail.mc中搜索了对pop3 3/port110配置的任何引用,但什么也看不见。
发布于 2016-11-30 15:09:57
Sendmail MTA的作用类似于SMTP服务器。您需要单独的程序/服务器来服务POP3协议,例如dovecot /POP服务器。
https://stackoverflow.com/questions/40886098
复制相似问题