[Exim] extract problems with digits in smtp-auth

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: robert rotman
Data:  
Para: exim-users
Assunto: [Exim] extract problems with digits in smtp-auth
Hi all,

when i test the expansion with "-be" everything works ok:

eg:
> ${extract{2}{#}{1#exim.org}}

exim.org


when i do this in an "smtp auth - servercondition"
(${lookup mysql{select password from table where
username='${extract{1}{#}{$2}}' and
domain='${extract{2}{#}{$2}}'}{$value}fail}
)

i get an error:

fixed_plain authenticator:
  $1 = '#exim.org
       ^
       this is a binary charakter, like a caro;)
  $2 = ph10


--> this is when i authenticat with "1#exim.org and ph10"


when i authenticate with "a#exim.org" and "ph10" everything works ok!


is this a bug or has anyone some suggestions?


robert