similar to: Delete old mails and refresh quota

Displaying 20 results from an estimated 9000 matches similar to: "Delete old mails and refresh quota"

2008 Jun 05
2
Get the size of a maildir
Hello. I would like to know it a 'proper' solution exist to get the size (in MB) of a maildir. Actually, to get it, I do a 'du -sh' but I'm not sure it is a good solution. And it does not return the same value than imap-quota. Is there a command, a tool, in Dovecot to get it? There is the maildirsize but it's very difficult to get the value with a script shell and with
2009 Jun 23
2
deliver does not update maildirsize
Hello, I have installed postfix 2.5.1 + dovecot 1.0.13 + MySQL and it all works perfectly. I use deliver as the local delivery agent and use IMAP only with maildir mailboxes. I am using virtual mailboxes. Now I wanted to introduce quotas, but I can't manage to make them work. Quota information is retreived from MySQL in userdb requests. I have noticed that the maildirsize file is not
2009 Feb 04
2
Expire plugin does not work
Hi. I test expire plugin for my dovecot 1.1.8. But, it seems to not work. I have 3 mailboxes on my machine. I want my messages in Junk and Trash expire after 1 day. I removed all messages in them before installing expire plugin. See my dovecot.conf: expire: Trash 1 Junk 1 expire_dict: proxy::expire My dabatases in /var/lib/dovecot are used. When I launch /usr/local/sbin/dovecot
2009 Jul 12
1
[BUG] Incorrect maildir quota value after maildirsize creation
I found a problem with maildir++ quota. When dovecot creates maildirsize file, it counts quota wrong. This is, how I reproduce a situation on version 1.2.0: First, I remove maildirsize file: # cd /var/mail/test # rm -f maildirsize # ls -la total 32 drwx--S--- 5 mbox mbox 4096 Jul 12 20:45 . drwxrwsr-x 3 root mbox 4096 Jul 12 20:39 .. drwx--S--- 2 mbox mbox 4096 Jul 9 20:45 cur -rw------- 1 mbox
2015 Feb 06
0
doveadm quota get doesn't recalculate quota (Maildir backend)
Hello, I've noticed that "doveadm quota get" doesn't recalculate quota if maildirsize file is missing for some reason. It just says quota is unknown, usage is 0. In contrast, vpopmail does regenerate maildirsize if it is missing. Reading the Maildir++ specification there is this part: ...If maildirsize does not exist, or if its size is at least 5120 bytes, recalculate
2011 Jul 19
1
Dovecot + Vpopmail quota issues
I can't get dovecot to ignore a certain directory/namespace when calculating quotas. I am running dovecot 1.2.16 with vpopmail configured for quotas. I use the dot (.) as my separator and my user structure is as follows: ../domain.com/user/Maildir for all the user directories I also have for each user: ../domain.com/user/Maildir/Archive which is a symlink to a NFS mounted
2011 Jun 09
0
old, deleted LUN still showing up after a virsh pool-refresh
Today I upgraded one of our KVM physical host servers to Centos 5.6. The other server remains on Centos 5.5. I've configured a storage pool in libvirt to use LUNs from an iscsi storage system as the volumes for each VM. After the upgrade, I decommisioned one of the VMs and removed the LUN from the storage system. Normally after this kind of operation, I simply need to run this command
2009 Feb 12
2
(Somewhat urgent) Problem with maildir++ quota
Hi. I have an strange problem with dovecot's maildir quota and postfix. I've tested quota and it works fine but sometimes there are users that having their Maildir/ empty, they trigger the "quota exceeded" message when someone sends email to them. Some config / version info: ### Versions: ii dovecot-common 1:1.0.10-1ubuntu5.1 ii dovecot-imapd
2007 Dec 19
2
maildirsize quota counting locking account?
Hi, I've just straced a dovecot imap process and found one thread sitting there doing hundreds and hundreds of maildirsize updates as follows: > > open("/home/virtual/mydomain.com/home/admin/Maildir/maildirsize", O_RDWR|O_APPEND) = 7 > read(7, "10485760000S\n1562717408 107547\n-"..., 5120) = 2446 > read(7, "", 2674) = 0 >
2008 Apr 28
1
1.1rc4 problem with maildir++ quota and POP3
Hi, it looks like there is a bug (in dovecot or in my config) with quota on maildir mailboxes when accessed via POP3. The maildirsize is not created when not already present (even after a DELE + QUIT command). The quota limit (the first line of maildirsize) is not updated if values are not in sync with those in the database. If maildirsize is present, DELE commands are correctly reported in
2009 Sep 09
2
Odd/Incorrect Quota Reporting on Dovecot 1.2.4 & FreeBSD4
Hi, Am seeing an odd problem on an old FreeBSD 4.11 box that I'm trying to get courier off, and dovecot on. At the same time, I'm trying to put some fairly simple quota support on, but getting very odd results. I think it might be better described with the log below, but, the gist of it is this: I have set a 1GB quota, and I was getting intermittent reports on the quota usage -
2008 Sep 03
1
umask and mails
Hello. I would like to have rights like 750 in my mailboxes (in /var/mail/vmails/domain.tld/user). http://wiki.dovecot.org/DovecotServerInstallations/RHEL/2_Users?highlight=(mask) I see an option called umask (in dovecot.conf). I set umask = 0750 in dovecot.conf. This option add good rights to directories, but not to the mail received (always in 700). Do you have a solution? Thanks. -- -
2017 Mar 06
0
quota-warning: possible to have size also?
Hi, I'am using a Maildir++ based quota setting which creates a maildirsize file in every Maildir. The first two lines of this file are the maximum quota in bytes then the actual consumption in bytes and number of messages, like so : 1073741824S 379317999 5169 This means this user has a quota of 1Gb and he is using ~ 379 Mb (you have to divide by 1024 to be more precise) Since the
2011 Feb 02
1
Quota ignore issue
Hi Timo, ok, in my dovecot setup, I have a setting to ignore messages in the Spam folder (I will put my dovecot -n at the end of the message), and a strange thing appears to be happening. If I do a quota recalc on an account, It creates the maildirsize file correctly, without the contents of the Spam folder calculated into the total used. But, it looks like when a new spam email is delivered,
2009 Jan 28
1
Differences when expire plugin and cronjob?
Hello. I would like to see the differnces between the expire plugin and a cronjob which make a find/delete. Is there performances differences? What's the best to use? I use dovecot 1.1.8. Is expire plugin update the maildirsize and other indexes files? Thanks. Regards, -- -Nicolas.
2007 Jul 24
3
quota: maildrop + dovecot. dovecot doesn't update maildirsize file
Hi all, I'm trying to implement quota support in postfix using maildrop + dovecot but I think dovecot doesn't update info stored in maildirsize file. # 1.0.2: /etc/dovecot/dovecot.conf base_dir: /var/run/dovecot/ listen: 127.0.0.1 ssl_listen: * ssl_ca_file: ... ssl_cert_file: ... ssl_key_file: ... ssl_cipher_list: ALL:!LOW:!SSLv2 login_dir: /var/run/dovecot/login login_executable:
2009 Sep 03
1
Maildir quota reporting
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm little confused with the way dovecot (1.2.4) is reporting quota. with this config protocols: imaps ssl: required ssl_ca_file: /root/cert/CA_Bundle_Trans.crt ssl_cert_file: /root/cert/mails.crt ssl_key_file: /root/cert/mails-key.pem.rsa disable_plaintext_auth: yes login_dir: /var/run/dovecot/login login_executable:
2007 Jan 24
1
too many open files error when using quota plugin
With the quota plugin loaded (even with a quota value of 0), I get errors like the following: open(/var/mailstore/01/1a/301620/Maildir/cur/1169654988.P22440Q0M696852.<hostname stripped>,S=4437552:2,Sbc) failed: Too many open files To do this, I have a folder with about 700 messages and I tell Thunderbird to run junkmail controls on it (fetches all messages). Watching an strace on the
2008 Oct 22
1
Dovecot and quota enforcement - only reporting?
I'm currently setting up postfix and dovecot with virtual users (mysql), imap, and quotas. I'm setting the quotas using mysql. I have quotas working correctly, and I can telnet into the imap server, and submit . getquotaroot inbox and get back valid quota information. I get a maildirsize file in the Maildir directory. Very cool. When I delete mail and expunge it, the quota updates.
2012 Apr 20
1
quota not being calculated
It looks like my quota isnt being calculated properly after I started setting quota to a specific folder. The quota in that folder is always starting out at 0, and only new email is being added to the quota. If I remove the maildirsize file, and recalculate, it still starts at 0. Once email arrives in the folder, it gets added to maildirsize. This is with maildirquota, in perhaps a bit of an