Displaying 20 results from an estimated 1000 matches similar to: "quota clone + mysql + duplicate key"
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
2013 Jun 19
2
Mbox corruption - Inbox beginning with 'FFrom' or 'FrFrom'
Hello,
we're having some problems with our dovecot setup.
I've seen similar problems in the mailing list some years ago but alas
wasn't able to find a solution.
Our setup is as follows :
An MX farm (postfix) sends mails via LMTP to a director farm (dovecot
2.1.12) which proxies pop3/imap/lmtp traffic to a dovecot farm (dovecot
2.1.16).
All mailboxes and indexes are on NFS and all
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
2013 Feb 25
1
lmtp problem with wrong index path
Hello,
we've been using dovecot for pop3 and imap for some time now and we're
in the middle of deploying lmtp as well, however we're run into a
problem we can't solve.
Specifically for some reason it seems that dovecot tries to write to the
wrong index file during some, but not all, lmtp deliveries.
If lmtp tries to deliver to person user_a at domain, sometimes it'll try to
2013 Jul 04
1
dovecot 2.2 Panic: pool_data_stack_realloc(): stack frame changed
Hi again,
we've been trying dovecot 2.2 in our setup and we see thousands of
messages like these :
Jul 4 12:29:47 pop01 dovecot: lmtp(2899): Debug: auth input:
rigakis2 at otenet.gr home=/var/mail/folders/U/9/5/rigakis2
quota_rule=*:storage=50M uid=531846 gid=100
mail=mbox:~/:INBOX=/var/mail/U/9/5
/rigakis2:INDEX=/indexes/4/1/b/rigakis2 at otenet.gr
Jul 4 12:29:47 pop01 dovecot:
2018 Oct 15
0
Problems with qouta_clone plugin
You should add quota_clone to mail plugins.
Aki
On 15.10.2018 15:28, Christian Ejlertsen wrote:
> Hello
>
> I'm having troubles getting the quota_clone plugin to work for me.
> i?, trying to put the quota values into to to fields, messages and
> usage_in_bytes, in the mysql database.
>
> The quotas are getting written to the maildirsize file and can be
> updated
2018 Oct 15
0
Problems with qouta_clone plugin
On 15.10.2018 15:34, Christian Ejlertsen wrote:
> On Mon, 2018-10-15 at 15:31 +0300, Aki Tuomi wrote:
>> You should add quota_clone to mail plugins.
>>
>> Aki
>>
>>
>> On 15.10.2018 15:28, Christian Ejlertsen wrote:
>>> Hello
>>>
>>> I'm having troubles getting the quota_clone plugin to work for me.
>>> i?, trying to
2018 Oct 15
2
Problems with qouta_clone plugin
Hello
I'm having troubles getting the quota_clone plugin to work for me.
i?, trying to put the quota values into to to fields, messages and
usage_in_bytes, in the mysql database.
The quotas are getting written to the maildirsize file and can be
updated with the doveadm quota recalc -A or -u "*" command
But i can't seem to get it to trigger the quota_clone plugin, not even
an
2018 Oct 15
2
Problems with qouta_clone plugin
On Mon, 2018-10-15 at 15:31 +0300, Aki Tuomi wrote:
> You should add quota_clone to mail plugins.
>
> Aki
>
>
> On 15.10.2018 15:28, Christian Ejlertsen wrote:
> > Hello
> >
> > I'm having troubles getting the quota_clone plugin to work for me.
> > i?, trying to put the quota values into to to fields, messages and
> > usage_in_bytes, in the
2011 Jul 05
2
Converting from qpopper mbox to dovecot maildir
We have an older mail server using qpopper and the mbox format which we
need to update to dovecot and maildir format. I have read through the docs
on migrating from mbox to maildir, as well as a few nuggets on how to
migrate from qpopper to dovecot, and I was wondering if I could get some
suggestions on best practices for this specific migration. Would the built
in dovecot conversion plugin be a
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 Feb 12
0
Maintaining table quota2
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 12 February 2019 at 20:52 Robert Moskowitz via dovecot <
<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote:
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
#
2017 Apr 06
0
Maybe it is an sql config error?
I am looking at these messages in maillog:
Apr 6 15:46:58 z9m9z dovecot: dict: Error: mysql(localhost): Connect
failed to database (postfix): Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (13) - waiting for 25 seconds
before retry
Apr 6 15:46:58 z9m9z dovecot: dict: Error: mysql(localhost): Connect
failed to database (postfix): Can't connect
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
2018 Oct 15
1
Problems with qouta_clone plugin
On Mon, 2018-10-15 at 15:36 +0300, Aki Tuomi wrote:
>
> >
> > It is :)
> >
> > > protocol imap {
> > > mail_max_userip_connections = 1000
> > > mail_plugins = " quota notify replication imap_quota last_login
> > > quota_clone"
> > > }
>
> But that will only affect imap protocol. You should add it globally,
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
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 =
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
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