Re: [exim] More secure authentication with dyndns.com's mail…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Stanislaw Halik
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] More secure authentication with dyndns.com's mailhop outbound service?
On Tue, Apr 11, 2006, Sander Smeenk wrote:
>> login:
>> driver = plaintext
>> public_name = LOGIN
>> client_send = ": username : password"


>> I would like exim to be able to authenticate to outbound.mailhop.org
>> without storing the unencrypted password on disk. Is this possible?


> Ofcourse it is.


> login_server:
> driver = plaintext
> public_name = LOGIN
> server_prompts = "Username:: : Password::"
> server_condition = "${if crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{CONFDIR/passwd}{$value}{*:*}}}}}{1}{0}}"
> server_set_id = $1


> Works for me. I have a file CONFDIR/passwd with crypt()'ed passwords.


the problem is that it's an outbound connection, therefore the password
has to be stored in a readable way.

-- sh