doveadm-backup and quota question

2024-02-09 Thread Thomas Plant
Hello, I executed a backup on my dovecot installation and saw that after the first backup, the used space in quota doubled. After executing a recalc all went to normal. For this small size mailbox it is not a problem, but I did a backup on a bigger mailbox, and it started to reject messages becaus

Re: Quota question

2015-06-24 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > Are "bytes=" and "storage=" equivalent? Found it on http://wiki2.dovecot.org/Quota/Configuration, sorry: storage: Quota limit in kilobytes, 0 means unlimited. bytes: Quota limit in bytes, 0 means unlimited. -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskane

Quota question

2015-06-24 Thread Ralf Hildebrandt
http://wiki2.dovecot.org/Quota/Configuration says: concat('*:bytes=', quota_limit_bytes) AS quota_rule and concat('*:bytes=', quota_limit_bytes) AS userdb_quota_rule but a generic quota_rule on the same page says: plugin { quota = maildir:User quota quota_rule = *:storage=1G quota_rule2 =

Re: [Dovecot] Quota question.

2013-09-11 Thread Noel Butler
On Wed, 2013-09-11 at 15:05 -0400, Bruce Markey wrote: > I think it's something more. Apparently it's not even looking at the > database. Not sure what I didn't do. > If anyone can point me to a good dovecot / mysql quota how to that would > be helpful. > > Thank you > bruce > > signatur

Re: [Dovecot] Quota question.

2013-09-11 Thread Daniel Parthey
Hi Bruce, please follow the Dovecot Mailing List guidelines and post your output of doveconf -n Also have a look in the List Archives. There has been a similar quota question in the last few days. Regards Daniel

Re: [Dovecot] Quota question.

2013-09-11 Thread Vijay Rajah
Check if new quota is recognized using 'doveadm quota get -u ' If it does then there is some other issue... It is hard to tell without knowing how it is setup. Thanks VIjay On Thu, Sep 12, 2013 at 12:35 AM, Bruce Markey wrote: > I think it's something more. Apparently it's not even looking at

Re: [Dovecot] Quota question.

2013-09-11 Thread Bruce Markey
I think it's something more. Apparently it's not even looking at the database. Not sure what I didn't do. If anyone can point me to a good dovecot / mysql quota how to that would be helpful. Thank you bruce -- Please use PGP, ENCRYPT everything. For information about acquiring a secryption.c

[Dovecot] Quota question.

2013-09-11 Thread Bruce Markey
I have quotas setup with dovecot. Everything seems to be running fine. Values show up fine in mysql. I set up Roundcube to show quota amounts, this also works. For some reason it's showing the old value, I had upped a quot I assume that dovecot is reporting this wrong since roundcube talks to

Re: [Dovecot] Dict quota question

2013-04-15 Thread Antoine Nguyen
2013/4/15 Timo Sirainen > > You can't have both static userdb and sql userdb. Create just one sql > userdb, which returns something like: > > select quota_rule, 123 uid, 123 as gid, '/home/%u' as home from > quota_limits where username = '%u' > Ok. I didn't know it was possible to use variables

Re: [Dovecot] Dict quota question

2013-04-15 Thread Timo Sirainen
On 13.4.2013, at 15.52, Antoine Nguyen wrote: > I'm using Dovecot 2.1.16 and I'd like to know if the following > configuration is supported: > > * An SQL dictionary quota > * A static userdb to get uid/gid/home information > * An SQL userdb to get per-user quota limit > > Currenlty, current quo

Re: [Dovecot] Dict quota question

2013-04-15 Thread Antoine Nguyen
Up. Any idea about this? Does anybody ever try to build such a configuration? Thanks. 2013/4/13 Antoine Nguyen > Hi all, > > I'm using Dovecot 2.1.16 and I'd like to know if the following > configuration is supported: > > * An SQL dictionary quota > * A static userdb to get uid/gid/home infor

[Dovecot] Dict quota question

2013-04-13 Thread Antoine Nguyen
Hi all, I'm using Dovecot 2.1.16 and I'd like to know if the following configuration is supported: * An SQL dictionary quota * A static userdb to get uid/gid/home information * An SQL userdb to get per-user quota limit Currenlty, current quota usage are properly stored into the database but per-

Re: [Dovecot] 1.1 Quota Question

2009-10-29 Thread Marty Anstey
>>> We are currently running Dovecot 1.1.16 & Postfix; maildir++. >>> >>> When a message arrives for a mailbox which is over quota, it is bounced. >>> Obviously, this isn't very desirable; the primary downside to this is >>> that when junk mail hits a full mailbox it's bounced to that recipient >>

Re: [Dovecot] 1.1 Quota Question

2009-10-27 Thread Timo Sirainen
On Thu, 2009-10-22 at 16:16 -0700, Marty Anstey wrote: > We are currently running Dovecot 1.1.16 & Postfix; maildir++. > > When a message arrives for a mailbox which is over quota, it is bounced. > Obviously, this isn't very desirable; the primary downside to this is > that when junk mail hits a f

[Dovecot] 1.1 Quota Question

2009-10-22 Thread Marty Anstey
Hi, I'm not sure if this question has been asked before but some googling hasn't turned up anything really relevant. We are currently running Dovecot 1.1.16 & Postfix; maildir++. When a message arrives for a mailbox which is over quota, it is bounced. Obviously, this isn't very desirable; the pri

Re: [Dovecot] Quota question.

2009-08-28 Thread Benny Pedersen
On Sat, August 29, 2009 00:04, Timo Sirainen wrote: > On Aug 28, 2009, at 6:00 PM, Benny Pedersen wrote: > .., concat('*:bytes=', quota) AS quota_rule FROM .. super solved it for me -- xpoint

Re: [Dovecot] Quota question.

2009-08-28 Thread Timo Sirainen
On Aug 28, 2009, at 6:00 PM, Benny Pedersen wrote: On Fri, August 28, 2009 23:46, Timo Sirainen wrote: On Fri, 2009-08-28 at 23:43 +0200, Benny Pedersen wrote: On Fri 14 Aug 2009 02:51:33 AM CEST, Timo Sirainen wrote in 1.1.16 i have also a problem with quotas, maildirsize file is not created

Re: [Dovecot] Quota question.

2009-08-28 Thread Benny Pedersen
On Fri, August 28, 2009 23:46, Timo Sirainen wrote: > On Fri, 2009-08-28 at 23:43 +0200, Benny Pedersen wrote: >> On Fri 14 Aug 2009 02:51:33 AM CEST, Timo Sirainen wrote >> in 1.1.16 i have also a problem with quotas, maildirsize file is not >> created with new size when mailbox is maked, and if q

Re: [Dovecot] Quota question.

2009-08-28 Thread Timo Sirainen
On Fri, 2009-08-28 at 23:43 +0200, Benny Pedersen wrote: > On Fri 14 Aug 2009 02:51:33 AM CEST, Timo Sirainen wrote > > > You should be able to just delete the user's quota row from SQL and then > > log in as the user and issue "GETQUOTAROOT INBOX" command. That should > > recalculate the quota, a

Re: [Dovecot] Quota question.

2009-08-28 Thread Benny Pedersen
On Fri 14 Aug 2009 02:51:33 AM CEST, Timo Sirainen wrote You should be able to just delete the user's quota row from SQL and then log in as the user and issue "GETQUOTAROOT INBOX" command. That should recalculate the quota, and in my tests a few days ago it did. But some other guy said that he c

Re: [Dovecot] Quota question.

2009-08-17 Thread Tom Diehl
On Mon, 17 Aug 2009, Timo Sirainen wrote: On Sun, 2009-08-16 at 09:09 -0400, Tom Diehl wrote: Actually it should be possible to just delete the row and let Dovecot recalculate the quota on next update, but currently this isn't working. I've a half-finished patch to make it work, but it's a pret

Re: [Dovecot] Quota question.

2009-08-17 Thread Timo Sirainen
On Sun, 2009-08-16 at 09:09 -0400, Tom Diehl wrote: > > Actually it should be possible to just delete the row and let Dovecot > > recalculate the quota on next update, but currently this isn't working. > > I've a half-finished patch to make it work, but it's a pretty big > > change. v1.2.4 anyway h

Re: [Dovecot] Quota question.

2009-08-16 Thread Tom Diehl
On Thu, 13 Aug 2009, Timo Sirainen wrote: On Thu, 2009-08-13 at 10:31 -0400, Tom Diehl wrote: What is the proper way to get the quota in the database to reflect what is actually in the users mailbox? .. quota: dict:user::proxy::quotadict .. quotadict: mysql:/etc/dovecot/dovecot-dict-q

Re: [Dovecot] Quota question.

2009-08-14 Thread Timo Sirainen
On Aug 14, 2009, at 8:12 AM, Tom Diehl wrote: 2 BAD Error in IMAP command GETQUOTAROOT: Unknown command. You need to add imap_quota to mail_plugins.

Re: [Dovecot] Quota question.

