/etc/virtual/domains question

drukpa

Verified User
Joined
Aug 30, 2019
Messages
20
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?
 
Hello,

The file /etc/virtual/domainowners contains a full list of all hosted domains with their owners. You might use the file for your goals.
 
Back
Top