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

Attachment: pgpmffeNVeKUF.pgp
Description: PGP signature

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