Page 1 of 1

How to approve email relay

Posted: Wed Nov 30, 2022 3:18 pm
by isscbta
In a scenario when you need to allow another server to send emails as a domain that is hosted on your myVesta server, in your SSH, as root, run:

Code: Select all

mcedit /etc/exim4/exim4.conf.template
Edit this line into this:

Code: Select all

hostlist relay_from_hosts = 127.0.0.1 : 123.123.123.123
Instead of this IP - 123.123.123.123, insert the IP of another server

In the end, run:

Code: Select all

systemctl restart exim4