I have per domain relay (relay_host, relay_user, relay_pass on mail domain page) This work perfectly for any outbound domain. Unfortunately for security reason my relay service does not allow to relay to the domain that is also the initiator. I've tried to exclude local domain (either tampering with de mysql-virtual_transports.cf to return ':' for local mail domain or implementing hash table to not available. I presume I'm not addressing the issue at the right place, can someone lead me to the proper setting to achieve that - exclude all local destination domain to use the relay. Thanks in advance
You posted here in the ISPConfig 2 forum. I doubt you are using ISPConfig 2 as this software was discontinued about 15 years ago in favor of ISPConfig 3, plus ISPConfig 2 has no mail relay options. I guess you are more likely using ISPConfig 3.
You posted in the wrong thread here. This is about ISPConfig, which uses postfix only, not Exim. Please make a new thread in the general server management forum: https://forum.howtoforge.com/forums/server-operation.5/