2009-08-14 Thread Tom Diehl
Hi Timo, Thanks for the reply. On Thu, 13 Aug 2009, Timo Sirainen wrote: On Thu, 2009-08-13 at 10:31 -0400, Tom Diehl wrote: What is the proper way to get the quota in the database to reflect what is actually in the users mailbox? .. quota: dict:user::proxy::quotadict .. quotadict:

Re: [Dovecot] Quota question.

2009-08-13 Thread Timo Sirainen
On Thu, 2009-08-13 at 10:31 -0400, Tom Diehl wrote: > What is the proper way to get the quota in the database to reflect what is > actually in the users mailbox? .. >quota: dict:user::proxy::quotadict .. >quotadict: mysql:/etc/dovecot/dovecot-dict-quota.conf You should be able to just dele

[Dovecot] Quota question.

2009-08-13 Thread Tom Diehl
Hi, I am trying to get quota working properly on dovecot 1.2.3 with postfix admin, amavisd-new, mysql, and postfix. So far I can see the db getting updated when messages are added and deleted from the mailbox. The problem I am having is that I have imported a bunch of messages from the old mail

Re: [Dovecot] New to list, got a quota question

2009-03-13 Thread Vlad Sedov
Timo Sirainen wrote: On Fri, 2009-03-13 at 17:05 -0500, Vlad Sedov wrote: I think I figured it out... I reformatted all of the quotas from the old vpopmail style (e.g. 400M, which is 400 megabytes) to the Maildir++ format (e.g. 419430400S,2000C which is 400MB or 2000 messages quota). Here'

Re: [Dovecot] New to list, got a quota question

2009-03-13 Thread Timo Sirainen
On Fri, 2009-03-13 at 17:05 -0500, Vlad Sedov wrote: > I think I figured it out... > > I reformatted all of the quotas from the old vpopmail style (e.g. 400M, > which is 400 megabytes) to the Maildir++ format (e.g. 419430400S,2000C > which is 400MB or 2000 messages quota). > Here's my new user_q

Re: [Dovecot] New to list, got a quota question

2009-03-13 Thread Vlad Sedov
I think I figured it out... I reformatted all of the quotas from the old vpopmail style (e.g. 400M, which is 400 megabytes) to the Maildir++ format (e.g. 419430400S,2000C which is 400MB or 2000 messages quota). Here's my new user_query (we don't limit by message count, hence 0C... UID/GID is s

Re: [Dovecot] New to list, got a quota question

2009-03-13 Thread Timo Sirainen
On Fri, 2009-03-13 at 09:09 -0500, Vlad Sedov wrote: > My vpopmail installation keeps the quota information in the mysql > database (pw_shell field) instead of maildirsize. The quota is in > maildir format, e.g. 400M or 50331648S. The 400M means 400 messages, right? "backend" limit is supposed

[Dovecot] New to list, got a quota question

2009-03-13 Thread Vlad Sedov
Hello folks - I'm running dovecot on top of qmail/vpopmail/mysql, serving up about 2500 mailboxes. Everything is running very smooth and fast I recently upgraded dovecot to 1.1, so I'm trying to implement some extra features like IMAP quotas. I'm using the sql passdb, with the following c

Re: [Dovecot] dbox and quota question

