On Wed, 2010-10-06 at 19:59 +0100, Timo Sirainen wrote:
There's no 128 byte limit in Dovecot as far as I know. You sure it's not truncated to 128 bytes already on the SQL database? :) If that's not the case, set auth_debug=yes and show the logs.
Is the log from "doveadm user" enough? It's like below.
Oct 6 16:11:03 box5 dovecot: auth: Debug: master in: USER#0111#011wellington.epaminondas=sbu.org.br#011service=doveadm
Oct 6 16:11:03 box5 dovecot: auth: Debug: prefetch(wellington.epaminondas=sbu.org.br): passdb didn't return userdb entries, trying the next userdb
Oct 6 16:11:03 box5 dovecot: auth: Debug: sql(wellington.epaminondas=sbu.org.br): SELECT pass AS password, mail_location AS mail, concat('*:bytes=', quota, 'M') AS quota_rule FROM mail_users WHERE user = 'wellington.epaminondas=sbu.org.br' AND server_id = 1
Oct 6 16:11:03 box5 dovecot: auth: Debug: master out: USER#0111#011wellington.epaminondas=sbu.org.br#011password=$1$gT9MJF7o $mactR0nGXtu8X6G.3mJuF0#011mail=mdbox:/var/spool/imap/partition7/b7/wellington.epaminondas=sbu.org.br:INDEX=/var/lib/imap/user/b7/wellington.epaminondas=sbu.org#011quota_rule=*:bytes=1024M
Truncation appears in the "master out" string.
Thanks, Andre