Re: [Exim] AUTH (don't shoot me...)

Pàgina inicial
Delete this message
Reply to this message
Autor: mb
Data:  
A: mike
CC: exim-users
Assumpte: Re: [Exim] AUTH (don't shoot me...)
At 10:38 +0100 mike wrote:

>I have uncommented the auth section in config file:


>plain:
> driver = plaintext
> public_name = PLAIN
> server_condition = "${if crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim/passwd}{$value}{*:*}}}}}{1}{0}}"


I note your colons aren't doubled.

>I have created the /etc/exim/passwd file.
>And... now what? What do I put in the file? It says 'crypted
>passwords in the second column'. Crypted how? Columns separated with
>what?


man crypt :)

There are implementations in perl and no doubt lots of other languages.
htpasswd might even do exactly what you want!