Displaying 20 results from an estimated 2000 matches similar to: "Maybe it is an sql config error?"
2017 Mar 19
0
Solved? - Re: Understanding quotas
I spent an evening, again, reading up on quota. This time I think my
search foo was strong enough. I found guidance and came up with the
following:
sed -i -e "s/#quota = /sqlquota = /w /dev/stdout"
/etc/dovecot/dovecot.conf
Sets up a dovecot dictionary of sqlquota to the default file of
/etc/dovecot/dovecot-dict-sql.conf.ext
cat
2019 Sep 03
0
Quota count and clone questions
Hi,
I presume you figured this out after all this time, but in any case.
Since quota_clone is not cumulative, it always inserts new record with actual quota,
to be able to get correct results in postfixadmin one must:
DROP TRIGGER mergequota2 ON quota2;
And to prevent ERROR: duplicate key value violates unique constraint "quota2_pkey":
CREATE FUNCTION public.clone_quota2() RETURNS
2012 Nov 28
0
problems with quota and clients
Hi, I had configured dovecot in a pretty standard way and had it working
nicely enough with maildir quotas (no tests done apart for reaching the
quota and looking at mails coming back). Still I wanted to have the
quota and the actual quota usage displayed in postfixadmin (3.5) but I
think I messed with something. Now I can connect to the mailbox, send
mail, receive mail, see the quota usage
2019 Feb 14
1
Quota count and clone questions
all this almost reads like I can drop maintaining the quota2 table?
From https://wiki.dovecot.org/Quota/Count
mailbox_list_index = yes
# Avoid spending excessive time waiting for the quota calculation to
finish when
# mails' vsizes aren't already cached. If this many mails are opened,
finish the
# quota calculation on background in indexer-worker process. Mail
deliveries will
# be
2017 Jun 05
0
quota clone + mysql + duplicate key
I'm trying to setup quota clone with mysql on dovecot 2.2.29.1.
I see in the wiki that the table is always updated to the new value
(https://wiki.dovecot.org/Plugins/QuotaClone) :
> Every time quota is updated, the value is updated to the cloned dict.
> There are race conditions with it so the quota may not always be 100%
> correct. The old value is always replaced with the new one
2017 Feb 05
2
Dict quota calculation errors "remote disconnected"/"broken pipe" on 2.22.
Keywords: dovecot, dict, quota, postgre sql, broken pipe, remote
disconnected
Having Dovecot 2.2.22 (fe789d2) with Postgre SQL 9.5
(9.5.5-0ubuntu0.16.04) as the backend. I do not understand why quota
service is not working, not seeing it as a configuration error at least.
My quotas are DICT/SQL based.
OS: Ubuntu 16.0.4.1 32-bit (Linux XXX 4.4.0-59-generic #80-Ubuntu SMP
Fri Jan 6 17:36:54
2017 Feb 24
2
Quota usage value shows 140% of actual disk usage
Hello everyone,
Our server has these installed:
dovecot-2.0.21-2.el6.x86_64
dovecot-pigeonhole-2.0.21-2.el6.x86_64
dovecot-mysql-2.0.21-2.el6.x86_64
...and has been running for quite a long time, with several hundred domains
and thousands of accounts on it. My colleagues reported that it's been
showing quota usage values that are more than actual disk usage, so I
investigated and found that
2017 Mar 19
2
The challenge of customizing Dovecot
I have been running Dovecot for sometime, but I have just used someone
else efforts on customizing it. Many of these throw out the
dovecot/conf.d files for a single dovecot.conf with no explanation on
what does what. So tell you a few conf.d files to edit.
So over the past few days, I have rolled up my sleeves and did my best
to work out how to modify the proper conf.d files. To 'stay
2015 Jun 22
0
Quota SQL separate queries?
Hello,
We are trying to enforce per-domain quotas.
Currently my quota-sql.conf looks like this:
connect = host=/var/run/postgresql dbname=mail user=mailreader
map {
pattern = priv/quota/storage
table = quota
username_field = username
value_field = bytes
}
map {
pattern = priv/quota/messages
table = quota
username_field = username
value_field = messages
}
With
quota =
2013 Feb 12
2
Dict quota timeout error: Has anything changed in the latest versions?
Hi,
I'm using dict quota with mysql for track them via SQL query instead of
read maildirsize file. Primary quota and enforcing is provided via
userdb and is "maildir" type.
Since dovecot 2.1.10-13 (but perhaps even before) when a new user log in
via POP/IMAP or receive an email for the first time dovecot created the
entry for the users in the table "quota" of dovecot
2017 Mar 17
2
Understanding quotas
Just to level-set, I am using Centos7-arm which supplies Dovecot
2.2.10. I don't have access to a arm build or mock environment and use
what is available (I DID try to install them but had dependency issues).
Much of what I have is from campworld, but some I have picked up from
other Centos mailserver builders.
Also I am using Postfixadmin which provides quotas per user in mysql
2017 Apr 29
0
configuration sanity check
Hello,
Can I get a sanity check on this configuration? It's a database setup
of Dovecot 2.2 with Postfix.
I'm having issues and i'd like to know if there's anything glaringly
wrong with my configuration?
With the password hash situation, should I go with SHA512,
SHA512-CRYPT or the SSHA512-CRYPT?
Thanks.
Dave.
# 2.2.29.1 (e0b76e3): /usr/local/etc/dovecot/dovecot.conf
#
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'
2019 Feb 12
2
Maintaining table quota2
Does dovecot compute that values for quota2 with each email it updates
for the user?? Or only an incremental change?
I ask because I am looking at migrating all the user mail from the old
server to the new and building a new sql database.? All I see is:
dovecot-dict-sql.conf.ext: connect = host=/var/lib/mysql/mysql.sock
dbname=postfix user=postfix password=$Postfix_Database_Password map {
2019 Feb 12
2
Maintaining table quota2
On 2/12/19 12:38 PM, Aki Tuomi via dovecot wrote:
>> On 12 February 2019 at 18:23 Robert Moskowitz via dovecot <dovecot at dovecot.org> wrote:
>>
>>
>> Does dovecot compute that values for quota2 with each email it updates
>> for the user?? Or only an incremental change?
>>
>> I ask because I am looking at migrating all the user mail from the old
2013 Jan 30
1
More on amavis/clam permission errors on Centos 6.3
I should probably find either the amavis or clam list(s) and take this
there?
Anyway, I have totally rebuilt my machine with clean installs. I have
spent time carefully (I hope!) studying the amavis and clamav conf files
before starting them and running the tests. Here is what I am getting:
Jan 30 14:14:10 test1 postfix/pickup[6682]: DA8082A099B: uid=0 from=<root>
Jan 30 14:14:10
2012 Feb 14
3
domain quota in sql
Hi,
I have a problem with setting up quota usage tracking for domains.
Problem is, that domain quota is always based on only one user in
domain, the last one on whom behalf any operation was performed.
To recreate this situation, one has only to perform:
doveadm quota recalc -u USER
on a user, and the domain quota takes the value of this user quota.
Have anyone a clue what could cause this
2019 Feb 12
0
Maintaining table quota2
> On 12 February 2019 at 19:55 Robert Moskowitz via dovecot <dovecot at dovecot.org> wrote:
>
>
>
>
> On 2/12/19 12:38 PM, Aki Tuomi via dovecot wrote:
> >> On 12 February 2019 at 18:23 Robert Moskowitz via dovecot <dovecot at dovecot.org> wrote:
> >>
> >>
> >> Does dovecot compute that values for quota2 with each email it
2010 Oct 14
1
Quota, Postgres + Postfixadmin
Hi everybody,
i am currently testing dovecot-1.2.9 together with postfix, postgres and
postfixadmin.
After setting up the basics, i wanted to get the quotas working...
So i edited the dovecot.conf:
mail_plugins = quota imap_quota
mail_plugins = sieve quota
quotadict = pgsql:/etc/dovecot/dovecot-dict-quota.conf
quota = dict:user::proxy::quotadict
and dovecot-dict-quota.conf:
connect
2019 Feb 12
0
Maintaining table quota2
> On 12 February 2019 at 18:23 Robert Moskowitz via dovecot <dovecot at dovecot.org> wrote:
>
>
> Does dovecot compute that values for quota2 with each email it updates
> for the user?? Or only an incremental change?
>
> I ask because I am looking at migrating all the user mail from the old
> server to the new and building a new sql database.? All I see is:
>