[Dovecot] dovecot-2.0.3 - can not upload message, over quota
LEVAI Daniel
leva at ecentrum.hu
Mon Sep 20 19:07:08 EEST 2010
On h, szept 20, 2010 at 15:44:46 +0100, Timo Sirainen wrote:
> On Mon, 2010-09-20 at 16:24 +0200, LEVAI Daniel wrote:
> > > Set mail_debug=yes and show what it logs when logging in?
> >
> > imap(username): Debug: Quota root: name=User quota backend=maildir args=
> > imap(username): Debug: Quota rule: root=User quota mailbox=* bytes=104857600 messages=0
> > imap(username): Debug: Quota rule: root=User quota mailbox=Trash bytes=+52428800 messages=0
>
> So those are the global defaults..
Yes, those are in the dovecot.conf.
> > lda(username): Debug: Quota root: name=User quota backend=maildir args=
> > lda(username): Debug: Quota rule: root=User quota mailbox=* bytes=0 messages=0
> > lda(username): Debug: Quota rule: root=User quota mailbox=Trash bytes=0 messages=0
>
> The above I guess are the overridden values from SQL.
Yes those are in the SQL table. Anyway I've now remove the second quota
rule, to simplify thing. Now there is just the * one.
> > lda(username): Debug: maildir++: root=/homedir/Maildir, index=, control=, inbox=/homedir/Maildir
> > lda(username): Debug: Quota root: name=User quota backend=maildir args=
> > lda(username): Debug: Quota rule: root=User quota mailbox=* bytes=104857600 messages=0
> > lda(username): Debug: Quota rule: root=User quota mailbox=Trash bytes=+52428800 messages=0
>
> Why are these defaults again here?..
Beats me.
> > I can see that lda and imap reports different quotas and even with lda
> > there is two different quota values.
>
> Yeah, that's weird. It's as if you have two quota roots with LDA.
If this is the quote root, then I have only this in my dovecot.conf:
plugin {
quota = maildir:User quota
}
> > I'm using sql userdb, and I'm returning this userdb_import field:
> > quota_rule=*:storage=0 quota_rule2=Trash:storage=+0
>
> What does it then log with auth_debug=yes?
auth: Debug: auth client connected (pid=24648)
auth: Debug: client in: AUTH 1 PLAIN service=imap secured lip=ip rip=ip lport=143 rport=33794 resp=<hidden>
auth: Debug: sql(daniell,ip): query: SELECT password, home AS userdb_home, uid AS userdb_uid, gid AS userdb_gid, username AS user, userdb_import FROM userdb WHERE auth_username = 'daniell'
auth: Debug: auth(daniell,ip): username changed daniell -> username
auth: Debug: client out: OK 1 user=username
auth: Debug: master in: REQUEST 1 24648 1 1..............................f
auth: Debug: prefetch(username,ip): success
auth: Debug: master out: USER 1 username home=/home/username uid=8001 gid=8000 import=quota_rule=*:storage=0
imap: Debug: Loading modules from directory: /usr/local/lib/dovecot
imap: Debug: Module loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so
imap: Debug: Module loaded: /usr/local/lib/dovecot/lib11_imap_quota_plugin.so
imap: Debug: Module loaded: /usr/local/lib/dovecot/lib20_expire_plugin.so
imap: Debug: Added userdb setting: plugin/import=quota_rule=*:storage=0
imap(username): Debug: Effective uid=8001, gid=8000, home=/home/username
imap(username): Debug: Quota root: name=User quota backend=maildir args=
imap(username): Debug: Quota rule: root=User quota mailbox=* bytes=104857600 messages=0
imap(username): Debug: Quota rule: root=User quota mailbox=Trash bytes=+52428800 messages=0
imap(username): Debug: maildir++: root=/home/username/Maildir, index=, control=, inbox=/home/username/Maildir
imap-login: Info: Login: user=<username>, method=PLAIN, rip=ip, lip=ip, mpid=13897, TLS
lda(username): Debug: Effective uid=8001, gid=8000, home=/home/username
lda(username): Debug: Quota root: name=User quota backend=maildir args=
lda(username): Debug: Quota rule: root=User quota mailbox=* bytes=0 messages=0
lda(username): Debug: Quota rule: root=User quota mailbox=Trash bytes=+52428800 messages=0
lda(username): Debug: maildir++: root=/home/username/Maildir, index=, control=, inbox=/home/username/Maildir
lda(username): Debug: Quota root: name=User quota backend=maildir args=
lda(username): Debug: Quota rule: root=User quota mailbox=* bytes=104857600 messages=0
lda(username): Debug: Quota rule: root=User quota mailbox=Trash bytes=+52428800 messages=0
lda(username): Debug: none: root=, index=, control=, inbox=
I've really got no ideas. :\
Thanks for any help,
Daniel
--
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
More information about the dovecot
mailing list