[Dovecot] /etc/passwd userdb and long usernames

Nicolás Reynolds fauno at endefensadelsl.org
Wed Jun 4 13:17:30 UTC 2014


hi! i've configured dovecot to lookup usernames in /etc/passwd and it's
working ok but it's having some problems retrieving info when the
username is longer than 32 chars (i know it isn't recommended but
everything seemed to work ok except for the hardcoded limit in
useradd...)

i found this on logs showing extra characters on the home field:
http://pastie.org/pastes/9257902/text?key=vsxstofu3rf5wum4aic5va

is there a limit on username length?  i "solved" it by setting 

  auth_username_format = %0.30u

-- 
http://partidopirata.com.ar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 619 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140604/1b0ef504/attachment.sig>


More information about the dovecot mailing list