[Exim] AUTH PLAIN

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Frank Elsner
Fecha:  
A: exim-users
Asunto: [Exim] AUTH PLAIN
I have problems to get plain authentication working.

My authenticator reads as follows:

auth_plain:
driver = plaintext
public_name = PLAIN
server_condition = "\
${if crypteq { $3 } { ${lookup{$2}dbm{DBM/smtpauth}{$value}fail} }\
{yes}{no}}"
server_set_id = $2

I want to lookup a database generated from the first 2 fields of /etc/passwd.
The debug shows:

auth plain AGVsc240MDAwAG1lNTVmZTUzCg==
SMTP<< auth plain AGVsc240MDAwAG1lNTVmZTUzCg==
search_open: dbm "/opt/exim/dbm/smtpauth"
search_find: file="/opt/exim/dbm/smtpauth"
  key="elsn4000" partial=-1
LRU list:
  1/opt/exim/dbm/smtpauth
  End
internal_search_find: file="/opt/exim/dbm/smtpauth"
  type=dbm key="elsn4000"
file lookup required for elsn4000
  in /opt/exim/dbm/smtpauth
lookup yielded: pj3qtL4CtmW5I     < This is the correct value from dbm lookup
auth_plain authenticator:
  $1 = 
  $2 = elsn4000
  $3 = ********         < password unencrypted


expanded string: no
535 Incorrect authentication data
535 Incorrect authentication data
LOG: 0 MAIN REJECT
Authentication failed for bronto.zrz.tu-berlin.de [130.149.2.93]: 535 Incorrect authentication data
quit
SMTP<< quit

What's wrong and how to fix it ?


Kind regards   _______________________________________________________________ 
Frank Elsner  /                           c/o  Technische Universitaet Berlin |
 ____________/                                 ZRZ, Sekr. E-N 50              |

|                                              Einsteinufer 17                |

|Voice: +49 30 314 23897                       D-10587 Berlin                 |
|SMTP : Elsner@???                Germany       _________________|
|____________________________________________________________| Ich habe fertig