How to exclude "Archived" email from Quota usage ?

2019-06-06 Thread Jayesh Shinde
Hi , I am testing Archiving feature with Cyrus-imapd-3.0.9 . Is it possible to exclude the mailbox quota for "Archived emails" ( which is in different partition ) and only consider mailbox quota of default partition ? OR Is it possible to know how much quota used for end user

Re: script to check quota failed

2019-03-19 Thread Stephane Branchoux
Hello, My solution was to rename a user sub folder whose length was 240 caracters ( file name too long). open("/var/lib/imap/quota/a/user.myuser.Diffusion 2nd degr&AOk-.Circulaire relative au d&AOk-tachement de fonctionnaires dans les corps enseignants du second degr&AOk-,

Re: script to check quota failed

2019-03-18 Thread Simon Matter via Info-cyrus
> Hi, > > seems that there is a problem with your cyrus quota tree > (/var/lib/cyrus/quota) or at least some of its files. In the case of RHEL6 this will be /var/lib/imap/quota/. I suggest to look at the quota files there, they have names like user. and are text files with two line

Re: script to check quota failed

2019-03-18 Thread Anthony Prades via Info-cyrus
Hi, seems that there is a problem with your cyrus quota tree (/var/lib/cyrus/quota) or at least some of its files. Maybe strace command may help you find which files are corrupt: su - cyrus -c "strace /usr/lib/cyrus-imapd/quota user" Anthony Prades On 3/18/19 2:32 PM, Stephane Branc

script to check quota failed

2019-03-18 Thread Stephane Branchoux
Hello, We run cyrus-imapd-2.3.16-6 on a Red Hat Enterprise Linux Server release 6.10. 2 days ago, a power crash occured in our Datacenter. After reboot of cyrus imap, all seems ok except our script to check quota : su - cyrus -c "/usr/lib/cyrus-imapd/quota user" failed building

Re: HELP: Can't fix quota, it seems renamed-back mailbox doesn't exists at all

2018-12-05 Thread Javier Angulo
5C0695AA -> > user.planejamento^funbosque.Trash > Dec  4 13:04:18 localhost cyrus/imap[39601]: Deleted mailbox > DELETED.user.planejamento^funbosque.Trash.5C0695AA > > All the files are there on the filesystem, but the quota usage isn't > right. I've already tr

HELP: Can't fix quota, it seems renamed-back mailbox doesn't exists at all

2018-12-04 Thread Heiler Bemerguy via Info-cyrus
sque.Trash Dec  4 13:04:18 localhost cyrus/imap[39601]: Deleted mailbox DELETED.user.planejamento^funbosque.Trash.5C0695AA All the files are there on the filesystem, but the quota usage isn't right. I've already tried   cyrus reconstruct -r -f user/planejamento^funbosque   cyrus quot

Re: Invalid user returned from quota -f command

2018-08-07 Thread Hiago Prata
I'm running Cyrus version 2.5.10. On 2018-07-23 23:44, ellie timoney wrote: > Hi, > > Which version of Cyrus are you using? > > Cheers, > > ellie > > On Thu, Jul 19, 2018, at 12:31 AM, Hiago Prata wrote: > > Hi, many users have been complaining a

Re: Invalid user returned from quota -f command

2018-07-23 Thread ellie timoney
Hi, Which version of Cyrus are you using? Cheers, ellie On Thu, Jul 19, 2018, at 12:31 AM, Hiago Prata wrote: > Hi, many users have been complaining about their quota usage being > displayed wrongly. When trying to solve that using *quota -f*, the > command returned a System I/O Err

Invalid user returned from quota -f command

2018-07-18 Thread Hiago Prata
Hi, many users have been complaining about their quota usage being displayed wrongly. When trying to solve that using QUOTA -F, the command returned a System I/O Error due to the nonexistence of some invalid mailboxes that are not even listed under CTL_MBOXLIST -D, such as: '' (empty s

Re: over quota not working

2018-07-11 Thread ellie timoney
Hi Rudolf, Have you checked the output from quota(8) to see if the quota database contents look sensible? What value do you have for the unixhierarchysep imapd.conf setting? Cheers, ellie On Tue, Jul 10, 2018, at 11:30 PM, Rudolf Gabler wrote: > Hi, > > On the stable release 3.

over quota not working

2018-07-10 Thread Rudolf Gabler
Hi, On the stable release 3.0.7 (self-compiled on centos 6) I have lmtp_over_quota_perm_failure: on lmtp_strict_quota: on in my imapd.conf. I came from 2.5.5 where quotas where in effect but now messages are delivered even when the user is overquota. What may be the problem? Regards, Rudi G.

Re: IMAPD Missing quota root

2018-05-23 Thread James B. Byrne via Info-cyrus
On Wed, May 23, 2018 03:18, Michael Menge wrote: > Hi, > > > Quoting "James B. Byrne via Info-cyrus" > : > >> We have a problem with quota settings on a new v3.0.5 service. The >> mailboxes were transferred via rsync from oldserver:/var/spool/imap/ &

Re: IMAPD Missing quota root

2018-05-23 Thread Michael Menge
Hi, Quoting "James B. Byrne via Info-cyrus" : We have a problem with quota settings on a new v3.0.5 service. The mailboxes were transferred via rsync from oldserver:/var/spool/imap/ to newserver:/var/spool/imap The mailboxes.db was unloaded on the old server using mboxelist, tran

IMAPD Missing quota root

2018-05-22 Thread James B. Byrne via Info-cyrus
We have a problem with quota settings on a new v3.0.5 service. The mailboxes were transferred via rsync from oldserver:/var/spool/imap/ to newserver:/var/spool/imap The mailboxes.db was unloaded on the old server using mboxelist, transferred to the new server, and then loaded into an empty

Re: Cyrus 3.0.4 - Over quota returns 550-Mailbox unknown

2017-11-07 Thread ellie timoney
de as we can see with >> LOG_DEBUG>> "on": >> >> Nov 2 14:10:50 popc lmtp[2092]: verify_user(t...@sendmaid.org) >> failed:>> Over quota >> >> but this return code is not used in process_recipient >> >> There we have: >> [...] >

Re: Cyrus 3.0.4 - Over quota returns 550-Mailbox unknown

2017-11-02 Thread Bron Gondwana
> process_recipient:> > verify_user returns the correct error code as we can see with > LOG_DEBUG> "on": > > Nov 2 14:10:50 popc lmtp[2092]: verify_user(t...@sendmaid.org) > failed:> Over quota > > but this return code is not used in process_recipient &

Re: Cyrus 3.0.4 - Over quota returns 550-Mailbox unknown

2017-11-02 Thread Edda
Hi, that's surprising and the same here. I think there is a bug in imap/lmtpengine.c, function process_recipient: verify_user returns the correct error code as we can see with LOG_DEBUG "on": Nov  2 14:10:50 popc lmtp[2092]: verify_user(t...@sendmaid.org) failed: Over q

Cyrus 3.0.4 - Over quota returns 550-Mailbox unknown

2017-11-02 Thread Maros Vegh
Hello, i'm using compiled cyrus version 3.0.4 on Debian 9.2. When the Postfix server is trying to deliver a message via lmtp to cyrus mailbox which is over quota, it receives the 550-Mailbox unknown return code and not the 452 or 552 Over quota. In the previous version 2.5.10 it worked

Re: quota for whole virtual domain

2017-10-13 Thread Egoitz Aurrekoetxea
Good morning, I know you can do that with vpopmail mda and Qmail... Cheers, On 13/10/17 09:54, Vladislav Kurz wrote: > On 10/13/17 02:12, Nicola Nye wrote: >> Hi Vladislav, >> >> Will Quota Roots do what you're >> after? https://www.cyrusimap.org/imap/refere

Re: quota for whole virtual domain

2017-10-13 Thread Vladislav Kurz
On 10/13/17 02:12, Nicola Nye wrote: > Hi Vladislav, > > Will Quota Roots do what you're > after? https://www.cyrusimap.org/imap/reference/admin/quotas/quotaroots.html > <https://www.cyrusimap.org/imap/reference/admin/quotas/quotaroots.html?highlight=quota> Hi Nicol

Re: quota for whole virtual domain

2017-10-12 Thread Nicola Nye
Hi Vladislav, Will Quota Roots do what you're after? https://www.cyrusimap.org/imap/reference/admin/quotas/quotaroots.html[1] On Thu, Oct 12, 2017, at 09:01 PM, Vladislav Kurz wrote: > Hello all, > > is it possible to set quota for the whole virtual domain, instead of > ind

quota for whole virtual domain

2017-10-12 Thread Vladislav Kurz
Hello all, is it possible to set quota for the whole virtual domain, instead of individual mailboxes? -- Best Regards Vladislav Kurz Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https

Re: Sieve RFC5490 checks user quota usage

2017-03-22 Thread Paolo Cravero
wn machine, postfixes on another, imap proxies on third systems), Merlin's suggested approach is not practical.So, dealing locally with the output of quota helper tool is still the way to go. Simple. Stable. Flexible. Available.Paolo Cyrus Home Page: http://www.cyrusimap.org/ List Arch

Re: Sieve RFC5490 checks user quota usage

2017-03-21 Thread Nic Bernstein
Paolo, Attached is the script we've been using for ages for this purpose. Our uses LDAP as a source of user ID information, but it could be easily adapted for other AAA databases. Cheers, -nic On 03/21/2017 10:59 AM, Paolo Cravero wrote: And for Nic, yes, I mean the "IMAP STO

Re: Sieve RFC5490 checks user quota usage

2017-03-21 Thread Michael Menge
Hi, Quoting Paolo Cravero : And for Nic, yes, I mean the "IMAP STORAGE quota". I would like to warn the user that his quota is about to fill up through an email, triggered on new mail arrival or login. Why? Because not all clients support reading the quota over IMAP or handling an al

Re: Sieve RFC5490 checks user quota usage

2017-03-21 Thread Paolo Cravero
There is no mailbox annotation that exposes quota that could be used with the mboxmetadata extension (RFC5490) and there is no current Sieve extension for checking quota.Thank you Ken. Given the double negative answer I guess that developing such a feature would require a lot of work, or it is

Re: Sieve RFC5490 checks user quota usage

2017-03-21 Thread Merlin Hartley
Mar 2017, at 15:59, Paolo Cravero wrote: > > > >> There is no mailbox annotation that exposes quota that could be used with >> the mboxmetadata extension (RFC5490) and there is no current Sieve extension >> for checking quota. >> > Thank you Ken. Given

Re: Sieve RFC5490 checks user quota usage

2017-03-17 Thread Ken Murchison
There is no mailbox annotation that exposes quota that could be used with the mboxmetadata extension (RFC5490) and there is no current Sieve extension for checking quota. On 03/17/2017 11:01 AM, Paolo Cravero wrote: Hello. I am trying to figure out if sieve, with RFC5490 support, is able to

Re: Sieve RFC5490 checks user quota usage

2017-03-17 Thread Nic Bernstein
Paolo, Please clarify; when you say "disk quota," do you mean a filesystem level quota, or do you really mean IMAP STORAGE quota, as administered through Cyrus? -nic On 03/17/2017 10:01 AM, Paolo Cravero wrote: Hello. I am trying to figure out if sieve, with RFC5490 support,

Sieve RFC5490 checks user quota usage

2017-03-17 Thread Paolo Cravero
Hello. I am trying to figure out if sieve, with RFC5490 support, is able to read user's disk quota (used) and act accordingly. I would like to trigger a mail to "self" if quota is above a given percent. Something like a vacation message (so once a day or so), triggered on arrival

Re: Did calculating the quota change from 2.3 to 2.5?

2016-12-31 Thread Wolfgang Breyha via Info-cyrus
On 31/12/16 06:17, Bron Gondwana via Info-cyrus wrote: > If your cyrus.* files are identical then you have pretty weird mailboxes, > but yeah - I guess it could happen if you had two folders with identical > messages in identical order and all the timestamps identical. Especially empty mailbox cy

Re: Did calculating the quota change from 2.3 to 2.5?

2016-12-30 Thread Bron Gondwana via Info-cyrus
On Sat, 31 Dec 2016, at 10:57, Wolfgang Breyha via Info-cyrus wrote: > On 29/11/16 22:37, Jason L Tibbitts III via Info-cyrus wrote: > > Fun random question: Does anything blow up if you run hardlink on your > > mail spool? (The hardlink program finds identical files and hardlinks > > them.) > >

Re: Did calculating the quota change from 2.3 to 2.5?

2016-12-30 Thread Wolfgang Breyha via Info-cyrus
On 29/11/16 22:37, Jason L Tibbitts III via Info-cyrus wrote: > Fun random question: Does anything blow up if you run hardlink on your > mail spool? (The hardlink program finds identical files and hardlinks > them.) Using "hardlink" is IMO not save on imap spools since it also links cyrus.* files

Re: Did calculating the quota change from 2.3 to 2.5?

2016-11-30 Thread Adam Tauno Williams via Info-cyrus
> > If you use imapsync, it doesn't know about that, and will upload > > the same message twice. 2.5 doesn't have the smarts to recognise > > that it's the same message. > imapsync can only sync mail the old server knows about. And in the > end there is mo

Re: Did calculating the quota change from 2.3 to 2.5?

2016-11-30 Thread Marc Patermann via Info-cyrus
Bron, Am 29.11.2016 um 22:18 Uhr schrieb Bron Gondwana: Quota is a sum of byte sizes of raw unexpunged messages. It doesn't deduplicate. Likely issue is incorrect quota_mailbox_used in the cyrus.index header on 2.3. a reconstruct will fix those, then quota -f again. Does not change any

Re: Did calculating the quota change from 2.3 to 2.5?

2016-11-29 Thread Bron Gondwana via Info-cyrus
On Wed, 30 Nov 2016, at 08:37, Jason L Tibbitts III via Info-cyrus wrote: > > "BG" == Bron Gondwana via Info-cyrus > > writes: > > BG> If you use imapsync, it doesn't know about that, and will upload the > BG> same message twice. 2.5 doesn't have the smarts to recognise that > BG> it's t

Re: Did calculating the quota change from 2.3 to 2.5?

2016-11-29 Thread Jason L Tibbitts III via Info-cyrus
> "BG" == Bron Gondwana via Info-cyrus > writes: BG> If you use imapsync, it doesn't know about that, and will upload the BG> same message twice. 2.5 doesn't have the smarts to recognise that BG> it's the same message. Fun random question: Does anything blow up if you run hardlink on yo

Re: Did calculating the quota change from 2.3 to 2.5?

2016-11-29 Thread Bron Gondwana via Info-cyrus
Quota is a sum of byte sizes of raw unexpunged messages. It doesn't deduplicate. Likely issue is incorrect quota_mailbox_used in the cyrus.index header on 2.3. a reconstruct will fix those, then quota -f again. It's not related to du. The problem with imapsync is that it doesn'

Re: Did calculating the quota change from 2.3 to 2.5?

2016-11-29 Thread Marc Patermann via Info-cyrus
Bron, Am 29.11.2016 um 13:26 Uhr schrieb Bron Gondwana via Info-cyrus: No, the quota calculations are identical. It's possible that your quota was incorrectly calculated on the source server though. A quota -f there should correct the calculations. unluckily it does not. quota -f on

Re: Did calculating the quota change from 2.3 to 2.5?

2016-11-29 Thread Bron Gondwana via Info-cyrus
No, the quota calculations are identical. It's possible that your quota was incorrectly calculated on the source server though. A quota -f there should correct the calculations. Regards, Bron. On Tue, 29 Nov 2016, at 01:36, Marc Patermann via Info-cyrus wrote: > Hi, > > w

Did calculating the quota change from 2.3 to 2.5?

2016-11-28 Thread Marc Patermann via Info-cyrus
Hi, while migrating from 2.3 to 2.5 (see my last post here), mailboxes can not be synced, because the quota is exceeded on the new server. A mailbox which has a du of about 800 MB in a 900 MB quota mailbox fills the new mailbox by over 100%. Are meta files now calculated into the quota

failed repair quota: quota root does not exist

2016-10-13 Thread Sergey via Info-cyrus
Hello. I was encountered with the problem of updating quota: # su -l cyrus -s /bin/bash -c "/usr/lib/cyrus/quota -d my.dom -f" failed reading quota record for 'my.dom!u': Quota root does not exist failed building quota list for 'my.dom!': System I/O error: No such

Re: Quota root not removed if folder is on a different partition

2015-10-27 Thread Eric Luyten
goes under user's Trash on the > mailbox primary partition (user/me/Trash/arch...@example.com) and it gains the > default mailbox quota. Delayed delete/expunge is in action, FWIW. So far so > good. > > If the Archive folder is created again through a generic IMAP client, it is > crea

Quota root not removed if folder is on a different partition

2015-10-27 Thread Paolo Cravero
quotaroot. Something like cm user/me/arch...@example.com archivepartition sqr user/me/arch...@example.com 123456789 Then the Archive folder is deleted. It goes under user's Trash on the mailbox primary partition (user/me/Trash/arch...@example.com) and it gains the default mailbox quota.

Re: Problem with quota

2015-04-04 Thread Simon Matter
ion: 1". Duplicate messages are >>>> hardlinked on >>>> disk, they don't consume space there, but are still calculated in >>>> quota >>>> usage. >> >> Isn't that singleinstancestore:1 ? duplicatesuppression is where lmtpd >&g

Re: Problem with quota

2015-04-04 Thread Nic Bernstein
s are >>> hardlinked on >>> disk, they don't consume space there, but are still calculated in quota >>> usage. > > Isn't that singleinstancestore:1 ? duplicatesuppression is where lmtpd > will suppress delivery of a message to a mailbox if a message

Re: Problem with quota

2015-04-04 Thread Patrick Boutilier
Quoting Simon Matter , Sat, 04 Apr 2015: I guess that's because of single instance store. It's not a bug then but a feature if "duplicatesuppression: 1". Duplicate messages are hardlinked on disk, they don't consume space there, but are still calculated in

Re: Problem with quota

2015-04-04 Thread Rudy Gevaert
Quoting Simon Matter , Sat, 04 Apr 2015: > I guess that's because of single instance store. It's not a bug then but a > feature if "duplicatesuppression: 1". Duplicate messages are hardlinked on > disk, they don't consume space there, but are still calculated

Re: Problem with quota

2015-04-04 Thread Simon Matter
> /Hi, > we > - stoped cyrus-imapd > - reconstructed a mailbox (/usr/lib/cyrus-imapd/reconstruct -r -f > user."account") > ///- started cyrus-imapd/ > - deleted file /var/lib/imap/quota/"a"/user."account"// > - set quota (sq user."acco

Problem with quota

2015-04-03 Thread Antonella Monducci
/Hi, we - stoped cyrus-imapd - reconstructed a mailbox (/usr/lib/cyrus-imapd/reconstruct -r -f user."account") ///- started cyrus-imapd/ - deleted file /var/lib/imap/quota/"a"/user.////"account"// - set quota (sq user."account" 3000) -//recalculated

Re: Help on quota usage.

2014-02-17 Thread Anant Athavale
ng 1.6 GB, where as actual usage on > > file system is less than 1 GB. I want to know, how can get where is the > > additional quota sitting in /var/spool/imap partition for user xxx. > > > > > mbexamine user.xx | egrep '(Number.of.Messages|^Examining)&

Re: Help on quota usage.

2014-02-14 Thread John Wade
Isn't the most likely cause of cyrus quota showing more usage than file system the single instance store feature? (Assuming you have tried fixing the quota as others have suggested) If you do any lists or mass emailing with an MTA that can use the single instance store feature,

Re: Help on quota usage.

2014-02-14 Thread Adam Tauno Williams
I want to know, how can get where is the > >> additional quota sitting in /var/spool/imap partition for user xxx. > The underlying filesystem MAY have compression capabilities, which will most > certainly lead to 'du' returning a lower value than Cyrus 'list quota'.

Re: Help on quota usage.

2014-02-14 Thread Joseph Brennan
--On February 14, 2014 5:11:19 PM +0530 Anant Athavale wrote: > > > > Dear List, > > for one user, the lq user.xx is showing 1.6 GB, where as actual usage on > file system is less than 1 GB.  I want to know, how can get where is the > additional quota sitting in /var/

Re: Help on quota usage.

2014-02-14 Thread Eric Luyten
On Fri, February 14, 2014 1:30 pm, mayak wrote: > On 02/14/2014 12:41 PM, Anant Athavale wrote: > >> Dear List, >> >> >> for one user, the lq user.xx is showing 1.6 GB, where as actual usage on >> file system is less than 1 GB. I want to know, how can get wher

Re: Help on quota usage.

2014-02-14 Thread mayak
On 02/14/2014 12:41 PM, Anant Athavale wrote: > Dear List, > > for one user, the lq user.xx is showing 1.6 GB, where as actual usage > on file system is less than 1 GB. I want to know, how can get where > is the additional quota sitting in /var/spool/imap partition for user xxx

Help on quota usage.

2014-02-14 Thread Anant Athavale
Dear List, for one user, the lq user.xx is showing 1.6 GB, where as actual usage on file system is less than 1 GB. I want to know, how can get where is the additional quota sitting in /var/spool/imap partition for user xxx. Thanks in advance. -- anant athavale. bangalore Cyrus Home Page

Re: Remove quota using Cyrus::IMAP::Admin?

2013-07-25 Thread Sebastian Hagedorn
Thanks Nic, I should've checked the archives first :( -- Nic Bernstein is rumored to have mumbled on 25. Juli 2013 11:13:34 -0500 regarding Re: Remove quota using Cyrus::IMAP::Admin?: Sebastian, Please take a look at this thread from January of last year, which discusses the issue in

Re: Remove quota using Cyrus::IMAP::Admin?

2013-07-25 Thread Nic Bernstein
Sebastian, Please take a look at this thread from January of last year, which discusses the issue in full. http://comments.gmane.org/gmane.mail.imap.cyrus/36194 -nic On 07/25/2013 10:51 AM, Sebastian Hagedorn wrote: > Hi, > > you can remove the quota for a mailbox with cyradm by se

Remove quota using Cyrus::IMAP::Admin?

2013-07-25 Thread Sebastian Hagedorn
Hi, you can remove the quota for a mailbox with cyradm by setting the quota to none: $ cyradm cyrus Password: server> sq user/xxx none remove quota server> But when I try to do the same using Cyrus::IMAP::Admin I get an error, because a number is expected as argument. Is that a bu

Re: problems with quota files

2013-02-20 Thread Michael Menge
Quoting Robert Mueller : > >> I realized that quota shown for users with quota command is much less >> than real filesystem usage > > This is expected. > > cyrus quota is sum of size in bytes of each email. > > Disk quota used might be much higher because mi

Re: problems with quota files

2013-02-20 Thread Robert Mueller
> I realized that quota shown for users with quota command is much less > than real filesystem usage This is expected. cyrus quota is sum of size in bytes of each email. Disk quota used might be much higher because minimum size of a file on lots of filesystems is 1 block. Rob Cyru

Re: problems with quota files

2013-02-20 Thread Riccardo Veraldi
Hi, thanks for your reply. I do not have any particular single instance store setup... it is just a normal raid5 DELL Perc with SATA disks... Rick On 2/20/13 8:17 PM, Simon Matter wrote: >> Hello I am running cyrus 2.4.17 >> >> I realized that quota shown for users with quo

Re: problems with quota files

2013-02-20 Thread Simon Matter
> Hello I am running cyrus 2.4.17 > > I realized that quota shown for users with quota command is much less > than real filesystem usage > > an example: > > /usr/lib/cyrus-imapd/quota user.username > Quota % Used Used Root > 1500 34 5189501

problems with quota files

2013-02-20 Thread Riccardo Veraldi
Hello I am running cyrus 2.4.17 I realized that quota shown for users with quota command is much less than real filesystem usage an example: /usr/lib/cyrus-imapd/quota user.username Quota % Used Used Root 1500 34 5189501 user.username du -sh /var/spool/imap/m/user

Re: Cyrus 2.4 converting quota - maybe coding bug

2013-01-08 Thread Peter Allgeyer
84 Jan 8 09:55 proc/ > drwx-- 28 cyrus mail4096 Nov 10 2009 quota/ > -rw--- 1 cyrus mail 144 Dec 14 2011 quotas1.db > -rw--- 1 cyrus mail 996 Dec 14 2011 quotas2.db > -rw--- 1 cyrus mail 10244 Jan 8 10:00 quotas.db > > Should be ok. And why wan

Re: Cyrus 2.4 converting quota

2013-01-08 Thread Peter Allgeyer
ail 1955692 Jan 8 10:00 mailboxes.db -rw-r--r-- 1 cyrus mail 1599521 Jan 6 22:39 mailboxes.txt drwx-- 2 cyrus mail 6 Oct 22 2009 msg/ drwx-- 2 cyrus mail 16384 Jan 8 09:55 proc/ drwx-- 28 cyrus mail4096 Nov 10 2009 quota/ -rw--- 1 cyrus mail 144 Dec 14 2011 quotas1

Re: Cyrus 2.4 converting quota

2013-01-08 Thread Antonio Conte
failed to rename > upgraded file /var/imap/config/quotas.db > > Database for quota should be skiplist, as defined in /etc/imapd.conf. > Anyone who can explain, what's going on there? > > best regards permissions on file/directory ? -- Never try to teach a pig to sing.

Cyrus 2.4 converting quota

2013-01-08 Thread Peter Allgeyer
plist to quotalegacy Jan 8 09:55:49 mail04 cyrus/ctl_cyrusdb[2280]: skiplist: checkpointed /var/imap/config/quotas.db (178 records, 10244 bytes) in 0 seconds Jan 8 09:55:50 mail04 cyrus/ctl_cyrusdb[2280]: failed to rename upgraded file /var/imap/config/quotas.db Database for quota should be ski

Re: lost quota root

2012-09-04 Thread Michael Menge
Hi, diging into this I found that the "quota -f user" tiggert a bug in the quota legacy db. Only a small part of the quotaroots where found and the quotaroot for all other mailboxes was set to none See https://bugzilla.cyrusimap.org/show_bug.cgi?id=3735 for details. Regards Mic

lost quota root

2012-09-03 Thread Michael Menge
Hi, after Upgrading Cryrus 2.3.16 to 2.4.16 we discovered a problem with quota. The QUOTAROOT information seems to get lost. We use quotalegacy as quota_db backend. Here is the telemetry logging with lost quotaroot: <1346654675<00b0 GETQUOTAROOT INBOX 1346654675>* QUOTAR

Re: Differences in imap quota reporting between v2.2.13 and v2.3.16]

