How-to: Sending emails using IP address per domain in exim (Directadmin)
To be able to send mails via different IP per domain, You need to do the following changes in the /etc/exim.conf file:
Find the ‘remote_smtp:’ part, and add line
|
|
It should look something like:
|
|
File /etc/virtual/domainips syntax:
|
|
That’s it. Create the domainowners file, restart exim, and You are all set!
pssst… If You want to automagically generate domainips file by IP addresses that are assigned to users in DA - check out this POST.