Настроил сервер, перенес сайты, все кроме отправки почты работает, проблема вот в чем:
Код: Выделить всё
[root@vps-7443 ~]# telnet smtp.mail.ru 25
Trying 2a00:1148:1:1322::a1...
telnet: connect to address 2a00:1148:1:1322::a1: Connection refused
Trying 94.100.177.1...
telnet: connect to address 94.100.177.1: Connection refused
Такая вот ошибка если скрипт сайта пытается отправить почту:
Код: Выделить всё
013-09-05 19:13:52 1VHWlB-0000mR-DG == mail@mail.ru R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
Код: Выделить всё
2013-09-05 19:18:20 1VHbK7-0000Sy-Eq mx2.me.com.akadns.net [17.172.34.12] Connection refused
2013-09-05 19:18:20 1VHbK7-0000Sy-Eq mx2.me.com.akadns.net [17.172.34.11] Connection refused
2013-09-05 19:18:20 1VHbK7-0000Sy-Eq mx1.me.com.akadns.net [17.172.34.9] Connection refused
2013-09-05 19:18:20 1VHbK7-0000Sy-Eq mx1.me.com.akadns.net [17.172.34.10] Connection refused
2013-09-05 19:18:20 1VHbK7-0000Sy-Eq mx3.me.com.akadns.net [17.172.34.64] Connection refused
2013-09-05 19:18:20 1VHbK7-0000Sy-Eq == mail@me.com R=dnslookup T=remote_smtp defer (111): Connection refused
Код: Выделить всё
[root@vps-7443 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:00:1D:13
inet addr:185.25.116.72 Bcast:185.25.119.255 Mask:255.255.252.0
inet6 addr: 2a00:7a60:0:7448::2/64 Scope:Global
inet6 addr: fe80::216:3eff:fe00:1d13/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:174540 errors:0 dropped:0 overruns:0 frame:0
TX packets:87094 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14961674 (14.2 MiB) TX bytes:248545285 (237.0 MiB)
Interrupt:165
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:131037 errors:0 dropped:0 overruns:0 frame:0
TX packets:131037 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85431373 (81.4 MiB) TX bytes:85431373 (81.4 MiB)
Код: Выделить всё
[root@vps-7443 ~]# cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
Код: Выделить всё
[root@vps-7443 ~]# nslookup -type=any point.local
;; Truncated, retrying in TCP mode.
Server: 8.8.8.8
Address: 8.8.8.8#53
** server can't find point.local: NXDOMAIN
Код: Выделить всё
[root@vps-7443 ~]# service named status
named: unrecognized service
Код: Выделить всё
[root@vps-7443 ~]# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK Dovecot DA ready.
Код: Выделить всё
[root@vps-7443 ~]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 vps-7443.vps-ukraine.com.ua ESMTP Exim 4.72 Fri, 06 Sep 2013 10:37:26 +0400
Код: Выделить всё
[root@vps-7443 ~]# iptables -n -L -v
Chain INPUT (policy ACCEPT 305K packets, 101M bytes)
pkts bytes target prot opt in out source destination
305K 101M ISPMGR all -- * * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 217K packets, 333M bytes)
pkts bytes target prot opt in out source destination
217K 333M ISPMGR all -- * * 0.0.0.0/0 0.0.0.0/0
Chain ISPMGR (2 references)
pkts bytes target prot opt in out source destination
Код: Выделить всё
[root@vps-7443 ~]# hostname -f
localhost
Код: Выделить всё
[root@vps-7443 ~]# telnet pop3.mail.ru 110
Trying 94.100.180.74...
Connected to pop3.mail.ru.
Escape character is '^]'.
+OK
Код: Выделить всё
[root@vps-7443 ~]# telnet smtp.mail.ru 25
Trying 2a00:1148:1:1322::a1...
telnet: connect to address 2a00:1148:1:1322::a1: Connection refused
Trying 94.100.177.1...
telnet: connect to address 94.100.177.1: Connection refused
Поддержка говорит у сервера 25 порт открыт и проблем они не видят, просят посмотреть firewall, а у меня там всего несколько строчек прописано:
Код: Выделить всё
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT