[Exim] extract problems with digits in smtp-auth

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: robert rotman
Dátum:  
Címzett: exim-users
Tárgy: [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