Показано с 1 по 3 из 3

Тема: Не приходят письма

  1. #1
    Junior Member
    Регистрация
    21.02.2018
    Сообщений
    4

    По умолчанию Не приходят письма

    Из панели все прекрасно отправляется на разные почтовые сервисы. Но почему-то письма в обратку не приходят. В логе Dovecot тоже ничего интересного.

    Код:
    Apr 11 09:33:38 webserver dovecot: imap-login: Login: user=<robot@mydomain.ru>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=54531, secured, session=<NYQq+4tpaAB/AAAB>
    Apr 11 09:33:38 webserver dovecot: imap(robot@mydomain.ru): Disconnected: Logged out in=273 out=1243
    Apr 11 09:33:40 webserver dovecot: imap-login: Login: user=<robot@mydomain.ru>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=54537, secured, session=<uBE++4tpbAB/AAAB>
    Apr 11 09:33:40 webserver dovecot: imap(robot@mydomain.ru): Disconnected: Logged out in=50 out=475
    Вот что пишет yandex.ru
    Код:
    This message was created automatically by mail delivery software.
    
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
    
      robot@mydomain.ru
        all hosts for 'mydomain.ru' have been failing for a long time (and retry time not reached)
    
    Статус доставки:
    
    Reporting-MTA: dns; webserver.mydomain.ru
    
    Action: failed
    Final-Recipient: rfc822;robot@mydomain.ru
    Status: 5.0.0
    Проверка DNS и т.д.

    Код:
    root@centos-web:~# dig webserver.mydomain.ru
    
    ; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> webserver.mydomain.ru
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5286
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 19
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;webserver.mydomain.ru.                IN      A
    
    ;; ANSWER SECTION:
    webserver.mydomain.ru. 86400   IN      A       81.2*.**.***
    
    ;; AUTHORITY SECTION:
    mydomain.ru.           176819  IN      NS      ns1.reg.ru.
    mydomain.ru.           176819  IN      NS      ns2.reg.ru.
    
    ;; ADDITIONAL SECTION:
    ns1.reg.ru.             988     IN      A       176.99.13.17
    ns1.reg.ru.             988     IN      A       194.58.117.11
    ns1.reg.ru.             988     IN      A       194.58.117.13
    ns1.reg.ru.             988     IN      A       194.58.117.15
    ns1.reg.ru.             988     IN      A       194.58.117.17
    ns1.reg.ru.             988     IN      A       176.99.13.11
    ns1.reg.ru.             988     IN      A       176.99.13.13
    ns1.reg.ru.             988     IN      A       176.99.13.15
    ns1.reg.ru.             8436    IN      AAAA    2a00:f940:4::47
    ns2.reg.ru.             6646    IN      A       176.99.13.14
    ns2.reg.ru.             6646    IN      A       176.99.13.16
    ns2.reg.ru.             6646    IN      A       176.99.13.18
    ns2.reg.ru.             6646    IN      A       194.58.117.12
    ns2.reg.ru.             6646    IN      A       194.58.117.14
    ns2.reg.ru.             6646    IN      A       194.58.117.16
    ns2.reg.ru.             6646    IN      A       194.58.117.18
    ns2.reg.ru.             6646    IN      A       176.99.13.12
    ns2.reg.ru.             7862    IN      AAAA    2a00:f940:5::190
    
    ;; Query time: 23 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Wed Apr 11 09:46:28 +04 2018
    ;; MSG SIZE  rcvd: 419
    
    root@centos-web:~# ping webserver.mydomain.ru
    PING webserver.mydomain.ru (81.2*.**.***) 56(84) bytes of data.
    64 bytes from 81.2*.**.*** (81.2*.**.***): icmp_seq=1 ttl=61 time=1.64 ms
    64 bytes from 81.2*.**.*** (81.2*.**.***): icmp_seq=2 ttl=61 time=1.47 ms
    64 bytes from 81.2*.**.*** (81.2*.**.***): icmp_seq=3 ttl=61 time=1.48 ms
    64 bytes from 81.2*.**.*** (81.2*.**.***): icmp_seq=4 ttl=61 time=1.51 ms
    64 bytes from 81.2*.**.*** (81.2*.**.***): icmp_seq=5 ttl=61 time=1.46 ms
    ^C
    --- webserver.mydomain.ru ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4006ms
    rtt min/avg/max/mdev = 1.462/1.516/1.641/0.065 ms
    root@centos-web:~# host webserver.mydomain.ru
    webserver.mydomain.ru has address 81.2*.**.***
    root@centos-web:~# nslookup webserver.mydomain.ru
    Server:         192.168.1.1
    Address:        192.168.1.1#53
    
    Non-authoritative answer:
    Name:   webserver.mydomain.ru
    Address: 81.2*.**.***
    Может кто подскажет, как задобрить этого зверя ) ?

  2. #2
    Support team Аватар для Dasha
    Регистрация
    03.11.2011
    Сообщений
    4,499

    По умолчанию

    Здравствуйте. Похоже, что на самом вашем сервере ДНС нормально не отрабатывает. Проверьте содержимое resolv.conf, пропишите туда гугловские резолверы.

  3. #3
    Junior Member
    Регистрация
    21.02.2018
    Сообщений
    4

    По умолчанию

    Цитата Сообщение от Dasha Посмотреть сообщение
    Здравствуйте. Похоже, что на самом вашем сервере ДНС нормально не отрабатывает. Проверьте содержимое resolv.conf, пропишите туда гугловские резолверы.
    С DNS вроде как все в порядке. Все резолвится.
    Тут глянул логи PHP и обнаружил что сам почтовый клиент ругается:

    Код:
    [Thu Apr 12 09:00:28.892568 2018] [:error] [pid 2572] [client 192.168.0.63:1854] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/.htaccess) is not w                                                              ithin the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share/pear                                                              :/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0
    [Thu Apr 12 09:00:28.892649 2018] [:error] [pid 2572] [client 192.168.0.63:1854] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/mgr5/.htaccess) is                                                               not within the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share                                                              /pear:/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0
    [Thu Apr 12 09:00:28.892734 2018] [:error] [pid 2572] [client 192.168.0.63:1854] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/mgr5/www/.htaccess)                                                               is not within the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/s                                                              hare/pear:/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0
    [Thu Apr 12 09:00:28.892827 2018] [:error] [pid 2572] [client 192.168.0.63:1854] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/mgr5/www/webmail-af                                                              terlogic/.htaccess) is not within the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/shar                                                              e/pear:/opt/php54/share/pear:/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0
    [Thu Apr 12 09:00:33.768301 2018] [:error] [pid 2883] [client 192.168.0.63:1858] PHP Warning:  Unknown: open_basedir restriction in effect. File(/.htaccess) is not within the                                                               allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share/pear:/opt/php5                                                              5/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    [Thu Apr 12 09:00:33.768415 2018] [:error] [pid 2883] [client 192.168.0.63:1858] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/.htaccess) is not within                                                               the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share/pear:/opt/                                                              php55/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    [Thu Apr 12 09:00:33.768489 2018] [:error] [pid 2883] [client 192.168.0.63:1858] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/.htaccess) is not w                                                              ithin the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share/pear                                                              :/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    [Thu Apr 12 09:00:33.768564 2018] [:error] [pid 2883] [client 192.168.0.63:1858] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/mgr5/.htaccess) is                                                               not within the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share                                                              /pear:/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    [Thu Apr 12 09:00:33.768655 2018] [:error] [pid 2883] [client 192.168.0.63:1858] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/mgr5/www/.htaccess)                                                               is not within the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/s                                                              hare/pear:/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    [Thu Apr 12 09:00:33.768738 2018] [:error] [pid 2883] [client 192.168.0.63:1858] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/mgr5/www/webmail-af                                                              terlogic/.htaccess) is not within the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/shar                                                              e/pear:/opt/php54/share/pear:/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    [Thu Apr 12 09:00:43.707654 2018] [:error] [pid 2956] [client 192.168.0.63:1865] PHP Warning:  Unknown: open_basedir restriction in effect. File(/.htaccess) is not within the                                                               allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share/pear:/opt/php5                                                              5/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    [Thu Apr 12 09:00:43.707793 2018] [:error] [pid 2956] [client 192.168.0.63:1865] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/.htaccess) is not within                                                               the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share/pear:/opt/                                                              php55/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    [Thu Apr 12 09:00:43.707882 2018] [:error] [pid 2956] [client 192.168.0.63:1865] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/local/.htaccess) is not w                                                              ithin the allowed path(s): (/usr/local/mgr5/www/webmail-afterlogic/webmail:/tmp:/var/lib/php/session:/usr/share/pear:/usr/share/php:/opt/php53/share/pear:/opt/php54/share/pear                                                              :/opt/php55/share/pear:/opt/php56/share/pear) in Unknown on line 0, referer: http://192.168.0.60/afterlogic/
    PHP устанавливалась через панель. Может подскажите куда глянуть?

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •