VestaCP - exim отключаем локальную доставку писем
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Ошибка вида:
015-04-05 05:58:22 1YehJu-00071l-6n <= [email protected] U=user1P=local S=482 2015-04-05 05:58:22 1YehJu-00071l-6n ** [email protected]: Unrouteable address 2015-04-05 05:58:22 1YehJu-00071n-9c <= <> R=1YehJu-00071l-6n U=exim P=local S=1349 2015-04-05 05:58:22 1YehJu-00071l-6n Completed
Решение:
1) Настроить dns и resolv.conf:
/etc/resolv.conf nameserver 8.8.8.8
2) Настроить PTR -- IP<-->domain (тикет в саппорт)
3) Меняем конфиг exim.conf. Заменяем
dnslookup: driver = dnslookup domains = !+local_domains transport = remote_smtp no_more
на
dnslookup: driver = dnslookup domains = * transport = remote_smtp no_more
Рестартим Exim:
# /etc/init.d/exim restart Shutting down exim: [ OK ] Starting exim: [ OK ]
и тестируем:
# exim -d+all -bt [email protected]
Used Links: