[Exim] Plain Auth SMTP

Pàgina inicial
Delete this message
Reply to this message
Autor: michal
Data:  
A: exim-users
Assumpte: [Exim] Plain Auth SMTP
Hello,
i am sorry i know that this subject were few times here, but i cannot
find properly working solution.
I am using exim 4.10 with PAM and PLAIN support.

i was trying to setup plain ASMTP like this:
ACL
accept authenticated = *
.
.
.
begin authenticators

plain:
driver = plaintext
public_name = PLAIN
server_condition = ${if eq{$3}{${lookup{$2}lsearch{/etc/exim-users}{$value}fail}}{yes}{no}}
server_set_id = $2

login:
driver = plaintext
public_name = LOGIN
server_prompts = Username:: : Password::
server_condition = ${if eq{$2}{${lookup{$1}lsearch{/etc/exim-users}{$value}fail}}{yes}{no}}
server_set_id = $1

I made a file exim-users where i put
user password
user2 password2

but now i have such messages in logs
Authentication failed for host1.mydomain : 435 Unable to authenticate a
t present: "lookup" failed and "fail" requested

Does anybody know what is wrong ???

--
Best regards,
 michal                          mailto:michal@servodata.pl