I have a problem with outgoing SMTP mail being sent with the wrong IP address.
I use exim for outgoing mail. I found a guide "How to manually configure Exim's outgoing IP addresses", which suggests modifying /etc/mailips
. This file looks like exactly what I'm looking for.
Unfortunately the file doesn't exist on my server. On closer examination, I believe that file is not part of normal exim configuration but is created by a certain proprietary control panel package to ease configuring exim. I can't find any direct equivalent in exim.
How can I configure the IP address for outgoing mail for each domain in exim?