我的smtp被vps提供程序阻止了端口25?

我的smtp被vps提供程序阻止了端口25?,smtp,powermta,Smtp,Powermta,我最近使用Powermta设置smtp服务器。但有些人可以发送电子邮件,有些人不能。我听说一些VP会阻塞端口25,所以我使用netstar命令行进行检查 这是输出: [root@luck1 ~]# netstat -tuplen Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User

我最近使用
Powermta
设置smtp服务器。但有些人可以发送电子邮件,有些人不能。我听说一些VP会阻塞端口25,所以我使用netstar命令行进行检查

这是输出:

[root@luck1 ~]# netstat -tuplen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       User       Inode      PID/Program name   
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      0          8533       1640/exim           
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN      25         7781       1065/named          
tcp        0      0 192.99.142.254:8443         0.0.0.0:*                   LISTEN      0          8734       1718/httpd          
tcp        0      0 0.0.0.0:2525                0.0.0.0:*                   LISTEN      0          8536       1640/exim           
tcp        0      0 192.99.142.254:2526         0.0.0.0:*                   LISTEN      0          143636     30670/pmtad         
tcp        0      0 0.0.0.0:993                 0.0.0.0:*                   LISTEN      0          8373       1604/dovecot        
tcp        0      0 0.0.0.0:995                 0.0.0.0:*                   LISTEN      0          8369       1604/dovecot        
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      27         8315       1563/mysqld         
tcp        0      0 0.0.0.0:587                 0.0.0.0:*                   LISTEN      0          8535       1640/exim           
tcp        0      0 0.0.0.0:110                 0.0.0.0:*                   LISTEN      0          8368       1604/dovecot        
tcp        0      0 127.0.0.1:3310              0.0.0.0:*                   LISTEN      498        7993       1148/clamd          
tcp        0      0 127.0.0.1:783               0.0.0.0:*                   LISTEN      0          402068     25706/spamd.pid     
tcp        0      0 0.0.0.0:143                 0.0.0.0:*                   LISTEN      0          8372       1604/dovecot        
tcp        0      0 192.99.142.254:80           0.0.0.0:*                   LISTEN      0          8790       1733/nginx          
tcp        0      0 192.99.142.254:8080         0.0.0.0:*                   LISTEN      0          8731       1718/httpd          
tcp        0      0 127.0.0.1:8081              0.0.0.0:*                   LISTEN      0          8740       1718/httpd          
tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN      0          8534       1640/exim           
tcp        0      0 0.0.0.0:8083                0.0.0.0:*                   LISTEN      0          8836       1747/nginx          
tcp        0      0 127.0.0.1:8084              0.0.0.0:*                   LISTEN      0          8791       1733/nginx          
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      0          7942       1136/vsftpd         
tcp        0      0 192.99.142.254:53           0.0.0.0:*                   LISTEN      25         7778       1065/named          
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      25         7776       1065/named          
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      0          7913       1122/sshd           
tcp        0      0 ::1:953                     :::*                        LISTEN      25         7782       1065/named          
tcp        0      0 :::3187                     :::*                        LISTEN      0          143771     30739/pmtahttpd     
tcp        0      0 :::22                       :::*                        LISTEN      0          7915       1122/sshd           
udp        0      0 192.99.142.254:53           0.0.0.0:*                               25         7777       1065/named          
udp        0      0 127.0.0.1:53                0.0.0.0:*                               25         7775       1065/named          
udp        0      0 :::55123                    :::*                                    0          143686     30670/pmtad         
[root@luck1 ~]# netstat -tuplen | grep 25
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      0          8533       1640/exim           
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN      25         7781       1065/named          
tcp        0      0 192.99.142.254:8443         0.0.0.0:*                   LISTEN      0          8734       1718/httpd          
tcp        0      0 0.0.0.0:2525                0.0.0.0:*                   LISTEN      0          8536       1640/exim           
tcp        0      0 192.99.142.254:2526         0.0.0.0:*                   LISTEN      0          143636     30670/pmtad         
tcp        0      0 127.0.0.1:783               0.0.0.0:*                   LISTEN      0          402068     25706/spamd.pid     
tcp        0      0 192.99.142.254:80           0.0.0.0:*                   LISTEN      0          8790       1733/nginx          
tcp        0      0 192.99.142.254:8080         0.0.0.0:*                   LISTEN      0          8731       1718/httpd          
tcp        0      0 192.99.142.254:53           0.0.0.0:*                   LISTEN      25         7778       1065/named          
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      25         7776       1065/named          
tcp        0      0 ::1:953                     :::*                        LISTEN      25         7782       1065/named          
udp        0      0 192.99.142.254:53           0.0.0.0:*                               25         7777       1065/named          
udp        0      0 127.0.0.1:53                0.0.0.0:*                               25         7775       1065/named          

是的,提供商可以阻止服务器的端口25,您只需让他们打开它 如果没有,您可以检查您的配置 在netstat输出中,我可以看到powerpmta{pmtad}正在端口2526上运行 exim正在保留端口25,请尝试停止exim并将pmta配置为侦听端口25 然后重新启动,然后再次尝试发送邮件