2012-05-16 Thread James B. Byrne
On Tue, May 15, 2012 17:08, Dan White wrote: > What you describe sounds like what would happen if there were a > quotaroot defined at each sub-hierarchy level, rather than at > just the user's INBOX level. This is indeed the case. > > What does the output of quota/cyrquo

Re: Differences in imap quota reporting between v2.2.13 and v2.3.16

2012-05-15 Thread Dan White
determine I >have followed the upgrade instructions at >http://cyrusimap.web.cmu.edu/docs/cyrus-imapd/2.3.16/install-upgrade.php. > >The data transfer and SELinux considerations completed successfully as >did the mailbox reconstruction and quota updates. The new service is >running

Differences in imap quota reporting between v2.2.13 and v2.3.16

2012-05-15 Thread James B. Byrne
://cyrusimap.web.cmu.edu/docs/cyrus-imapd/2.3.16/install-upgrade.php. The data transfer and SELinux considerations completed successfully as did the mailbox reconstruction and quota updates. The new service is running and I can administer user mailboxes. However, the quota usage reported for user accounts under

Re: How the quota as calculated by cyrus.

2012-03-30 Thread Adam Tauno Williams
Quoting Manuel Vazquez : > I has the next question, how cyrus calculated the quota occupied by user? > This is very important but my server don't calculated correctly but error > in many accounts and his folder. What are the errors? Version of Cyrus? Have you tried forcing a quo

