Displaying 20 results from an estimated 55 matches for "quota2_rul".
Did you mean:
quota2_rule
2014 Mar 25
1
Getting second quota limit out of database
Hello there,
I am working with dovecot v2.2.12, and have setup a user and domain
quota by using a quota/quota_rule for user and quota2/quota2_rule for
the domain.
This works fine when the limit configuration for both is stored inside
dovecot configuration files. However, I would like to have the limits
configurable on a user and domain base, and that data is stored inside
my SQL database.
Getting the user quota out of a database with SQL w...
2013 Jan 09
14
how to setup different quota for multiple namespaces
Hello all,
I am using dovecot for some time now but always had very basic
configurations. I recently have configured a new, additional namespace
in order to move archived mails (Thunderbird Archives) to another
storage system.
namespace {
type = private
separator = .
prefix = Archives.
location = maildir:/var/vmail/archive/%Ln/Maildir
subscriptions = yes
list = children
inbox = no
2018 Aug 16
2
Does domain quota work and how?
...ry all users together can reach a maximum quota
that is way over the domain quota. Not desirable.
Concluding from the example in 90-quota.conf I want to set up this
user_query (relevant part):
concat('*:bytes=', m.quota) AS quota_rule, concat('*:bytes=',
(s.quota*1024*1024)) AS quota2_rule
(with m and s being the two tables for user and domain quota and s holding
the domain quota in MB)
Does this work together with this quota plugin setup and would provide
both a user and domain quota?
quota = dict:user::proxy::quota
quota2 = dict:domain:%d:proxy::quota_domain
quota_rule = *:st...
2013 Aug 01
1
trouble with setting individual quota values for multiple namespaces
...p different quotas for namespaces.
In addition to the default "INBOX" namespace I have created a namespace
called "MailArchive" which should have its own quota value of 5G per user.
At first I configured quota2 like this:
quota2 = maildir:MailArchive quota:ns=MailArchive/
quota2_rule = *:storage=5G
and this seemd to work quite well. Users, accessing the MailArchive
namespace can see the 5G limit in their mail client, unfortunately in
the mail.err log file, errors like these repeatedly appear:
Jul 29 11:40:24 mailserver dovecot: imap(testuser): Error: quota:
Unknown namespace...
2019 May 20
0
enforcing multiple per-mailbox quotas for shared mailboxes
...ing the real IMAP path to a
shared mailbox), dovecot will complain in the log saying
Error: quota: Unknown namespace: ZZZ_Freigaben/postmaster/
dovecot will start and work for the most part, but again completely
ignore settings for the additional quota.
- additionally, trying to override "quota2_rule=..." from userdb doesn't
work as it does with "quota_rule=..."! If I have both
"quota_rule=..." and "quota2_rule=..." in the config file as well as
returned from userdb (with different values), dovecot will use
"quota_rule" from userdb, but...
2016 Sep 20
5
Implementing secondary quota w/ "Archive" namespace
...ing):
namespace private {
separator = /
prefix =
inbox = yes
}
namespace private {
separator = /
prefix = testArchive/
location = maildir:/Shared Items/MailArchive/%u
subscriptions = yes
}
My quota research has led me to try this:
quota = maildir:User quota:ns=
quota2 = maildir:ns=testArchive/
quota2_rule = *:storage=20G
The first line is already in the default config, with the exception of the added ?:ns=? at the end. The 2nd line in the examples I saw had a middle component w/ the quota name, but when I tried that, like so:
quota2 = maildir:Archive quota:ns=testArchive/
my server fails and sho...
2019 Mar 14
2
Quota questions
...ple configuration file
# Multiple quota roots are also possible, for example this gives each user
# their own 100MB quota and one shared 1GB quota within the domain
plugin {
quota = dict:User quota::proxy::quota
quota2 = dict:Group quota:%d:proxy::quota_domain
quota_rule = *:storage=1024M
quota2_rule = *:storage=2048M
}
But If I run
[TEST] root at mail-store01.test.host.sk: /etc/dovecot # doveadm quota get -u '*'
Username Quota name Type Value Limit %
test01 at test.host.sk User quota STORAGE 1 1024...
2013 Feb 06
2
dovecot-2.2: broken domain quota calculation
...ersion of dovecot:
# dovecot --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 q...
2018 Aug 16
0
Does domain quota work and how?
...aximum quota
> that is way over the domain quota. Not desirable.
>
> Concluding from the example in 90-quota.conf I want to set up this
> user_query (relevant part):
>
> concat('*:bytes=', m.quota) AS quota_rule, concat('*:bytes=',
> (s.quota*1024*1024)) AS quota2_rule
>
> (with m and s being the two tables for user and domain quota and s holding
> the domain quota in MB)
>
> Does this work together with this quota plugin setup and would provide
> both a user and domain quota?
>
> quota = dict:user::proxy::quota
> quota2 = dict:do...
2016 Nov 22
2
Implementing secondary quota w/ "Archive" namespace
...8, Fred Turner <fred at c5consulting.net> wrote:
>>
>> Mac Pro Server 2012
>> Mac OS X Server 10.6.8
>> Dovecot 1.1.20apple0.5
>
> That's an old one..
>
>> quota = maildir:User quota:ns=
>>
>> quota2 = maildir:ns=testArchive/
>> quota2_rule = *:storage=20G
>>
>> The first line is already in the default config, with the exception of the added ?:ns=? at the end. The 2nd line in the examples I saw had a middle component w/ the quota name, but when I tried that, like so:
>>
>> quota2 = maildir:Archive quota:ns=t...
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
}...
2013 Jul 12
1
getting quota error when accessing private namespace
...mail/archives/%Ln/Maildir
mailbox "archived mails" {
auto = subscribe
driver =
special_use = \Archive
}
prefix = Archives/
separator = /
subscriptions = yes
type = private
}
plugin {
quota = maildir:User quota:ns=
quota2 = maildir:Archives quota:ns=Archives/
quota2_rule = *:storage=5G
quota_rule = *:storage=1G
quota_rule2 = Trash:storage=+200M
}
I can access the new namespace without any problems but every time
a folder in this namespace is accessed, I get the following error
messages in mail.err log:
dovecot: imap(testuser): Error: quota: Unknown namesp...
2010 Aug 02
3
quota not updated
...hg ( 1.2.13 ). Any ideas?
###quota part from dovecot -n
plugin:
quota: maildir:User quota
quota_rule: *:storage=2000M
quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80
quota2: maildir:Shared quota:ns=shared/
quota2_rule: *:storage=10000M
###imap dialog:
* PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE
CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH
ESORT SEARCHRES WITHIN CONTEXT=SEA...
2019 Mar 14
1
Quota questions
...e, for example this gives each user
>> # their own 100MB quota and one shared 1GB quota within the domain
>>
>> plugin {
>> quota = dict:User quota::proxy::quota
>> quota2 = dict:Group quota:%d:proxy::quota_domain
>> quota_rule = *:storage=1024M
>> quota2_rule = *:storage=2048M
>> }
>>
>>
>> But If I run
>> [TEST] root at mail-store01.test.host.sk: /etc/dovecot # doveadm quota get -u '*'
>> Username Quota name Type Value Limit %
&...
2013 Dec 19
2
Does quota-status respect quota_grace?
..._status_success = DUNNO
Quota rules are read from PostgreSQL (snippet)
user_query = ...
'*:bytes=' || domains.quota_size || 'M:messages=' ||
domains.quota_files as quota_rule, \
'*:bytes=' || mailboxes.quota_size || 'M:messages=' ||
mailboxes.quota_files as quota2_rule, \
...
As far as I can tell, quota enforcing in dovecot-lda works correctly.
User is allowed one message which brings him over quota (provided the
message fits into filesystem quota hard limit and quota_grace value),
every other message after that is rejected.
However policy service quota-...
2016 Nov 22
0
Implementing secondary quota w/ "Archive" namespace
...te:
> >>
> >> Mac Pro Server 2012
> >> Mac OS X Server 10.6.8
> >> Dovecot 1.1.20apple0.5
> >
> > That's an old one..
> >
> >> quota = maildir:User quota:ns=
> >>
> >> quota2 = maildir:ns=testArchive/
> >> quota2_rule = *:storage=20G
> >>
> >> The first line is already in the default config, with the exception of
> the added ?:ns=? at the end. The 2nd line in the examples I saw had a
> middle component w/ the quota name, but when I tried that, like so:
> >>
> >> quota2...
2013 Jan 17
1
dovecot nightly 20130117: dsync does returns "Name or service not known"
...Error: read(remote) failed: EOF
dsync-local(basov at megagroup.ru): Error: Remote command returned error 255
In this time new dovecot finds local user:
2013-01-17T17:21:29.837415+04:00 imap1 dovecot: auth: Debug: userdb out:
USER#0111#011user at example.org#011home=/var/vmail/example.org/user/#011quota2_rule=*:storage=40M#011nodelay=Y#011uid=999#011gid=999
I don't understand what's mean under 'hostname remote'. What hostname?
Is it bug or incorrect settings?
2014 Jan 29
1
dsync backup; compressed to uncompressed
...vecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
autosubscribe = Trash
autosubscribe2 = Junk
autosubscribe3 = Drafts
autosubscribe4 = Sent
autosubscribe5 = INBOX
mail_max_userip_connections = 10
managesieve_max_line_length = 65536
quota = dict:User quota::file:%h/dovecot.quota
quota2_rule = Trash:storage=+10%%
quota3_rule = Junk:storage=+20%%
quota_rule = *:storage=100M:messages=100000
recipient_delimiter = +
sieve_before = /var/opt/mail/global.sieve/
zlib_save = gz
zlib_save_level = 9
}
pop3_reuse_xuidl = yes
protocols = imap pop3 sieve lmtp
service auth {
inet_liste...
2018 Aug 17
3
Does domain quota work and how?
...}
mail_home = /var/vmail/%d/%n
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...
2015 Jan 30
1
Domain quota
...quota2 = dict:User
quota::redis:host=127.0.0.1:prefix=user/
quota2_rule =
*:storage=0
quota3_rule =
Trash:storage=+5%%...