Displaying 20 results from an estimated 50000 matches similar to: "doveadm quota recalc -A"
2012 Nov 09
0
quota recalc does not work
Hi
I upgraded dovecot from 2.0 to 2.1 , and now i face the quota recalc
problem.
All settings are keep in mysql
Before , after a change in mailbox.quota field, i run doveadm quota
recalc and all was ok ,
but now that command doesn't do anything.
After i change a quota for a user , i have to restart dovecot to get the
new quota ,
or do a "doveadm reload" instead of recalc.
And the
2015 Sep 06
0
doveadm quota recalc problem for domain
Hello,
I've set up user quota and domain quota for dict SQL and all seems OK.
New mail for user increase the user quota and the domain quota.
Deleting email count down user quota and domain quota.
But in case of SQL failure, I'm trying to rebuild the user quota and
domain quota with doveadm quota recalc.
The problem is that the command :
'doveadm quota recalc -u foo at bar'
2014 Oct 14
1
Doveadm quota recalc sets quota for wrong quota root
Hi,
In our setup, we use two quota roots. One for user quota and one for
domain quota. If a user has no quota, then the domain quota is applied.
For a user with user quota this is how it looks:
# doveadm quota get -u test at shellz.nl
Quota name Type Value Limit %
Domain quota STORAGE 1439155 2560000 56
Domain quota MESSAGE 21257 - 0
User quota STORAGE 0 102400 0
2010 Sep 24
1
doveadm quota recalc don't work
Hello,
I'm testing Dovecot 2.0.
I plan to use Dovecot 2.0 with thousands of domains per server. My user
base is under virtual MySQL.
When I run `quota doveadm recalc`, Dovecot sets quota to zero:
################################################################################
root at server:# doveadm -v quota get -u username
Quota name Type Value Limit %
User
2016 Sep 03
2
doveadm quota recalc returns a Segmentation fault
Hi,
with the latest dovecot-ee version (2.2.25.4 (5cb7c97)) if I run
?doveadm quota recalc -u alessio at skye.it? dovecot return a ?Segmentation
fault? (but the quota is update fine). Since dovecot version 2.2.24.3
(55cdc32) works fine.
This is my quota backends configuration:
plugin {
quota = maildir:UserQuota
quota2 = dict:Quota Usage::noenforcing:proxy::sqlquota
}
dict {
sqlquota
2016 Apr 06
2
Opportunistic quota recalc
I'm switching quota backend to redis (from maildir++), so all my current
usages are reset.
I get that I can do "doveadm quota recalc -A", but it takes forever (and
auth processes time out/crash).
It would make much more sense to recalc the usage on login if the
current usage is unset. Is there no way to do a
recalc-quota-on-first-login?
Thanks.
--
Tom Sommer
2016 Apr 06
2
Opportunistic quota recalc
On 2016-04-06 20:38, Timo Sirainen wrote:
> On 06 Apr 2016, at 13:43, Tom Sommer <mail at tomsommer.dk> wrote:
>>
>> I'm switching quota backend to redis (from maildir++), so all my
>> current usages are reset.
>>
>> I get that I can do "doveadm quota recalc -A", but it takes forever
>> (and auth processes time out/crash).
>>
2016 Apr 07
2
Opportunistic quota recalc
On 07 Apr 2016, at 14:49, Tom Sommer <mail at tomsommer.dk> wrote:
>
> On 2016-04-06 21:09, Tom Sommer wrote:
>> On 2016-04-06 20:38, Timo Sirainen wrote:
>>> On 06 Apr 2016, at 13:43, Tom Sommer <mail at tomsommer.dk> wrote:
>>>> I'm switching quota backend to redis (from maildir++), so all my current usages are reset.
>>>> I get that
2020 Apr 22
0
replication newbie: some beginner questions
On 2020-04-22 10:35, Stefan G. Weichinger wrote:
> Am 22.04.20 um 09:41 schrieb Stefan G. Weichinger:
>
>> iterate_query = SELECT username as user FROM mailbox
>
> Ok, we enabled the 2 users and they synced (after a restart of one
> dovecot, btw).
>
> What irritates me:
>
> on the new server I find less files in /home/vmail than on the old
> server.
>
2011 Oct 19
1
'doveadm quota get' dictionary SQL query ignores specified '@domain' part of username. bad config or bug?
Hi,
I'm setting up SQL quota usage in Dovecot2.
I've created a MAILBOX parameter table, 'PARAMS', that contains unique
<user>@<domain> pairs, with quota data.
mysql> select * from PARAMS;
+----+------------------------+------------+-------------+------------+
| ai | MAILBOX_user_domain | quota | quota_bytes | quota_msgs |
2017 Dec 03
0
doveadm with 2-level user/domain quotas scheme
Hi!
I believe now it a right time to return to previous discussion about
Dovecot's in 2-level user/domain quotas scheme wich was finished here
https://dovecot.org/pipermail/dovecot/2015-October/102346.html
Here is configuration.
1. Dictionary storage placed in MySQL table "quota2"
root at localhost [(none)]> SHOW COLUMNS FROM quota2 FROM exim;
2020 Jul 15
0
doveadm quota question
I found that when the mailbox name contains special characters such as \x7f, when the doveadm quota recalc -u xxx command is executed, the messages under the mailbox name with special characters will not be counted.
doveadm mailbox list -u xxx
Actual mailbox name:
doveadm quota recalc -u xxx, Mail under 'INBOX.Metaltex' will not be counted.
hfh at cndns.com
-------------- next part
2016 Jul 12
2
Doveadm error
Hey everyone,
I've got a weird error since I upgraded to the latest dovecot on my FreeBSD box:
root at postfixjail /# doveadm quota recalc -u xxx at xxx.com
doveadm(xxx at xxx.com): Error: dict-client: Commit failed: Deinit
fish: 'doveadm quota recalc -u xxx@?' terminated by signal SIGSEGV (Address boundary error)
root at postfixjail /# dovecot --version
2.2.25 (7be1766)
root at
2014 May 09
1
Doveadm sometimes failed "to iterate through some users" after upgrade to 2.2
Hi,
I'm running every week in cron "doveadm expunge -A mailbox Spam before
30d" and monthly "doveadm quota recalc -A".
After the upgrade to dovecot 2.2.12 (from 2.1.17), "doveadm -A"
sometimes exit with this error:
doveadm(user at domain.com): Error: User listing returned failure
doveadm: Error: Failed to iterate through some users
# echo $?
75
If I re-run
2017 Oct 25
0
Replication Issue
Hello, I've been trying to set up replication, Server A is dovecot 2.2.32
(upgrade from 2.0.9) and Server B is dovecot 2.2.10, I use mysql as userdb,
I don't want to replicate every user on my database only especific users so
I set my iterate_query on dovecot-sql.conf.ext file; my problem: doveadm
replication is not "reading" my iterate_query, it tries to replicate every
user.
2018 Aug 17
3
Does domain quota work and how?
Aki Tuomi wrote on Thu, 16 Aug 2018 21:03:44 +0300 (EEST):
> Can you provide doveconf -n please?
Thanks for the quick reply. I think I already provided the most relevant
portions of config. I ran a doveconf -n and it doesn't reveal important
information like sql setup. I'll do my best to sum up the relevant parts
below, anyway.
But first I would like to know how the
2018 Nov 22
0
LDAP stored quota
I noticed that you sent replies to me directly...
Anyways, seems the problem was that the LDAP user_attrs is missing commas, and the mailRoutingAddress is used wrong, so the correct syntax would be:
user_attrs = \
mailRoutingAddress=user, \
=uid=vmail, \
=gid=mail, \
=home=/var/mail/%d/%n, \
=quota_rule=*:bytes=%{ldap:departmentNumber}
Aki
> On 22 November 2018 at 15:29
2017 Oct 24
0
Fwd: master/master replications v. 2.2.32
doveconf -n
# 2.2.32 (dfbe293d4): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-696.1.1.el6.x86_64 x86_64 CentOS release 6.9 (Final) ext3
auth_socket_path = /var/run/dovecot/auth-userdb
doveadm_password = # hidden, use -P to show it
doveadm_port = 61800
first_valid_uid = 150
last_valid_uid = 150
mail_location = maildir:/var/vmail/%d/%n
mail_plugins = notify replication
mail_privileged_group =
2011 Sep 04
1
Quotas not recalculating
Hello all --
I have an interesting issue, where the quotas are refusing the
recalculate for anyone on my server.
# doveadm quota get -u kyle at averageurl.com
Quota name Type Value Limit %
storage=540672 STORAGE 0 - 0
storage=540672 MESSAGE 0 - 0
# doveadm quota recalc -u kyle at averageurl.com
# doveadm
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