Hello I'm using authentication via SQL, and I'm storing the full mail_location in the database. This is a long string because we're using multiple partitions and hashing to create this path. It looks like this: # doveadm user andre=sneakymustard.com userdb: andre=sneakymustard.com password : $1$ixW87UeD$fLhORaJS0c5wNFmWqfJdI1 mail : mdbox:/var/spool/imap/partition7/11/andre=sneakymustard.com:INDEX=/var/lib/imap/user/11/andre=sneakymustard.com quota_rule: *:bytes=1024M Depending on the user's email, this string can be even longer. What I've noticed is that it is truncated when it reaches 128 bytes. Could this size limit be increased? Thanks, Andre
On Wed, 2010-10-06 at 15:40 -0300, Andre Nathan wrote:> mail : > mdbox:/var/spool/imap/partition7/11/andre=sneakymustard.com:INDEX=/var/lib/imap/user/11/andre=sneakymustard.com > quota_rule: *:bytes=1024M > > Depending on the user's email, this string can be even longer. What I've > noticed is that it is truncated when it reaches 128 bytes.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.