Displaying 11 results from an estimated 11 matches for "quota2_rule2".
Did you mean:
quota2_rule
2013 Feb 06
2
dovecot-2.2: broken domain quota calculation
...--version
20130205 (03a0af22100d+)
Quota configuration:
plugin {
quota = dict:Domain quota:%d:redis:host=127.0.0.1:prefix=domain/
quota_rule = *:storage=0
quota_rule2 = Trash:storage=+5%%
quota2 = dict:User quota::redis:host=127.0.0.1:prefix=user/
quota2_rule = *:storage=0
quota2_rule2 = Trash:storage=+5%%
}
Problem: incorrect quota calculations. Dovecot gets size and messages
count of all domain from last user in list. In 2.1 works fine.
Steps to reproduce problem:
1. install dovecot
2. create over 50 users with e-mails
3. execute: doveadm quota recalc -A
4. execute: dove...
2010 Apr 12
1
Quota: Maildir and other files
...ut I don't get
it running, I always get an empty result:
dovecot -n:
plugin:
quota: maildir:User quota
quota_rule: *:storage=2G
quota_rule2: *:messages=50000
quota_rule3: Trash:storage=10%%
quota_rule4: Spam:storage=20%%
quota2: fs:Disk quota
quota2_rule: *:storage=2G
quota2_rule2: *:messages=50000
TAG GETQUOTA "User quota"
* QUOTA "User quota" (STORAGE 473178 2048000 MESSAGE 20693 50000)
TAG OK Getquota completed.
TAG GETQUOTA "Disk quota"
* QUOTA "Disk quota" ()
TAG OK Getquota completed.
I don't know why fs is not working. /pa...
2008 Jul 02
0
Cant't get quota / dict work
...1
expire_dict: proxy:/var/run/dovecot/dict-server:expire
quota: maildir
quota2: dict:::proxy:/var/run/dovecot/dict-server:quota
quota_rule: *:storage=20M
quota_rule2: Trash:storage=10M
quota_rule3: Spam:storage=20M
quota_rule4: Junk:storage=20M
quota2_rule: *:storage=20M
quota2_rule2: Trash:storage=10M
quota2_rule3: Spam:storage=20M
quota2_rule4: Junk:storage=20M
dict:
expire: db:/usr/local/lib/dovecot/db/expire.db
quota: mysql:/usr/local/etc/dovecot/dict-quota.conf
or:
quota: pgsql:/usr/local/etc/dovecot/dict-quota.conf
or:
quota = db:/usr/local/lib/dov...
2013 Jan 16
1
dovecot-2.2.beta1: do not removes e-mail with enabled replication
...}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
mail_replica = remote:vmail at mailsys.office.megagroup.ru
quota = dict:Domain quota:%d:redis:host=127.0.0.1:prefix=domain/
quota2 = dict:User quota::redis:host=127.0.0.1:prefix=user/
quota2_rule = *:storage=0
quota2_rule2 = Trash:storage=+5%%
quota_rule = *:storage=0
quota_rule2 = Trash:storage=+5%%
}
service aggregator {
fifo_listener replication-notify-fifo {
mode = 0600
user = vmail
}
unix_listener replication-notify {
mode = 0600
user = vmail
}
}
service auth-worker {
user = $defaul...
2016 Nov 22
0
Implementing secondary quota w/ "Archive" namespace
...st = children
location = maildir:~/Archive
prefix = Archive.
separator = .
subscriptions = yes
type = private
}
passdb {
args = /etc/dovecot/include/sql.conf
driver = sql
}
plugin {
quota = maildir:User quota
quota2 = maildir:User2 quota:ns=Archive.
quota2_rule = *:bytes=20000
quota2_rule2 = *:messages=10
quota_rule = *:bytes=400000
quota_rule2 = INBOX.Trash:bytes=+10%%
quota_rule3 = *:messages=2000
}
protocols = imap sieve
service auth-worker {
unix_listener auth-worker {
mode = 0666
}
user = doveauth
}
service auth {
client_limit = 8000
unix_listener login/auth...
2018 Aug 17
3
Does domain quota work and how?
...mail_location = maildir:/var/vmail/%d/%n/mail/
mail_plugins = " quota"
plugin {
quota = dict:user::proxy::quota
quota2 = dict:domain:%d:proxy::quota_domain
quota_rule = *:storage=100M
quota_rule2 = Trash:storage=+10%%
quota_rule3 = Spam:ignore
quota2_rule = *:storage=1000M
quota2_rule2 = Trash:storage=+10%%
quota2_rule3 = Spam:ignore
quota_vsizes = yes
(+ quota_status, _warning etc. not relevant ...)
}
service dict {
unix_listener dict {
group = vmail
mode = 0600
user = vmail
}
}
service quota-status {
client_limit = 1
executable = quota-status -p post...
2014 Oct 14
1
Doveadm quota recalc sets quota for wrong quota root
...id size
quota = dict:Domain quota:%d:proxy::quotadomaindict
quota_rule2 = Trash:ignore
quota_warning = storage=99%% doquotawarning 99 %u
quota_warning2 = storage=95%% doquotawarning 95 %u
quota_warning3 = storage=75%% doquotawarning 75 %u
quota2 = dict:User quota::proxy::quotauserdict
quota2_rule2 = Trash:ignore
quota2_warning = storage=99%% doquotawarning 99 %u
quota2_warning2 = storage=95%% doquotawarning 95 %u
quota2_warning3 = storage=75%% doquotawarning 75 %u
}
protocols = imap pop3
service auth-worker {
unix_listener auth-worker {
mode = 0600
user = vmail
}
}
service...
2016 Nov 22
2
Implementing secondary quota w/ "Archive" namespace
Yeah, I gradually figured out it wouldn't work yesterday when delving back into this and testing. No separate quotas per namespaces until 2.1 or something, I think?
So, got any suggestions on getting it to work with v2.x? I found an old thread from 2013 by Andreas (I think?) and he didn't seem to quite be able to get it to work. Actually, though, I'd be happy to even be able to apply
2018 Aug 16
2
Does domain quota work and how?
Hello,
I'm in the process of moving users from an old dovecot setup with system
users to a modern virtual user setup.
I can't find good documentation on domain quota.
It is mentioned in the docs as
quota2 = dict:domain:%d:proxy::quota_domain
but not much more.
Searching the mailing list or Google doesn't reveal much more info.
Searching the German mailing list at jpberlin finds
2015 Oct 06
4
More information about - Dovecot 2.2.x quota mysql and dict
I some add information about bug...
Dovecot 2.2.19 version on server FreeBSD 10.2 Release.
Config quota (dict + mysql)
Database create Postfixadmin 2.3.7
Old version Dovecot 2.2.13 use method UPDATE in MySQL base + dict
example mysql.log
-----------------
Connect postfix at localhost on postfix
134 Query SELECT bytes FROM quota2 WHERE username =
'user at mydomain.lan'
2015 Oct 17
2
More information about - Dovecot 2.2.x quota mysql and dict
...-sql.conf
driver = sql
}
dict {
sqluserquota = mysql:/usr/local/etc/dovecot/dovecot-dict-sql-user.conf
sqldomainquota = mysql:/usr/local/etc/dovecot/dovecot-dict-sql-domain.conf
}
plugin {
quota = dict:domain_quota:%d:proxy::sqldomainquota
quota2 = dict:user_quota::proxy::sqluserquota
quota2_rule2 = Trash:storage=+20%%
quota2_rule3 = Junk:storage=+20%%
quota2_grace = 10%%
quota2_warning = storage=100%% quota-exceeded 100 %u
quota2_warning2 = storage=95%% quota-warning 95 %u
quota2_warning3 = storage=90%% quota-warning 90 %u
quota2_warning4 = storage=75%% quota-warning 75 %u
}
se...