How the quota as calculated by cyrus.

2012-03-30 Thread Manuel Vazquez
I has the next question, how cyrus calculated the quota occupied by user? This is very important but my server don't calculated correctly but error in many accounts and his folder. Un saludo. -- Manuel Vázquez. Técnico Informático. manuel.vazquez.gonza...@hotmail.com titocer...@gmai

Re: total space = (used quota) + (to be expunged)?

2012-02-07 Thread Greg Banks
Sent from my iPhone On 08/02/2012, at 0:51, Adam Tauno Williams wrote: > Quoting Andre Felipe Machado : > >> Hello >> After reading some archived list msg [1], and database formats doc >> (quotas >> topic)[2], I realized that there is not a "high level" cyrus command >> to display >> total

Re: total space = (used quota) + (to be expunged)?

2012-02-07 Thread Adam Tauno Williams
Quoting Andre Felipe Machado : > Hello > After reading some archived list msg [1], and database formats doc (quotas > topic)[2], I realized that there is not a "high level" cyrus command > to display > total disk/partition space actually used at a Cyrus imap backend. > In order to get exact (app

Re: total space = (used quota) + (to be expunged)?

2012-02-06 Thread Greg Banks
On Mon, Feb 6, 2012, at 09:58 PM, Andre Felipe Machado wrote: > Hello > After reading some archived list msg [1], and database formats doc > (quotas > topic)[2], I realized that there is not a "high level" cyrus command to > display > total disk/partition space actually used at a Cyrus imap backe

total space = (used quota) + (to be expunged)?

2012-02-06 Thread Andre Felipe Machado
Hello After reading some archived list msg [1], and database formats doc (quotas topic)[2], I realized that there is not a "high level" cyrus command to display total disk/partition space actually used at a Cyrus imap backend. In order to get exact (approximated when single instance store is enab

Re: [SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-18 Thread Wolfgang Breyha
at isn't correct according to RFC2087. It works only because the > server is deliberately not enforcing syntax correctly, to workaround a bug in > a > different part of the code. Yes, it's wanted behaviour;-) cyrus uses quota -1 if a quotaroot is set, but quota is unlimited. If a

Re: [SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-18 Thread Greg Banks
G'day, On Tue, Jan 17, 2012, at 01:18 PM, Wolfgang Breyha wrote: > Ram wrote, on 17.01.2012 12:17: > > I am using cyrus-imapd-2.4.12-2 > > As Wolfgang suggested using > > $imap->setquota("user/$user") removed the quota. > > Looking at the code of Cyr

Re: [SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Wolfgang Breyha
Ram wrote, on 17.01.2012 12:17: > I am using cyrus-imapd-2.4.12-2 > As Wolfgang suggested using > $imap->setquota("user/$user") removed the quota. Looking at the code of Cyrus::IMAP::Admin there is no code checking for "none" or something like that. There are t

[SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
, > > Bron. I am using cyrus-imapd-2.4.12-2 As Wolfgang suggested using $imap->setquota("user/$user") removed the quota. Problem solved Thanks Ram Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Wolfgang Breyha
Ram wrote, on 17.01.2012 12:03: > That means we omit the word "STORAGE" , thanks .. will try that. Yes. I'm always setting "some" quota before to get it into a "defined" state to remove it afterwards. I use it for several years now and recently moved ~100k

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
On 01/17/2012 04:24 PM, Wolfgang Breyha wrote: > Bron Gondwana wrote, on 17.01.2012 11:36: >> On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: >>> http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ >>> There is a setquota function which should accept "none" for

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Bron Gondwana
On Tue, Jan 17, 2012, at 04:22 PM, Ram wrote: > No "-1" also gives an error not a number > > Interestingly set_quota function using CPAN module works fine with "none" > http://search.cpan.org/~eestabroo/IMAP-Admin-1.6.4/Admin.pm > > > But my GUI screens are already coded to use Cyrus::IMAP::A

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Wolfgang Breyha
Bron Gondwana wrote, on 17.01.2012 11:36: > On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: >> http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ >> There is a setquota function which should accept "none" for removing >> quota. But that does not work >> >

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
Bron Gondwana wrote: > > On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: >> http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ >> There is a setquota function which should accept "none" for removing >> quota. But that does not work >> >> How do I set unlimi

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Bron Gondwana
On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: > http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ > There is a setquota function which should accept "none" for removing > quota. But that does not work > > How do I set unlimited quota using the setquota function D

Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ There is a setquota function which should accept "none" for removing quota. But that does not work How do I set unlimited quota using the setquota function Cyrus Home Page: http://www.cyrusimap.org/ List Archives/

Re: Strange cyrus quota problem

2011-11-24 Thread Julien Coloos
Le 24/11/2011 11:09, Thomas Kirchtag a écrit : > I am rather new to cyrus imap. We took over a client who uses it and has a > strange quota problem. One single user keeps getting "Over quota" alerts > although cyrus (as well as the client show very small quota usage (24%...) >

Strange cyrus quota problem

2011-11-24 Thread Thomas Kirchtag
I am rather new to cyrus imap. We took over a client who uses it and has a strange quota problem. One single user keeps getting "Over quota" alerts although cyrus (as well as the client show very small quota usage (24%...) The cyrus log file shows sending the alert, a few lines below it

Re: deleted user, but quota remains

2011-11-08 Thread Eric Luyten
On Tue, November 8, 2011 2:50 pm, Shelley Waltz wrote: > I just noticed in my log files (cyrus-imapd-2.3.7 on redhat el5) that a user > I removed > a while ago(using cyradm), still has a /var/lib/imap/quota/k/user.kname file. > I am using > quotalegacy. All of the account is gon

Re: deleted user, but quota remains

2011-11-08 Thread Dan White
On 08/11/11 08:50 -0500, Shelley Waltz wrote: >I just noticed in my log files (cyrus-imapd-2.3.7 on redhat el5) that a user I >removed >a while ago(using cyradm), still has a /var/lib/imap/quota/k/user.kname file. >I am using >quotalegacy. All of the account is gone, but for thi

deleted user, but quota remains

2011-11-08 Thread Shelley Waltz
I just noticed in my log files (cyrus-imapd-2.3.7 on redhat el5) that a user I removed a while ago(using cyradm), still has a /var/lib/imap/quota/k/user.kname file. I am using quotalegacy. All of the account is gone, but for this. My cron job which uses ipurge spews error messages about the

Re: Usage of a user with unlimited quota.

2011-09-07 Thread Jeroen van Meeuwen (Kolab Systems)
Ashay Chitnis wrote: > Hi all, > > I am using cyrus-imapd-2.3.7 on a CentOS 5 32 bit platform. There are some > users with unlimited quota and some with limited quota. > > My problem is when I issue a GETQUOTAROOT command for an unlimited quota > user it returns nothing. T

Re: quota bug in 2.4 ?

2011-09-06 Thread Bron Gondwana
On Tue, Sep 06, 2011 at 05:23:15PM +0300, Eero Hänninen wrote: > Is this normal, or known bug, or need to be fill in bugzilla ? :) Filed and fixed for 2.4.11 - which will be out real-soon-now[tm]. Bron. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.ed

quota bug in 2.4 ?

2011-09-06 Thread Eero Hänninen
Hi.. In some reasons my cyrus host quotas.db has crashed, so I have recovered them by setting quotas again over IMAP port with script and then run quota -f locally. In fixing process I discovered that if I have two users like bar and bar1 and bar have quota lets say for example 10mb and bar1

  1   2   3   4   5   6   7   8   9   10   >