Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
How to choose the outgoing IPs for an E-Mail
 

Index | Next | Previous | View Flat


lucabert at lucabert

Apr 18, 2012, 11:53 AM


Views: 959
Permalink
How to choose the outgoing IPs for an E-Mail

Hi, List!

I'd like to have a file such this:

lucabert.de: ips=<; 84.200.210.163 ; 2001:1608:10:24:1::1
other.domain.tld: ips=<; 84.200.210.164 ; 2001:1608:10:24:300::1
v4.domain.tld: ips=84.200.210.165

and having the given IPs be used to send E-Mails from these domains...

I think, I have to use this file in the transports, and I tried this:

remote_smtp:
driver = smtp
helo_data = $smtp_active_hostname
interface =
${extract{ips}{${lookup{$sender_address_domain}lsearch{/etc/exim/mailouts}{<;
84.200.210.163 ; 2001:1608:10:24:1::1}}}}

Unfortunately, it does not work...
It will always used an IP I didn't give in any configuration...

Could someone help me?
Of course, I need to have a default, if the $sender_address_domain does not
have an entry in /etc/exim/mailouts.

Thanks for any help!
Luca Bertoncello
(lucabert [at] lucabert)

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Subject User Time
How to choose the outgoing IPs for an E-Mail lucabert at lucabert Apr 18, 2012, 11:53 AM
    Re: How to choose the outgoing IPs for an E-Mail jgh at wizmail Apr 18, 2012, 12:19 PM
        Re: How to choose the outgoing IPs for an E-Mail lucabert at lucabert Apr 18, 2012, 12:25 PM
            Re: How to choose the outgoing IPs for an E-Mail exim-users at spodhuis Apr 18, 2012, 11:45 PM
                Re: How to choose the outgoing IPs for an E-Mail lucabert at lucabert Apr 19, 2012, 12:20 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.