How to approve email relay

Post Reply
User avatar
isscbta
Posts: 67
Joined: Mon Jul 19, 2021 1:41 am

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

Tags:
Post Reply