[Dovecot] Optimal quota method for SQL

Tom Sommer mail at tomsommer.dk
Wed Jul 8 15:39:58 EEST 2009


Hi,

I just installed 1.2.0 and I'm gonna set up some quota on my vitual users.

I' ve got dovecot set up as LDA, and currently I'm using the dict-mysql
method described for 1.2.0, but it's not really working at all.

Am I correct in assuming that with this method I can define the quota
limit in my dict (sql field)?

This is my current config:

dict {
  quotadict = mysql:/etc/dovecot-dict-sql.conf
}

plugin {
  quota = dict:user::proxy::quotadict
  quota_rule = *:storage=0:messages=0
}

protocol lda {
mail_plugins = quota
.....
}

I want quota to be disabled unless otherwise specified in my SQL database.

// Tom




More information about the dovecot mailing list