[Dovecot] Quota plugin and SQL

Timo Sirainen tss at iki.fi
Sun Mar 7 11:58:52 EET 2010


On Sat, 2010-03-06 at 22:12 +0000, David wrote:
> I have read through http://wiki.dovecot.org/Quota/Dict, which suggests a 
> database schema for using quota.  For 1.2, this includes a username, 
> bytes and messages.
> 
> Is there any way to modify the queries used to split out username into 
> localpart and domain?  This would enable me to put the current quota 
> information in my main mailbox table and display it to users in my admin 
> interface.

Not currently. If you're using PostgreSQL, you could create a view and
update-rule though. I don't know if that's possible with MySQL.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100307/86cda74d/attachment.bin 


More information about the dovecot mailing list