Jeremy Harris <[email protected]> schrieb:

> On 2012-04-18 19:53, Luca Bertoncello wrote:
> > 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...
> 
> First, is it using that transport?   What do the "T=" portions of your
> delivery lines in the logs say?

Hi, Jeremy!

I use an smtp-transport...

I tried this, now:

interface =
${lookup{$sender_address_domain}lsearch*{/etc/exim/mailouts}{$value}{}}

Using a file like this:

lucabert.com: <; 84.200.210.163 ;
*: <; 84.200.210.163 ; 2001:1608:10:24:1::1

Now the problem is, that, if I try to send an E-Mail from lucabert.com, Exim
tries to use an IPv6, even if I just gived an IPv4...

What am I doing wrong?

Thanks
Luca Bertoncello
([email protected])

-- 
## 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/

Reply via email to