[exim] Re: changing smtp auth credentials per router?

Página Inicial
Delete this message
Reply to this message
Autor: jeff sacksteder
Data:  
Para: Brian Candler
CC: Exim-users
Assunto: [exim] Re: changing smtp auth credentials per router?
> fixed_plain:
> driver = plaintext
> public_name = PLAIN
> client_send =
> ${lookup{$host}lsearch{/usr/local/etc/exim/clientauth}{$value}fail}
>
> and the file /usr/local/etc/exim/clientauth contains entries like
>
> smtp.example.com ^user^pass


This would work if I can get the sending domain as a matching
condition- for example,
${lookup{$sending_domain}lsearch{/etc/exim/clientauth}{$value}fail}

and my clientauth file looks like-

foo.com     ^abc^123
bar.com     ^xyz^321


As suggested, I can manually set $address_data, in my route, then read
it back in the authenticator later. That seems a bit roundabout. Can I
get at the sending domain more directly?