RE: [Exim] plain authenticator failed

Top Page
Delete this message
Reply to this message
Author: Brian West
Date:  
To: 'Paul Warren', 'Asbjørn Høiland Aarrestad'
CC: exim-users
Subject: RE: [Exim] plain authenticator failed
I use this:

plain:
  driver        = plaintext
  public_name    = PLAIN
  server_condition = "${if and
{{!eq{$2}{}}{!eq{$3}{}}{crypteq{$3}{${lookup mysql
{MYSQL_AUTH_PLAIN}{$value}fail}}}}{1}{0}}"
  server_set_id    = $2


login:
  driver        = plaintext
  public_name    = LOGIN
  server_prompts    = "Username:::Password::"
  server_condition = "${if and
{{!eq{$1}{}}{!eq{$2}{}}{crypteq{$2}{${lookup mysql
{MYSQL_AUTH_LOGIN}{$value}fail}}}}{1}{0}}"
  server_set_id    = $1




MYSQL_AUTH_PLAIN            = SELECT
ENCRYPT(MYSQL_PASSWORDFIELD) AS MYSQL_PASSWORDFIELD FROM MYSQL_AUTHTABLE
WHERE MYSQL_USERNAMEFIELD='${local_part:$2}' AND
MYSQL_DOMAINFIELD='${domain:$2}' AND is_alias='N'


MYSQL_AUTH_LOGIN            = SELECT
ENCRYPT(MYSQL_PASSWORDFIELD) AS MYSQL_PASSWORDFIELD FROM MYSQL_AUTHTABLE
WHERE MYSQL_USERNAMEFIELD='${local_part:$1}' AND
MYSQL_DOMAINFIELD='${domain:$1}' AND is_alias='N'



It works as perfect!

bkw


-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On
Behalf Of Paul Warren
Sent: Tuesday, May 20, 2003 9:11 AM
To: Asbjørn Høiland Aarrestad
Cc: exim-users@???
Subject: Re: [Exim] plain authenticator failed


On Tue, 2003-05-20 at 14:49, Asbjørn Høiland Aarrestad wrote:
> I have a repeating problem with my setup. Sometimes (when using my

exim
> server as external relay with auth) I get the following error message

in
> "exim_rejectlog":
>
> -------
> 2003-05-20 08:28:55 plain authenticator failed for (aarrestad.com)
> [129.177.43.16]: 535 Incorrect authentication data (set_id=asbjorn)


> -----------
>
> What is the reason for this?


Difficult to say. SMTP AUTH can be a bit of a pig to get working, but
it's impossible to say what the exact problem is here without:

a) a copy of (the relevant parts of) your exim config
b) what mail client you are using

Paul
--
Paul Warren, Client Services           DecisionSoft Limited
+44-1865-203192                        http://www.decisionsoft.com



--

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