Re: [exim] option "interface" in smtp transport and ipv6

Inizio della pagina
Delete this message
Reply to this message
Autore: Mike Cardwell
Data:  
To: exim-users
Oggetto: Re: [exim] option "interface" in smtp transport and ipv6
On Thu, 01 Jul 2010 15:15:18 +0200, Marcin Mirosław <marcin@???>
wrote:
> Hello!
> I've set up smtp transport in this way:
> external_smtp_batv:
>                 driver          = smtp
>                 return_path     = ${prvs {$return_path}{BATVKEY}}
>                 dkim_domain     = +local_domains
>                 dkim_selector   = 100623
>                 dkim_private_key= /etc/ssl/poczta.cibet.pl.key
>                 dkim_canon      = relaxed
>                 interface       =
> ${lookup{$domain}lsearch{/etc/exim/domeny_interfejs.txt}{$value}{}}

>
> If recipient domain is found in appropriate file and destination mx
> doesn't have AAAA records everything works correctly. Problem appears
> when dest. mx has AAAA, then option "interface" is ignored and mail is
> sending using ipv6 proto.
> It looks there is bug in smtp tranposrt or option "interface" should
> named "interface_ipv4".
> Regards,
> Marcin


interface works fine with IPv6 here. Specifically, I use:

interface = <; ${if
isip6{$host_address}{2001:470:1f07:85d::beef}{97.107.136.195}}

What version of Exim are you using, and more importantly, *exactly* what
is contained inside domeny_interfejs.txt?

-- 
Mike Cardwell - Perl/Java/Web developer, Linux admin, Email admin
Read my tech Blog -              https://secure.grepular.com/
Follow me on Twitter -           http://twitter.com/mickeyc
Hire me - http://cardwellit.com/ http://uk.linkedin.com/in/mikecardwell