[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@mydomain,1.2.3.4): lookup Info: shadow(wperez@mydomain,1.2.3.4): unknown user auth: Debug: client out: FAIL 2 user=wperez@mydomain
in my server only exists the user wperez, but dovecot uses the user "wperez@mydomain"
in this new version auth format changes?
Thank you.
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@mydomain,1.2.3.4): lookup Info: shadow(wperez@mydomain,1.2.3.4): unknown user auth: Debug: client out: FAIL 2 user=wperez@mydomain
in my server only exists the user wperez, but dovecot uses the user "wperez@mydomain"
Sounds like you want %Ln, not %Lu. This hasn't changed.
On 2010-12-15 2:17 PM, Timo Sirainen wrote:
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@mydomain,1.2.3.4): lookup Info: shadow(wperez@mydomain,1.2.3.4): unknown user auth: Debug: client out: FAIL 2 user=wperez@mydomain
in my server only exists the user wperez, but dovecot uses the user "wperez@mydomain"
Sounds like you want %Ln, not %Lu. This hasn't changed.
Or maybe needs to set auth_default_realm?
--
Best regards,
Charles
participants (3)
-
Charles Marcus
-
Timo Sirainen
-
Wilberth Perez