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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: mb
Date:  
À: mike
CC: exim-users
Sujet: 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!