2016-11-30 70 views
0

我試圖配置Sendmail在EC2服務器上的110 POP3上收聽。我需要它的通訊應用程序,以便它可以檢查反彈。當我嘗試在端口110上telnet時,出現連接錯誤。如何讓Sendmail在110 POP3上收聽

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. 

當我lsof端口25上,我可以看到它的工作,但不是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可以收聽所有IP。

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/port110配置任何引用,但看不到任何東西。

回答