[Dovecot] Quota plugin and SQL

Leeman Strout me at mooluv.com
Sun Mar 7 05:17:32 EET 2010


On 3/6/2010 5:12 PM, 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.
>
> Or possibly it should be in a separate table for a reason, and I should
> be look there for the values?
>
> Thanks,
>
> David


http://wiki.dovecot.org/Variables

Excerpt:

  %u	user		full username (e.g. user at domain)
  %n	username	user part in user at domain, same as %u if there's no domain
  %d	domain		domain part in user at domain, empty if user there's no domain



Leeman


More information about the dovecot mailing list