To prevent outgoing email spoofing/spam, I want to have exim check that the from email address sent from server matches one of the sites/domains hosted on the server.
I can see that local_domains = /etc/virtual/domains but some of the sites do not host their mail on the server. So, their domains are excluded in that file. But these sites have contact forms/etc on their websites which needs to send mail.
In cpanel, there is a list of domains that do not host mails on the server and are saved to /etc/remotedomains with the local ones saved to /etc/localdomains
Is there such a file in DA that contains a list of domains that are hosted on the server but their mails are hosted elsewhere?
I can see that local_domains = /etc/virtual/domains but some of the sites do not host their mail on the server. So, their domains are excluded in that file. But these sites have contact forms/etc on their websites which needs to send mail.
In cpanel, there is a list of domains that do not host mails on the server and are saved to /etc/remotedomains with the local ones saved to /etc/localdomains
Is there such a file in DA that contains a list of domains that are hosted on the server but their mails are hosted elsewhere?