Почтовый сервер exim4 , не принимает письма
Форум — General
Здравствуйте. Уже третий день мучаюсь, не могу решить проблему с smtp. Он отсылает письма, но принимать не может.
2014-05-14 22:16:55 exim 4.76 daemon started: pid=12754, -q30m, listening for SMTP on port 25 (IPv6 and IPv4) port 587 (IPv6 and IPv4) and for SMTPS on port 465 (IPv6 and IPv4)
2014-05-14 22:16:55 Start queue run: pid=12755
2014-05-14 22:16:55 1WkdTF-0003Aj-PM == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1WkdJZ-00039n-GV == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1WkcNV-0002rN-4i == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1Wkcgr-00030W-EU == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1Wkc49-0002C2-Lm == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1WkcDp-0002WL-7F == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1Wkdcv-0003DK-Um == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1Wkd0D-00033D-O6 == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1WkbuT-00025b-70 == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1Wkd9t-00034F-8r == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1WkcqX-00032S-Kl == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1WkcXB-0002sq-90 == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1WkcYl-0002tH-19 == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 1Wkbkn-000234-NI == root@rsq-investment.com routing defer (-51): retry time not reached
2014-05-14 22:16:55 End queue run: pid=12755
2014-05-14 22:17:13 H=mail-lb0-f178.google.com [209.85.217.178] F=<uzbposrednik@gmail.com> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:17:48 H=mail-lb0-f172.google.com [209.85.217.172] F=<uzbposrednik@gmail.com> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:18:14 H=f319.i.mail.ru [128.140.169.183] F=<yukonfive@bk.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:18:55 H=fallback1.mail.ru [94.100.176.18] F=<yukonfive@bk.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:19:15 H=fallback1.mail.ru [94.100.176.18] F=<yukonfive@bk.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:20:02 1Wkdmc-0003Kx-1f <= www-data@rsq-investment.com U=www-data P=local S=745 from <www-data@rsq-investment.com> for root
2014-05-14 22:20:22 1Wkdmc-0003Kx-1f == root@rsq-investment.com R=dnslookup defer (-1): host lookup did not complete
2014-05-14 22:20:47 H=fallback1.mail.ru [94.100.176.18] F=<yukonfive@bk.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:21:07 H=fallback1.mail.ru [94.100.176.18] F=<yukonfive@bk.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:24:24 1Wkdqq-0003Le-DH <= support@rsq-investment.com H=localhost ([185.31.160.42]) [127.0.0.1] P=esmtpa A=login:support@rsq-investment.com S=769 id=c94999b797e06b5b90467f6f101231a4.squirrel@185.31.160.42 from <support@rsq-investment.com> for support@rsq-investment.com
2014-05-14 22:24:44 1Wkdqq-0003Le-DH == support@rsq-investment.com R=dnslookup defer (-1): host lookup did not complete
2014-05-14 22:24:44 H=fallback1.mail.ru [94.100.176.18] F=<yukonfive@bk.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:24:59 H=forward2h.mail.yandex.net [84.201.187.147] F=<gameserveruz@yandex.com> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:25:04 H=fallback1.mail.ru [94.100.176.18] F=<yukonfive@bk.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:25:19 H=forward2h.mail.yandex.net [84.201.187.147] F=<gameserveruz@yandex.com> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:30:01 1WkdwH-0003Nk-5j <= www-data@rsq-investment.com U=www-data P=local S=745 from <www-data@rsq-investment.com> for root
2014-05-14 22:30:19 H=mail-la0-f48.google.com [209.85.215.48] F=<uzbposrednik@gmail.com> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-14 22:30:19 1WkdwH-0003Nk-5j == root@rsq-investment.com R=dnslookup defer (-1): host lookup did not complete
Проверил командой exim -Mvb письмо 1Wkdqq-0003Le-DH
Результат:
root@rsq-investment:~# exim -Mvh 1Wkdqq-0003Le-DH
1Wkdqq-0003Le-DH-H
Debian-exim 108 113
<support@rsq-investment.com>
1400091864 0
-helo_name [185.31.160.42]
-host_address 127.0.0.1.59472
-host_name localhost
-host_auth login
-interface_address 127.0.0.1.25
-received_protocol esmtpa
-aclm 6 11
whitelisted
-body_linecount 2
-max_received_linelength 69
-auth_id support@rsq-investment.com
XX
1
support@rsq-investment.com
239P Received: from localhost ([127.0.0.1] helo=[185.31.160.42])
by rsq-investment.com with esmtpa (Exim 4.76)
(envelope-from <support@rsq-investment.com>)
id 1Wkdqq-0003Le-DH
for support@rsq-investment.com; Wed, 14 May 2014 22:24:24 +0400
174P Received: from 213.230.76.45
(SquirrelMail authenticated user support@rsq-investment.com)
by 185.31.160.42 with HTTP;
Wed, 14 May 2014 22:24:24 +0400
070I Message-ID: <c94999b797e06b5b90467f6f101231a4.squirrel@185.31.160.42>
038 Date: Wed, 14 May 2014 22:24:24 +0400
014 Subject: test
033F From: support@rsq-investment.com
031T To: support@rsq-investment.com
032 User-Agent: SquirrelMail/1.4.22
018 MIME-Version: 1.0
039 Content-Type: text/plain;charset=utf-8
032 Content-Transfer-Encoding: 8bit
023 X-Priority: 3 (Normal)
019 Importance: Normal
exim -Mvb 1WkgHR-0000l7-K1 , тело письма:
1WkgHR-0000l7-K1-D
/usr/share/awstats/tools/update.sh: 22: cd: can't cd to /etc/awstats
Лог когда отправляю почту с сервера:
2014-05-15 07:30:01 1WkmMr-00022L-La <= www-data@rsq-investment.com U=www-data P=local S=745 from <www-data@rsq-investment.com> for root
2014-05-15 07:30:06 1WkmMv-00022U-Vj <= support@rsq-investment.com H=localhost ([185.31.160.42]) [127.0.0.1] P=esmtpa A=login:support@rsq-investment.com S=773 id=0028e9e9ee9bdf39f7e03124e292379e.squirrel@185.31.160.42 from <support@rsq-investment.com> for uzbposrednik@gmail.com
2014-05-15 07:30:06 1WkmMv-00022U-Vj gmail-smtp-in.l.google.com [2a00:1450:4010:c03::1b] Network is unreachable
2014-05-15 07:30:06 1WkmMv-00022U-Vj => uzbposrednik@gmail.com R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [173.194.71.26] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com" C="250 2.0.0 OK 1400124606 k3si1290450lbv.59 - gsmtp"
2014-05-15 07:30:06 1WkmMv-00022U-Vj Completed
2014-05-15 07:30:21 1WkmMr-00022L-La == root@rsq-investment.com R=dnslookup defer (-1): host lookup did not complete
2014-05-15 07:32:42 H=fallback1.mail.ru [94.100.176.18] F=<bestworld.uz@inbox.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
2014-05-15 07:33:02 H=fallback1.mail.ru [94.100.176.18] F=<bestworld.uz@inbox.ru> temporarily rejected RCPT <support@rsq-investment.com>: host lookup did not complete
Проверка dns адресов и команду lsof -ni :53
root@rsq-investment:~# lsof -ni :53
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
named 778 bind 20u IPv6 7927 0t0 TCP *:domain (LISTEN)
named 778 bind 21u IPv4 7932 0t0 TCP 127.0.0.1:domain (LISTEN)
named 778 bind 22u IPv4 7934 0t0 TCP 185.31.160.42:domain (LISTEN)
named 778 bind 512u IPv6 7926 0t0 UDP *:domain
named 778 bind 513u IPv4 7931 0t0 UDP 127.0.0.1:domain
named 778 bind 514u IPv4 7933 0t0 UDP 185.31.160.42:domain
root@rsq-investment:~# dig @localhost rsq-investment.com
; <<>> DiG 9.8.1-P1 <<>> @localhost rsq-investment.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23574
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;rsq-investment.com. IN A
;; ANSWER SECTION:
rsq-investment.com. 3600 IN A 185.31.160.42
;; AUTHORITY SECTION:
rsq-investment.com. 3600 IN NS ns1.rsq-investment.com.
rsq-investment.com. 3600 IN NS ns2.rsq-investment.com.
;; ADDITIONAL SECTION:
ns1.rsq-investment.com. 3600 IN A 185.31.160.42
ns2.rsq-investment.com. 3600 IN A 185.31.160.43
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 15 07:28:23 2014
;; MSG SIZE rcvd: 120