Exim setup for non local domain
I'm running a VPS withWHM 9.9.9 cPanel 9.9.9-S15
RedHat 9 i686 - WHM X v3.1.0
Exim 4
I have eGroupWare installed & need it to send emails (for calendar appointments) with a sender domain other than one of the domains located on the server.
As it stands at the moment exim rejects the mail because the 'sent from' domain isn't in the local_domain setting in exim.conf (or I think that's why it doesn't work anyway).
In exim.conf I have the line:
domainlist local_domains = lsearch;/etc/localdomains
I guess I could just add the required domain to /etc/localdomains but I'm not sure that's the best, or correct way to do it or whether that would cause any other problems.
Any advice on the correct, best, easiest way of adding this external domain with permission to transport mail through Exim?
Many thanks.