Quoting Adam Funk ([EMAIL PROTECTED]):

>         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

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to