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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: jeff sacksteder
日付:  
To: Brian Candler
CC: Exim-users
題目: [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?