Displaying 20 results from an estimated 11000 matches similar to: "Deleting when Over Quota"
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
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
2008 Oct 08
3
postfix/dovecot/mysql quotas not working, default dovecot.conf does.
I'm having problems getting dovecot to set imap quotas that are
defined as individual quotas for virtual users using mysql. I'm using
postfix/dovecot 1.1.3, just built from source about a week ago.
I've been testing using telnet and getquotaroot. when I define the
quota in dovecot.conf
quota = dirsize
quota_rule = *:storage=102400
I get the following response from Dovecot:
2007 Aug 21
2
Imap service and quota
Hi, i have just migrated from courier-imap to dovecot. im using it with
vpopmail, the pop service is working ok but the imap service for imp
webmail is not writing the quota information to the maildirsize file, as
recommended in the docs, i have this in dovecot.conf :
plugin {
# Quota plugin. Multiple backends are supported:
# dirsize: Find and sum all the files found from mail
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
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 = quota imap_quota (in the imap{} section)
quota =
2007 Oct 08
1
v1.1 QUOTA and inbox quota
My mail agent is postfix and by default it imposes the INBOX size of 50
meg. I would like my imap mail clients (I'm using Thunderbird) to "see"
this and warn me when my inbox fills up. I tried doing it with the old
quota system but wasn't successful. With the new quota rule system it
looks like per-mailbox quotas are possible, however when I do this:
quota = maildir
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
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
dovecot-1.1.18 just in case anyone's interested.
Best Regards,
Thanos
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.Net
2011 Nov 09
1
Dovecot 2.0.15 quota configuration with mbox
Hello,
I've been trying to set up dovecot 2.0.15, everything seems to work
pretty well except for the quota feature. I would like to set a quota
limit only for the Inbox folder. I configured two namespaces, according
to some posts from Timo Sirainen
(http://dovecot.org/list/dovecot/2006-July/014530.html) &
(http://www.dovecot.org/list/dovecot/2011-January/056131.html) but I
2009 Oct 10
2
Problem with mbox and quota with 1.2 version
Hello list,
I am new with dovecot and i am trying to setup a simple mbox with quotas
setup. Here is my configuration.
dovecot -c /etc/dovecot.conf -n
# 1.2.6: /etc/dovecot.conf
# OS: Linux 2.6.21 i686 Fedora Core release 6 (Zod) ext3
log_path: /var/log/mail/dovecot
protocols: imap pop3
ssl: no
disable_plaintext_auth: no
login_dir: /usr/local/var/run/dovecot/login
login_executable(default):
2008 Jan 08
1
Sendmail, procmail, dovecot and quota
I have Fedora 7 from a standard installation running sendmail, procmail and dovecot 1.0 installed on a single partition. I now need to set up mail quotas for most of the users but not all. Just protecting /var/spool/mail/$LOGNAME is probably good enough for me. Since I just want mail quotas and the installation is on just 1 partition I don't have an easy way to use file system quotas. By
2015 Apr 28
2
Quotas not working after reboot
Hello,
after rebooting my dovecot server quotas are no longer working.
# dovecot --version
2.2.10
CentOS Linux release 7.0.1406
It is strange that restarting dovecot did not reveal this problem, but rebooting whole server did.
Before reboot it was like this:
# doveadm -D quota get -u test1 at testdomain1.tld
doveadm(root): Debug: Loading modules from directory: /usr/lib64/dovecot
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 check first.
--
Dean Brooks
dean at iglou.com
2007 Jan 08
1
Automatic mail script?
Hello!
I am setting up a Dovecot mailserver for around 2000 people with:
sendmail + dovecot + squirrelmail + spamassassin and some plugins.
I have the Imap quota working in mboxes with this quota commands:
plugin {
# 10MB quota limit
quota = dirsize:storage=10240
}
It worked good in Squirrelmail, but the person that only use some imap
program (outlook, eudora) don't get the info when
2006 Dec 15
2
Dovecot "open files" (again?)
I'm a new dovecot user, just began using it last week. I switched 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
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 quota get -u myuser
Quota
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:
2008 May 27
1
Dovecot 1.0 rc15 + Quota by user using mysql
Hi all,
I installed the Dovecot on a Debian by apt-get, it's all working except
quota by user..
I have a database with all quotas in bytes, and that lines in
/etc/dovecot/dovecot-sql.conf :
driver = mysql
connect = host=127.0.0.1 dbname=mailserver user=USER password=PASS
default_pass_scheme = CRYPT
password_query = SELECT email as user, password FROM view_users WHERE
email='%u';