Wilberth Perez
2010-Dec-15 19:16 UTC
[Dovecot] Dovecot 2.0.8 don´t recognize auth user format
My configuration file have this lines: # doveconf | grep user auth_anonymous_username = anonymous auth_master_user_separator auth_socket_path = auth-userdb auth_ssl_username_from_cert = no auth_username_chars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@ auth_username_format = %Lu <-----(in version 1.2.10 this work fine) auth_username_translation default_internal_user = dovecot default_login_user = dovenull director_user_expire = 15 mins login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c mail_max_userip_connections = 10 in this new version, my user authentication fails: Debug: shadow(wperez at mydomain,1.2.3.4): lookup Info: shadow(wperez at mydomain,1.2.3.4): unknown user auth: Debug: client out: FAIL 2 user=wperez at mydomain in my server only exists the user wperez, but dovecot uses the user "wperez at mydomain" in this new version auth format changes? Thank you.
Timo Sirainen
2010-Dec-15 19:17 UTC
[Dovecot] Dovecot 2.0.8 don´t recognize auth user format
On 15.12.2010, at 19.16, Wilberth Perez wrote:> auth_username_format = %Lu <-----(in version 1.2.10 this work fine)..> Debug: shadow(wperez at mydomain,1.2.3.4): lookup > Info: shadow(wperez at mydomain,1.2.3.4): unknown user > auth: Debug: client out: FAIL 2 user=wperez at mydomain > > in my server only exists the user wperez, but dovecot uses the user > "wperez at mydomain"Sounds like you want %Ln, not %Lu. This hasn't changed.