[Dovecot] auth_username_chars - special chars

Hajo Locke hajo.locke at gmx.de
Thu Nov 25 10:14:40 EET 2010


i use dovecot 1.2.11 with auth by mysql.

auth_username_chars = 

for some reasons more special chars in username are needed. in fact the % 
char is meant.
Is this recommend to use with mysql? should i expect some problems when 
using chars with special function within mysql?

Config is now:

auth default {
  mechanisms = plain login

  passdb  sql {
        args = /etc/dovecot/dovecot-sql.conf

  userdb prefetch {

password_query = SELECT `inbox` as `user`, `password`, `home` as 
userdb_home, `uid` AS userdb_uid, `gid` AS userdb_gid FROM `mail_users` 
WHERE `login` = '%u' AND `active`='Y'

Thanks for your ideas,

More information about the dovecot mailing list