2008-07-15 Thread Benny Pedersen
On Sat, July 12, 2008 13:29, Robert Schetterer wrote: > i dont wanna use dict , i only wanna use the qutoas out of sql crated by > postfixadmin > > has someone used this ever ? driver = mysql connect = host=localhost dbname=postfix user=postfix password=password default_pass_scheme = MD5-CRYPT p

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Robert Schetterer
Timo Sirainen schrieb: On Jul 12, 2008, at 7:08 PM, Robert Schetterer wrote: concat('*:storage=', ROUND( mailbox.quota / 1024 ) ) AS quota, \ cant work with dict, working on it It doesn't work with v1.1 in general. Use "AS quota_rule". Also an easier way to use bytes quota is: concat('*:by

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Timo Sirainen
On Jul 12, 2008, at 7:08 PM, Robert Schetterer wrote: concat('*:storage=', ROUND( mailbox.quota / 1024 ) ) AS quota, \ cant work with dict, working on it It doesn't work with v1.1 in general. Use "AS quota_rule". Also an easier way to use bytes quota is: concat('*:bytes=', mailbox.quota)

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Robert Schetterer
Robert Schetterer schrieb: Timo Sirainen schrieb: On Sat, 2008-07-12 at 17:07 +0200, Robert Schetterer wrote: sorry i read dict stuff and i dont understand it i have no idea to make this work out of the wiki .. ok i allready have my quota tables from postfix admin and i am unclear about the q

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Robert Schetterer
Timo Sirainen schrieb: On Sat, 2008-07-12 at 17:07 +0200, Robert Schetterer wrote: sorry i read dict stuff and i dont understand it i have no idea to make this work out of the wiki .. ok i allready have my quota tables from postfix admin and i am unclear about the query i need as well how to s

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Timo Sirainen
On Sat, 2008-07-12 at 17:07 +0200, Robert Schetterer wrote: > sorry i read dict stuff > and i dont understand it > i have no idea to make this work out of the wiki .. > ok i allready have my quota tables > from postfix admin > and i am unclear about the query i need > as well how to set this in plu

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Robert Schetterer
Timo Sirainen schrieb: On Sat, 2008-07-12 at 16:38 +0200, Robert Schetterer wrote: Timo Sirainen schrieb: On Sat, 2008-07-12 at 16:12 +0200, Robert Schetterer wrote: I think existing quotas in sql could be used if dovecot would ignore that no maildir storage is used and simply interpretes exis

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Timo Sirainen
On Sat, 2008-07-12 at 16:38 +0200, Robert Schetterer wrote: > Timo Sirainen schrieb: > > On Sat, 2008-07-12 at 16:12 +0200, Robert Schetterer wrote: > I think existing quotas in sql could be used > if dovecot would ignore that no > maildir storage is used and simply > interprete

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Robert Schetterer
Timo Sirainen schrieb: On Sat, 2008-07-12 at 16:12 +0200, Robert Schetterer wrote: I think existing quotas in sql could be used if dovecot would ignore that no maildir storage is used and simply interpretes existing maildirsize files, which maybe created out of existing sql quota entries ( but

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Timo Sirainen
On Sat, 2008-07-12 at 16:12 +0200, Robert Schetterer wrote: > >> I think existing quotas in sql could be used > >> if dovecot would ignore that no > >> maildir storage is used and simply > >> interpretes existing maildirsize files, which maybe created out of > >> existing sql quota entries > >> (

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Robert Schetterer
Timo Sirainen schrieb: On Sat, 2008-07-12 at 14:10 +0200, Robert Schetterer wrote: i only wanna use the qutoas out of sql crated by postfixadmin What does this mean? Does it create the maildirsize files? Can't you have Dovecot look up the limits from SQL itself in user_query? sorry i was uncle

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Timo Sirainen
On Sat, 2008-07-12 at 14:10 +0200, Robert Schetterer wrote: > >> i only wanna use the qutoas out of sql crated by > >> postfixadmin > > > > What does this mean? Does it create the maildirsize files? Can't you > > have Dovecot look up the limits from SQL itself in user_query? > > sorry i was uncl

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Robert Schetterer
Timo Sirainen schrieb: On Sat, 2008-07-12 at 13:29 +0200, Robert Schetterer wrote: Hi all, i am asking myself how quota is done with dbox in a virtual setup with having quotas in sql dove 1.1.1 says quota maildir: No maildir storages, ignoring quota lda means quota maildir: No maildir storages,

Re: [Dovecot] dbox and quota question

2008-07-12 Thread Timo Sirainen
On Sat, 2008-07-12 at 13:29 +0200, Robert Schetterer wrote: > Hi all, > i am asking myself > how quota is done with dbox in a virtual setup > with having quotas in sql > > dove 1.1.1 > says quota maildir: No maildir storages, ignoring quota > lda means quota maildir: No maildir storages, ignoring

[Dovecot] dbox and quota question

2008-07-12 Thread Robert Schetterer
Hi all, i am asking myself how quota is done with dbox in a virtual setup with having quotas in sql dove 1.1.1 says quota maildir: No maildir storages, ignoring quota lda means quota maildir: No maildir storages, ignoring quota which is right i dont wanna use dict , i only wanna use the qutoas o

Re: [Dovecot] delivery and quota question

2007-06-03 Thread Timo Sirainen
On Sat, 2007-05-26 at 00:23 +0200, Arkadiusz Miskiewicz wrote: > Hi, > > I'm considering using delivery for delivering emails. The question is about > quota. Does delivery check quota for single maildir or for entire collection > of user folders? > > Example: > /var/mail/user/{new,cur,tmp} > /v

[Dovecot] delivery and quota question

2007-05-25 Thread Arkadiusz Miskiewicz
Hi, I'm considering using delivery for delivering emails. The question is about quota. Does delivery check quota for single maildir or for entire collection of user folders? Example: /var/mail/user/{new,cur,tmp} /var/mail/user/.Some_Folder/{new,cur,tmp} /var/mail/user/.Some_Other_Folder/{new,c