Re: [Exim] Plain Auth SMTP

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Rick Terrill
Ημερομηνία:  
Προς: michal, exim-users
Αντικείμενο: Re: [Exim] Plain Auth SMTP
At 02:49 PM 8/30/2002 +0200, michal wrote:
>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


If that's literally how your file reads, then you need to include colons
after the usernames like this:
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

>
>
>
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
>details at http://www.exim.org/ ##