[Dovecot] RESOLVED: strange quota behaviour with dovecot 1.1.7

listacc at gmx.de listacc at gmx.de
Wed Jul 15 15:04:21 EEST 2009


Hi,

I just wanted to tell you that my problems are resolved now. Seems that Timo had the essential hint for me. Thank you very much!! :-)

On 27.06.2009 23:40, Timo Sirainen wrote:
>>   passdb:
>>     driver: pam
>>   passdb:
>>     driver: sql
>>     args: /etc/dovecot/dovecot-sql.conf
> 
> Do you really want to have system users too? 

No, I don´t want to :-) I switched this off.


>> password_query = SELECT username AS user, password, '/drbd/mail/vmail/%d/%n' AS userdb_home, 'maildir:/drbd/mail/vmail/%d/%n' AS userdb_mail, 5001 AS userdb_uid, 5001 AS userdb_gid FROM mailbox WHERE username = '%u' AND active = '1'
> 
> You're also not using userdb prefetch, so all these usedb_* fields are
> ignored here.
> 

Seems that was it! Now quota works very fine! 

> After growing quota, mails to the account are accepted again. But my Thunderbird with Quota plugin continues showing the old quota setting. When more mails are sent to this account, it shows a quota > 100%.
> (...)
> If I try now, as a user, to delete mails from the "overfilled" Inbox, it is denied with a "quota exceeded" message. But I´m able to send further mails to this account. The only way to get the account working properly again is to delete the messages directly on the server´s filesystem. 
> 

This happens again even after correcting the MySQL query, but it´s very easy to fix when the user logs out and in again (e.g. closes and reopens his Thunderbird) :-) 

Thank you very much for the fix and this very nice imap server!!!

  Andreas


-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


More information about the dovecot mailing list