There is a server on it connected to several interfaces with addresses 192.168.xx (each has an external white ip)
There is a control panel, several domains have been added to it.
How to set up sending mail from domains:
domain1 – ip1 //eth0 domain2 – ip2 //eth1 ip addresses have the form 192.168.xx and white external ip address. Sending mail goes if all outgoing traffic is sent through a specific interface (ip route replace default via ...), but if you specify (in the control panel) a domain address, I constantly see: "Network is unrecheable ..."
What could be the error? If you specify in the control panel or in domainips ( etc/exim4/domainips ), then again the error Network is unrecheable ...
ip a; ip rcommandip a; ip rip a; ip r. if you want to save the anonymity, you can replace the senior octet with letters from external addresses (different values of octets are different letters). decipher what exactly you mean byip1andip2, and into which ip-addresses the names of mx-records fordomain1anddomain2. the output of thegrep -r domainips /etc/exim*also does not hurt. - aleksandr barakin