search for: dirsize

Displaying 20 results from an estimated 142 matches for "dirsize".

2007 Mar 19
1
Adding ", S=size" to new message files when using "dirsize"
When APPENDing new message files to an IMAP Maildir, Dovecot 1.0 rc27 can be configured to add ",S=size" to the filename. That allows it to be calculated with the "dirsize" quota plugin (and MTA's such as Exim). However, Dovecot only seems to do that when the "maildir" quota plugin is specified (from "quota-maildir.c"): /* For newly generated filenames add ,S=size. */ storage->save_size_in_filena...
2007 Jan 29
1
dirsize quotas crashing 1.0.rc19
Hi, I've been trying to get dirsize quotas to work properly with 1.0rc19 and Dovecot consistently crashes when attempting to do file copies once a user is over quota. Dovecot works fine for us for regular mbox based IMAP, but as soon as I add the following two entries in their respective locations in dovecot.conf: mail_plugins =...
2009 Feb 05
1
dirsize quota in sql pass db?
Is there a way to return a per user dirsize quota from a passdb sql lookup? If so, what is the syntax? maybe "select quota as userdb_quota"? ..and in mysql table, quota column would be: "quota=dirsize:storage=10240" ? I'm using mbox, with /etc/passwd userdb, and mysql passdb. Thanks, Ken -- Ken Anderson Pacific....
2007 Aug 31
2
dirsize quota assertion problem
Our current virtual mailbox configuration is not compatible with one of the assertions in the dovecot quota plugin's assertions in quota-dirsize.c. I believe the assertion is incorrect, but I would also be happy if I could get the same result with a better configuration setting. Here is a sample passdb entry which causes the quota assertion to fail: test at example.com:<snip>:3007:1000::/usr/boxes/username/example.com::userdb_mail...
2009 Aug 21
2
quota-dirsize and mailbox rules
I noticed that the dirsize backend for quota didn't support any rules and figured it should be easy enough to add ``ignore'' at least. Using mbox storage and only tested with that, but it seems to work as expected for the time being. I'm attaching a relatively small patch for quota-dirsize.c against doveco...
2011 Sep 09
1
dovecot 2.0.12: mdbox & quota=dirsize
#doveconf -v ...................... ? quota = dirsize:User quota ? quota_debug = yes ? quota_exceeded_message = message ? quota_warning = storage=95%% quota-warning 95 %u ? quota_warning2 = storage=80%% quota-warning 80 %u ............................? # du --max-depth=1 -h 311M??? ./storage 20K???? ./sieve 7,8M??? ./mailboxes 319M??? . # doveadm quot...
2008 May 23
4
Error while set mailQuota=0 with mbox and LDAP backend
...eref = never user_filter = (&(mail=%u)(objectClass=qmailUser)(accountStatus=active)) pass_filter = (mail=%u) pass_attrs = userPassword=password user_global_uid = 2000 user_global_gid = 2000 default_pass_scheme = CRYPT user_attrs = homeDirectory=home,mailMessageStore=dirsize:mail,mailQuota=quota=dirsize:storage -------------- End /etc/dovecot-ldap.conf --------------- transport entry in Postfix master.cf: ----------- /etc/postfix/master.cf ---------------- dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dove...
2009 Oct 06
4
how to "hide" mailbox from the IMAP clients
Hello, everyone! Is it possible to "hide" mailbox from the IMAP clients, so as to prevent any user from subscribing to the some folders? My storages are "mbox maildir". For example, to hide the directory where the personal Sieve scripts are stored or etc. =kostik
2007 Dec 02
1
Dirsize quotas with 1.1beta9
Hi, Anyone able to get 'dirsize' quotas to work properly under 1.1beta9? I can get them to reflect the size of the INBOX properly, but it never seems to be adding up the size of the files in the folder directory itself. I'll keep hammering away at it if others are able to use dirsize with no problems, but wanted to chec...
2007 Feb 13
2
lda quota in sql works but is ignored
Hi, (dovecot latest vers) i have lda deliver up with quota and sql, but it seems that deliver simply ignores it, normally it should bounce the message deliver(tester at example.de): Feb 13 15:31:32 Info: auth input: gid=1001 deliver(tester at example.de): Feb 13 15:31:32 Info: auth input: quota=dirsize:storage=3072000 deliver(tester at example.de): Feb 13 15:31:32 Info: Home dir not found: /usr/local/virtual/tester at example.de/ deliver(tester at example.de): Feb 13 15:31:32 Info: Loading modules from directory: /usr/lib64/dovecot/modules/lda deliver(tester at example.de): Feb 13 15:31:32 Info:...
2006 Aug 16
5
ldap quota limitation problem
...# dovecot.conf PROTOCOL IMAP mail_plugins = quota imap_quota PROTOCOL POP3 mail_plugins = quota LDA mail_plugins = cmusieve # quota PLUGIN quota = maildir:storage=256000 ######################## dovecot-ldap.conf user_attrs = uid,homeDirectory,,uid,uidNumber,gidNumber,quotaStorage=mailQuotaSize=dirsize:storage ############################# Amadou TOURE Sonatel Multimedia, 136 Sacre Coeur, Pyrotechnique, BP 21100 Dakar Tel +221-8699810. Fax +221-8641094 http://www.sentoo.sn DAKAR - SENEGAL -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipe...
2013 Aug 02
1
Custom quota setup
(Dovecot 2.2-ee) We have a weird quota requirement, we have file storage that we manage through our own APIs but want that usage to come out of the user's mail quota. The usage is in a maildirsize like file uncreatively called filestoresize in the user's maildir. In the past we've been doing this by modifying the quota plugin and re-compiling, but it seems like it should be possible to do this via configuration. Is there a way to add a quota setting pointing at this file for addi...
2007 Feb 15
1
strange LDA error
...dovecot: auth-worker(default): mysql: Connected to localhost (postfix) Feb 15 14:08:03 alpha dovecot: auth-worker(default): sql(attaba at balazsiek.hu): SELECT concat('/var/vmail/', maildir) as home, concat('maildir:/var/vmail/', maildir) as mail, 101 A S uid, 12 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = 'attaba at balazsiek.hu' AND active = '1' Feb 15 14:08:03 alpha dovecot: auth(default): master out: USER 1 attaba at balazsiek.hu home=/var/vmail/balazsiek.hu/attaba/ mail=maildir:/var/vmail/balazsiek.hu/attaba / u...
2007 Feb 26
2
Quota stored in LDAP
Hie folks, Does anyone have any experiences using dovecot + per user quota + ldap? I've configured my settings as this example: # quotaStorage must be in the format mentioned above # For example: dirsize:storage=10240 user_attrs = uid,homeDirectory,,,uidNumber,gidNumber,quotaStorage=quota But, Dovecot isn't creating maildirsize file. Any guesses? PS: I've already instaled 1.0rc24 Venilton C. Junior HPS Sercompe Computadores Ltda. Office: +55 47 3431-9700 Fax: +55...
2007 Mar 01
1
Deleting when Over Quota
...the right commands to delete messages WITHOUT the copy to Trash? Lastly - even if it is the MUA's responsibility - will Dovecot not still have a problem with indexes? I suspect perhaps not if: A. When using FS Quotas you store the indexes in a non quota partition B. When using other quotas (dirsize / maildir++), Dovecot does not count the index files when counting up the usage. Is B true? Best wishes, Daniel
2006 Oct 19
2
performance problems with rc10 and solaris 10
...ompiled rc10 again --with-debug=yes and start dovecot with solaris truss truss tells nothing to explain this behavor logentrys from dovecot has this warnings: --> dovecot: Oct 18 14:51:47 Warning: IMAP(saar): Growing pool 'storage' with: 1024 dovecot: Oct 18 14:51:47 Info: IMAP(saar): dirsize quota limit = 750000kB dovecot: Oct 18 14:51:47 Warning: IMAP(saar): Growing data stack with: 32768 dovecot: Oct 18 14:51:47 Warning: IMAP(saar): Growing data stack with: 65536 dovecot: Oct 18 14:51:48 Warning: IMAP(saar): Growing data stack with: 131072 dovecot: Oct 18 14:51:48 Warning: IMAP(saar)...
2006 Dec 15
2
Dovecot "open files" (again?)
...witched from courier because my research showed that Dovecot did indexes, and allows me to store them anywhere I chose. I did this, and it fixed some severe disk IO issues that my server had. (25k horde only webmail install using imap proxy). I'm using quotas, and by default had it set to 'dirsize'. my postfix is already creating 'maildirsize' files, so I opted to change dovecot to use this instead. However, when I do, I run into the "too many open files" issue that's been reported many times on the list. I've seen a lot of mention of too many open files, but I...
2008 May 18
2
problem about mbox with quota
Hi, all. Does mbox format support quota? I got this error in log file: dovecot: May 18 02:10:36 Error: POP3(www at a.cn): Unknown quota backend: storage=10240 How can i solved it? Thanks very much. :) My dovecot configuration: # /etc/dovecot.conf log_path: /var/log/dovecot.log protocols: pop3 pop3s imap imaps ssl_cert_file: /etc/pki/dovecot/certs/dovecotCert.pem ssl_key_file:
2008 Jul 27
3
imap processes eating IO
[Ignore the previous e-mail, I somehow sent it when I was trying to paste from clipboard] I recently migrated my dovecot/postfix setup to a new machine. After doing so, I have encountered a problem where imap processes get stuck in a loop eating loads of IO on the machine. Looking at the trace (snippet below), it looks like they are sitting and reading the inbox and other folders of
2007 Feb 08
1
Lda does not query pgsql
...ovecot.sieve deliver(tognini): 2007-02-08 12:25:02 Info: msgid=<20070208112502.7706B3273D6 at arturo.cli.di.unipi.it>: saved mail to INBOX If i set quota variable in dovecot.conf, still no query but the global variable is used for all users: ... deliver(tognini): 2007-02-07 12:33:04 Info: dirsize quota limit = 1024kB ... My Debian server packages are: dovecot-common/unstable 1.0.rc22-1 postfix/testing 2.3.6-1 postgresql/testing 7.5.22 Dovecot.conf: protocols = imap imaps log_path = /var/log/dovecot.log log_timestamp = "%Y-...