[Dovecot] Quota with Dict + SQL not updating
Hello all,
I have a Dovecot server deployed with a MySQL back end.
If the user logs in and there is no quota set for them in table 'quota', the system will automatically inset a line with their username and current messages/storage.
However after this it fails to update the information when to reflect new messages coming to their inbox after the original insert of the information.
It will only update the information when a user deletes a message.
Why is it not updating this information every time their mail is checked with IMAP?
Cheers,
Michael
On 12/31/2009 04:20 AM Michael wrote:
Hello all,
I have a Dovecot server deployed with a MySQL back end.
If the user logs in and there is no quota set for them in table 'quota', the system will automatically inset a line with their username and current messages/storage.
However after this it fails to update the information when to reflect new messages coming to their inbox after the original insert of the information.
It will only update the information when a user deletes a message.
Sounds like your are not using Dovecot's LDA for storing incoming mails. Or you have forgotten to activate the quota pluging in the protocol lda section.
Why is it not updating this information every time their mail is checked with IMAP?
Because the user checks only the mailboxes, but doesn't add/delete messages.
Please show your dovecot -n output. If it does not contain 'lda:' output, please paste additional the contents of your protocol lda {…} section (without comments).
Regards, Pascal
The trapper recommends today: cafefeed.0936504@localdomain.org
On Thu, 31 Dec 2009 16:43:54 Pascal Volk wrote:
On 12/31/2009 04:20 AM Michael wrote:
Hello all,
I have a Dovecot server deployed with a MySQL back end.
If the user logs in and there is no quota set for them in table 'quota', the system will automatically inset a line with their username and current messages/storage.
However after this it fails to update the information when to reflect new messages coming to their inbox after the original insert of the information.
It will only update the information when a user deletes a message.
Sounds like your are not using Dovecot's LDA for storing incoming mails. Or you have forgotten to activate the quota pluging in the protocol lda section.
Thanks for that suggestion! I have now put a whole lot of work in to getting Dovecot's LDA working... however when it stores the information into the SQL quota table it uses the full email address rather then just the username.
IMAP uses just the username.
I want both to use the username only.
participants (2)
-
Michael
-
Pascal Volk