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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Sander Smeenk
Data:  
Para: exim-users
Asunto: Re: [exim] More secure authentication with dyndns.com's mailhop outbound service?
Quoting Adam Funk (adam00f@???):

>         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.

--
| "Weird. It doesn't need a license if you change 5 bytes at 0x8cec94 to 0x90!"
| -- Someone on IRC about licensed software
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D