Hello, I am trying to make exim select the sending IP, I have the following configuration in remote_smtp
interface = <; ${if exists{/etc/virtual/domainips}{${lookup{$sender_address_domain}lsearch*{/etc/virtual/domainips}}}{${perl{randinet}}}}}
I have in the domainips file a domain with a sending IP. What I want to do is that if it does not find the domain in that file, use the random ips sending file. Is this configuration correct? Would there be another way to do it? Thank you
interface = <; ${if exists{/etc/virtual/domainips}{${lookup{$sender_address_domain}lsearch*{/etc/virtual/domainips}}}{${perl{randinet}}}}}
I have in the domainips file a domain with a sending IP. What I want to do is that if it does not find the domain in that file, use the random ips sending file. Is this configuration correct? Would there be another way to do it? Thank you