Re: [Dovecot] per user quota in mysql

2013-06-10 Thread John Doe
Hi, Thank you for responding but i have read in the dovecot documentation and in postfixadmin documentation that: - The setup gets userdb and passdb info from MySQL as well as quotas ( postfixadmin documentation ) - Quota backend specifies the method how Dovecot keeps track of the current quota

Re: [Dovecot] per user quota in mysql

2013-06-08 Thread Benny Pedersen
John Doe skrev den 2013-06-07 15:32: I have set up dovecot to use ldap authentication and it works great. I wonder if it is possible to use mysql for user quota and still keep my ldap authentication. yes no problem, for more help check postfixadmin on sf.net, even if you dont use it, there

Re: [Dovecot] per user quota

2012-06-09 Thread Andreas Meyer
Daniel Parthey wrote: > Hello Andreas, > > Andreas Meyer wrote: > > I activated quota > > > > plugin { > > quota = maildir:User quota > > quota_rule = *:storage=1GB > > # 10% of 1GB = 100MB > > quota_rule2 = Trash:storage=+10%% > > } > > > > But when I want to do per user quota

Re: [Dovecot] per user quota

2012-06-09 Thread Daniel Parthey
Hello Andreas, Andreas Meyer wrote: > I activated quota > > plugin { > quota = maildir:User quota > quota_rule = *:storage=1GB > # 10% of 1GB = 100MB > quota_rule2 = Trash:storage=+10%% > } > > But when I want to do per user quota in the passwd-file > ...vhosts/anup.de/anmeyer::u

Re: [Dovecot] Per user quota on MySQL

2010-12-22 Thread Pascal Volk
On 12/20/2010 06:09 PM M. Rodrigo Monteiro wrote: > Question: can I have quota per domain? It's possible - sure. See: http://wiki2.dovecot.org/Quota/Dict Regards, Pascal -- The trapper recommends today: cafefeed.1035...@localdomain.org

Re: [Dovecot] Per user quota on MySQL

2010-12-21 Thread Robert Schetterer
Am 20.12.2010 22:05, schrieb Charles Marcus: > On 2010-12-20 12:09 PM, M. Rodrigo Monteiro wrote: >> Now, I'm using lmtp. The reply works great. >> >> Quota per user looks good. >> Question: can I have quota per domain? > > I don't use it, but latest version of postfixadmin supports domain and > u

Re: [Dovecot] Per user quota on MySQL

2010-12-20 Thread Charles Marcus
On 2010-12-20 12:09 PM, M. Rodrigo Monteiro wrote: > Now, I'm using lmtp. The reply works great. > > Quota per user looks good. > Question: can I have quota per domain? I don't use it, but latest version of postfixadmin supports domain and user quotas... -- Best regards, Charles

Re: [Dovecot] Per user quota on MySQL

2010-12-20 Thread Robert Schetterer
Am 20.12.2010 18:09, schrieb M. Rodrigo Monteiro: > Hi! > >> anyway you should use lmtp >> http://wiki2.dovecot.org/LMTP >> this may avoid i.e backscatter quota bounces > > Excelent! > > Now, I'm using lmtp. The reply works great. > > Quota per user looks good. > Question: can I have quota per

Re: [Dovecot] Per user quota on MySQL

2010-12-20 Thread M. Rodrigo Monteiro
Hi! > anyway you should use lmtp > http://wiki2.dovecot.org/LMTP > this may avoid i.e backscatter quota bounces Excelent! Now, I'm using lmtp. The reply works great. Quota per user looks good. Question: can I have quota per domain? Regards, Rodrigo. -- M. Rodrigo Monteiro "Free as in Free

Re: [Dovecot] Per user quota on MySQL

2010-12-20 Thread Robert Schetterer
Am 20.12.2010 16:18, schrieb Tom Hendrikx: > On 20/12/10 16:03, M. Rodrigo Monteiro wrote: >> === >> Dovecot log >> === >> Dec 20 11:37:11 lda(te...@domain.com.br): Info: msgid=unspecified: >> save failed to INBOX: Quota exceeded (mailbox for user is full) >> Dec 20 11:37:11 lda(te...@domai

Re: [Dovecot] Per user quota on MySQL

2010-12-20 Thread Tom Hendrikx
On 20/12/10 16:03, M. Rodrigo Monteiro wrote: > === > Dovecot log > === > Dec 20 11:37:11 lda(te...@domain.com.br): Info: msgid=unspecified: > save failed to INBOX: Quota exceeded (mailbox for user is full) > Dec 20 11:37:11 lda(te...@domain.com.br): Info: msgid=unspecified: > rejected: Quo

Re: [Dovecot] Per user quota on MySQL

2010-12-20 Thread M. Rodrigo Monteiro
Hi! With much help of Henrique Fernandes, now the quota per user is working. I'm having problem now with the bounce message. === Postfix log === Dec 20 11:37:11 sec88 postfix/qmgr[20633]: CBCF2E7D77: from=, size=2530, nrcpt=1 (queue active) Dec 20 11:37:11 sec88 postfix/pipe[6178]: CBCF2

Re: [Dovecot] Per user quota on MySQL

2010-12-18 Thread Denis Fateyev
Hello, In my installation (postfixadmin, dovecot-1.2.x), postfixadmin sets and stores user quota in bytes in `quota` field of `mailbox` table. Dovecot retrieves stored quotas via `user_query` and `password_query` mechanism. --- wbr, Denis. On Sat, Dec 18, 2010 at 2:59 AM, M. Rodrigo Monteiro < f

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread M. Rodrigo Monteiro
On Fri, Dec 17, 2010 at 15:41, Henrique Fernandes wrote: > It is missing an global mail plugins conf! > []'sf.rique > Ok, now I have the quota in dovecotadm. doveadm quota get -u te...@domain.com Quota name TypeValue Limit % storage=1024000

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread Henrique Fernandes
It is missing an global mail plugins conf! []'sf.rique On Fri, Dec 17, 2010 at 4:07 PM, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 12/17/2010 07:06 PM M. Rodrigo Monteiro wrote: > > > > There is no quota in doveadm. > > See the note at: http://wiki2.dovecot.org/Tools/Dove

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread Pascal Volk
On 12/17/2010 07:06 PM M. Rodrigo Monteiro wrote: > > There is no quota in doveadm. See the note at: http://wiki2.dovecot.org/Tools/Doveadm/Quota Regards, Pascal -- The trapper recommends today: f007ba11.1035...@localdomain.org

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread M. Rodrigo Monteiro
On Fri, Dec 17, 2010 at 14:50, Henrique Fernandes wrote: > Try to use doveadm quota get to see if it is working! There is no quota in doveadm. # /usr/local/dovecot/bin/doveadm usage: doveadm [-Dv] [-f ] [] altmove [-u |-A] [-S ] auth [-a ] [-x ] [] config [doveconf

Re: [Dovecot] Per user quota on MySQL

2010-12-17 Thread Henrique Fernandes
Try to use doveadm quota get to see if it is working! #doveadm quota get -u exam...@domain.com Quota name Type Value Limit % user STORAGE 133189 1048576 12 user MESSAGE 2002 - 0 Use quota recalc also an

Re: [Dovecot] per user quota

2007-12-28 Thread Timo Sirainen
On Sun, 2007-12-23 at 23:36 +0100, Massimo Maioli wrote: > I've added a quota field to the mysql that read dovecot, but i don't > know ho to read this in dovecot-mysql.conf. See http://wiki.dovecot.org/Quota signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Per-user quota (with local users)

2007-10-20 Thread Timo Sirainen
On Wed, 2007-10-17 at 19:57 -0400, Maykel Moya wrote: > userdb passwd { > } .. > My quota configuration is > -- > plugin { > quota = maildir:storage=10240:ignore=Trash > } > -- > > I have some users with particular quotas. With LDAP lookups, there is no > problem, in those cases I simply put

Re: [Dovecot] per user quota using LDAP entries

2007-05-22 Thread Timo Sirainen
On 22.5.2007, at 12.26, Kenneth Oncinian wrote: passdb: driver: ldap args: /etc/dovecot-ldap.conf userdb: driver: passwd userdb: driver: ldap args: /etc/dovecot- ldap.conf userdb: driver: prefetch I think you don't want the userdb passwd in there. If the user is found f