Answer the question
In order to leave comments, you need to log in
How to change shipping route in exim?
My server is trying to send some system messages to [email protected] and I'm not happy with that. To make a redirect to [email protected], I edited it by /etc/aliases
adding a line there root: [email protected]
, then newaliases
.
And just in case, I wrote it in ~/.forward
-> [email protected]
, then rebooted exim invoke-rc.d exim4 restart
.
As a result, on one server I have what I wanted
[email protected]:~# exim -bt root
[email protected]
<-- [email protected]
router = dnslookup, transport = remote_smtp
host mx.yandex.ru [213.180.204.89] MX=10
host mx.yandex.ru [77.88.21.89] MX=10
host mx.yandex.ru [87.250.250.89] MX=10
host mx.yandex.ru [93.158.134.89] MX=10
host mx.yandex.ru [213.180.193.89] MX=10
[email protected]:~# exim -bt root
[email protected] is undeliverable: all relevant MX records point to non-existent hosts
Answer the question
In order to leave comments, you need to log in
The problem was in VestaCP. You need to add your hostname.com as a MAIL domain to the panel and then the address from ~/.forward is pulled up without any problems
Perhaps after fixing /etc/aliases you need to compile themsudo newaliases
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question