[Exim] SMTP Auth.. I'm close..

Página Inicial
Delete this message
Reply to this message
Autor: Brian
Data:  
Para: exim-users
Assunto: [Exim] SMTP Auth.. I'm close..
Hello all,

Just trying to do this flat file style for now..

I'm trying to have a file format of this:

user@???:$1$MD5-Pass-Here

and auth with that.

user@??? $1$MD5-Pass-Here

would be fine too

right now the only thing I can get to work is:

user@domain clearpasshere

login:
driver = plaintext
public_name = LOGIN
server_prompts = Username:: : Password::
##server_condition =" ${if
crypteq{$2}{${lookup{$1}lsearch{/usr/local/etc/exim/auth}{$value}{failed}}}{yes}{no}}"
#server_condition = ${if
crypteq{$2}{${lookup{$1}lsearch{/usr/local/etc/exim/auth}{$value}fail}}{yes}{no}}
#server_condition = ${if
crypteq{$2}\{md5\}{${lookup{$1}lsearch{/usr/local/etc/exim/auth}{$value}fail}}{yes}{no}}
server_condition = ${if
eq{$2}{${lookup{$1}lsearch{/usr/local/etc/exim/auth}{$value}fail}}{yes}{no}}
server_set_id = $1

plain:
driver = plaintext
public_name = PLAIN
#server_prompts = :
##server_condition =" ${if
crypteq{$3}{${lookup{$2}lsearch{/usr/local/etc/exim/auth}{$value}{failed}}}{yes}{no}}"
#server_condition = ${if
crypteq{$3}{${lookup{$2}lsearch{/usr/local/etc/exim/auth}{$value}fail}}{yes}{no}}
#server_condition = ${if
crypteq{$3}\{md5\}{${lookup{$2}lsearch{/usr/local/etc/exim/auth}{$value}fail}}{yes}{no}}
server_condition = ${if
eq{$3}{${lookup{$2}lsearch{/usr/local/etc/exim/auth}{$value}fail}}{yes}{no}}
server_set_id = $2


The commented out sections are what I tried.

clues would be appreciated.


- Brian