Autor: morlix Fecha: A: exim-users Asunto: [exim] Problem with smtp auth
Hello,
i tried to set up my exim with authentication over mysql db.
I configured this in exim.conf
MYSQL_USER_CLEARPW1 = SELECT u.clear_pw FROM users AS u WHERE u.username
= '${quote_mysql:$1}' LIMIT 0,1;
MYSQL_USER_CLEARPW2 = SELECT u.clear_pw FROM users AS u WHERE u.username
= '${quote_mysql:$2}' LIMIT 0,1;
When i try to auth via plain or login i get the following error in my
log messages.
Sep 13 21:20:02 gera124 exim[25348]: 2006-09-13 21:20:02 fixed_login
authenticator failed for dslb-084-057-142-099.pools.arcor-ip.net
([192.168.99.21]) [84.57
.142.99]: 435 Unable to authenticate at present
(set_id=morlix@???): missing } at end of condition inside
"and" group
I understand the error message, but i think (and hope i´m not wrong with
that) i had done this right, and placed the curly braces correctly.
Can someone give me a hint where my problem is?
My second question is about using $auth(n) or $(n) in the
server_condition. When i use $auth(n) i get
Sep 13 20:27:16 gera124 exim[24110]: 2006-09-13 20:27:16 fixed_login
authenticator failed for dslb-084-057-142-099.pools.arcor-ip.net
(morlix.de) [84.57.142.9
9]: 435 Unable to authenticate at present: unknown variable name "auth1"
inside "and{...}" condition