Re: The end of Dovecot Director?

2022-11-01 Thread Mark Moseley
TL;DR: Sure, this affects medium/large/Enterprise folks (that's where I was using Director -- though currently retired, so no existing self-interest in this email). This will also affect *any* installation with a whopping two dovecot servers with mdbox backends talking to a single li

Re: TLS connection closed unexpectedly

2022-01-07 Thread Mark Moseley
On Fri, Jan 7, 2022 at 1:34 PM John Fawcett wrote: > On 07/01/2022 21:03, Ken Wright wrote: > > On Fri, 2022-01-07 at 18:50 +0100, John Fawcett wrote: > >> it may or may not be related to the tls issue, but I think you will > >> want to investigate that message about the SQL query syntax error. >

Re: Why Last-login?

2021-03-03 Thread Mark Moseley
On Wed, Mar 3, 2021 at 11:16 AM @lbutlr wrote: > On 03 Mar 2021, at 05:33, Yassine Chaouche > wrote: > >> Am I missing some reason I would need/want to keep track of that > specific login time separately? > > > What about mbox files ? > > Is anyone foolish enough to use mbox in 2021? > > It's de

Feature Request: Redis support for username and TLS

2020-11-03 Thread Mark Moseley
I was wondering if there was any imminent support in 2.3.12+ for using a username to log into Redis, as well as support for using TLS to connect to Redis. And if not, I'd like to put in a feature request for those two things (AUTH with username/password, and TLS connections to Redis). Specifically

Re: Sieve filter script EXECUTION FAILED

2020-10-30 Thread Mark Moseley
On Fri, Oct 30, 2020 at 11:34 AM @lbutlr wrote: > On 30 Oct 2020, at 11:57, Aki Tuomi wrote: > > But I think the sed here is missing 's' from start, so this does not > actually do anything... > > Copy/paste/edit error. The s is there in the file. > > darkmode.sh: > #!/bin/sh > echo $1 | sed -e '

Re: LMTP Authentication Error

2020-10-11 Thread Mark Moseley
On Sat, Oct 10, 2020 at 12:08 PM David Morsberger wrote: > I wish someone could help me. I’m trying to track auth in the lmtp code. > Nice code base but I’m having trouble tracking the call stack for the error > > Sent from my iPhone > > > On Oct 9, 2020, at 08:00, David Morsberger wrote: > > >

Re: Dovecot permission denied errors on NFS after upgrade to 2.2.17

2020-07-13 Thread Mark Moseley
On Mon, Jul 13, 2020 at 7:36 AM Claudio Corvino wrote: > Thanks Jochen, > > no mixups present at all, file assigned to UID 501. > > Since this problem started few hours after the Debian upgrade, I think > it is related to it. > > I don't know if something has changed on the NFS client side on Deb

Re: Cert for ip range?

2019-11-27 Thread Mark Moseley via dovecot
On Wed, Nov 27, 2019 at 11:31 AM Aki Tuomi wrote: > > > On 27/11/2019 21:28 Mark Moseley via dovecot > wrote: > > > > > > On Tue, Nov 26, 2019 at 11:22 PM Aki Tuomi via dovecot < > dovecot@dovecot.org> wrote: > > > > > > On 21.11.2019 23

Re: Cert for ip range?

2019-11-27 Thread Mark Moseley via dovecot
On Tue, Nov 26, 2019 at 11:22 PM Aki Tuomi via dovecot wrote: > > On 21.11.2019 23.57, Marc Roos via dovecot wrote: > > Is it possible to configure a network for a cert instead of an ip? > > > > Something like this: > > > > local 192.0.2.0 { > > ssl_cert = > ssl_key = > } > > > > Or >

Re: Quota and maildir does not work with subfolders of INBOX

2019-09-10 Thread Mark Moseley via dovecot
On Mon, Sep 9, 2019 at 8:57 PM Niels Kobschätzki via dovecot < dovecot@dovecot.org> wrote: > On 9/9/19 6:18 PM, @lbutlr via dovecot wrote: > > On 9 Sep 2019, at 09:27, Niels Kobschätzki > wrote: > >> The moment I remove those folders, the size gets calculated correctly. > Unfortunately those fold

Re: [BUG?] Double quota calulation when special folder is present

2019-08-06 Thread Mark Moseley via dovecot
On Tue, Apr 9, 2019 at 9:52 PM Aki Tuomi wrote: > > On 10 April 2019 05:00 Mark Moseley via dovecot > wrote: > > > On Wed, Apr 3, 2019 at 9:37 PM Mark Moseley < moseleym...@gmail.com> > wrote: > > > On Wed, Mar 20, 2019 at 2:13 PM Mark Moseley < moseleym

Re: Using userdb/passdb data in director_username_hash

2019-04-12 Thread Mark Moseley via dovecot
On Fri, Apr 12, 2019 at 11:14 AM Aki Tuomi wrote: > > > On 12 April 2019 21:09 Mark Moseley via dovecot > wrote: > > > > > > TL;DR: > > > > Can director_username_hash use %{userdb:...} or %{passdb:...} ? > > > > =

Using userdb/passdb data in director_username_hash

2019-04-12 Thread Mark Moseley via dovecot
TL;DR: Can director_username_hash use %{userdb:...} or %{passdb:...} ? This is on Ubuntu Precise, running dovecot 2.2.36. It's a fully production, director-ized env, so assume everything is working correctly. Happy to post doveconf if it's relevant but wanted

Re: [BUG?] Double quota calulation when special folder is present

2019-04-09 Thread Mark Moseley via dovecot
On Wed, Apr 3, 2019 at 9:37 PM Mark Moseley wrote: > > On Wed, Mar 20, 2019 at 2:13 PM Mark Moseley > wrote: > >> Just hoping to get some dev eyes on this. I'm incredibly reluctant to >> throw the word 'bug' around >> (since 99 times out of 1

Re: Where to report (potential) Dovecot bugs

2019-04-09 Thread Mark Moseley via dovecot
On Tue, Apr 9, 2019 at 2:35 PM John Fawcett via dovecot wrote: > On 09/04/2019 22:03, Mark Moseley via dovecot wrote: > > I'm curious if this is still the right place to report potential bugs > > with Dovecot. > > > > Is there a Dovecot bug tracker somewh

Where to report (potential) Dovecot bugs

2019-04-09 Thread Mark Moseley via dovecot
I'm curious if this is still the right place to report potential bugs with Dovecot. Is there a Dovecot bug tracker somewhere?

Re: [BUG?] Double quota calulation when special folder is present

2019-04-03 Thread Mark Moseley via dovecot
On Wed, Mar 20, 2019 at 2:13 PM Mark Moseley wrote: > Just hoping to get some dev eyes on this. I'm incredibly reluctant to > throw the word 'bug' around > (since 99 times out of 100, it's not -- it's almost always the config), > but I can't think of a

[BUG?] Double quota calulation when special folder is present

2019-03-20 Thread Mark Moseley via dovecot
Just hoping to get some dev eyes on this. I'm incredibly reluctant to throw the word 'bug' around (since 99 times out of 100, it's not -- it's almost always the config), but I can't think of any way that this could be a config issue, esp when the pre-2.2.34 version works as expected. I noticed dur

Re: Double quota calulation when special folder is present

2019-03-15 Thread Mark Moseley via dovecot
On Wed, Mar 13, 2019 at 4:46 AM Bernd Wurst via dovecot wrote: > Hello, > > we're operating dovecot on a small server. Some years ago, we migrated > from courier IMAP to dovecot. Therefore, we defined our default > Namespace "inbox" with prefix "INBOX." to have this compatible. I found > this in

Re: Inbox quota usage doubled when mailbox_list_index enabled, under some circumstances

2019-03-12 Thread Mark Moseley via dovecot
On Tue, Aug 14, 2018 at 12:31 PM Chris Dillon wrote: > I’ve had the opportunity to test the same configuration with a fresh build > of the git master branch (2.4.devel) and the issue also occurs there. I > see that "mailbox_list_index = yes" is now enabled by default. It can > still be disabled

Re: doveadm import with subfolder oddity

2019-02-12 Thread Mark Moseley via dovecot
On Mon, Feb 4, 2019 at 1:59 PM Mark Moseley wrote: > This has got to be something weird in my config. And the standard > disclaimer of '"happy to post doveconf -n, but wanted to see if this is > normal first" :) > > Background: Ubuntu Xenial, running 2.2.36. Mailbo

Re: Doveadm service as non-root user

2019-02-12 Thread Mark Moseley via dovecot
On Mon, Feb 4, 2019 at 12:04 PM Mark Moseley wrote: > > On Fri, Feb 1, 2019 at 11:37 PM Aki Tuomi > wrote: > >> >> On 01 February 2019 at 23:16 Mark Moseley < moseleym...@gmail.com> >> wrote: >> >> >> Running: Ubuntu xenial, dovecot 2.2.3

doveadm import with subfolder oddity

2019-02-04 Thread Mark Moseley
This has got to be something weird in my config. And the standard disclaimer of '"happy to post doveconf -n, but wanted to see if this is normal first" :) Background: Ubuntu Xenial, running 2.2.36. Mailbox type is mdbox and I've got a period separator in my inbox namespace: namespace { hidden =

Re: Doveadm service as non-root user

2019-02-04 Thread Mark Moseley
On Fri, Feb 1, 2019 at 11:37 PM Aki Tuomi wrote: > > On 01 February 2019 at 23:16 Mark Moseley < moseleym...@gmail.com> wrote: > > > Running: Ubuntu xenial, dovecot 2.2.36 > > I've been working on moving our user base from maildir to mdbox and trying > to com

Doveadm service as non-root user

2019-02-01 Thread Mark Moseley
Running: Ubuntu xenial, dovecot 2.2.36 I've been working on moving our user base from maildir to mdbox and trying to come up with solutions for things like moving emails around. In the past, with maildir, our support guys could just mv the files around and done. For mdbox, I've been working on get

Re: "unknown user - trying the next userdb" Info in log

2019-01-29 Thread Mark Moseley
On Tue, Jan 29, 2019 at 9:58 PM James Brown via dovecot wrote: > On 30 Jan 2019, at 4:35 pm, Aki Tuomi wrote: > > > > On 30 January 2019 at 07:12 James Brown < jlbr...@bordo.com.au> wrote: > > > >> My settings: > ... > >> userdb { > >> driver = passwd > >> } > >> userdb { > >> driver = prefetch

Re: limit pop login per user and per minute

2018-03-22 Thread Mark Moseley
On Thu, Mar 22, 2018 at 1:41 PM, Joseph Tam wrote: > On Thu, 22 Mar 2018, Markus Eckerl wrote: > > The problem is, that he misconfigured the servers of these customers. In >> detail: their servers are trying to fetch email every 2 - 5 seconds. For >> every email address. >> >> In the past I conta

Re: Dovecot 2.3.0 TLS

2018-01-23 Thread Mark Moseley
On Tue, Jan 23, 2018 at 10:05 AM, Aki Tuomi wrote: > > > On January 23, 2018 at 7:09 PM Arkadiusz Miśkiewicz > wrote: > > > > > > On Thursday 11 of January 2018, Aki Tuomi wrote: > > > > > Seems we might've made a unexpected change here when we revamped the > ssl > > > code. > > > > Revamped, in

Re: Locks directory change

2018-01-07 Thread Mark Moseley
On Thu, Oct 26, 2017 at 7:30 AM, Aki Tuomi wrote: > > > On October 26, 2017 at 4:30 PM Federico Bartolucci > wrote: > > > > > > Hello, > > > > it's the first time for me writing to the list, I'm trying to change the > > location into which the Dovecot's locks are done reserving a special > > tem

Re: Lua Auth

2017-12-22 Thread Mark Moseley
On Fri, Dec 22, 2017 at 5:18 AM, wrote: > > > On December 22, 2017 at 8:20 AM Mark Moseley > wrote: > > > > > > On Thu, Dec 21, 2017 at 9:51 PM, Aki Tuomi wrote: > > > > > > > > >

Re: Lua Auth

2017-12-21 Thread Mark Moseley
On Thu, Dec 21, 2017 at 9:51 PM, Aki Tuomi wrote: > > > On December 22, 2017 at 6:43 AM Mark Moseley > wrote: > > > > > > > > > > > > > > > > > > > 2) Is there an appropriate way to return data with spaces in it (or >

Re: Lua Auth

2017-12-21 Thread Mark Moseley
> > > > > 2) Is there an appropriate way to return data with spaces in it (or > presumably other non-alphanum chars. My quota name had a space in it, > which > somehow got interpreted as 'yes' , i.e.: > > imap: Error: Failed to initialize quota: Invalid quota root quota: Unknown > quota backend: ye

Re: v2.3.0 release candidate released

2017-12-18 Thread Mark Moseley
On Mon, Dec 18, 2017 at 2:32 PM, Timo Sirainen wrote: > On 18 Dec 2017, at 23.16, Mark Moseley wrote: > > > > doveadm(test1-sha...@test.com): Panic: file buffer.c: line 97 > > (buffer_check_limits): assertion failed: (buf->used <= buf->alloc) > .. >

Re: v2.3.0 release candidate released

2017-12-18 Thread Mark Moseley
On Mon, Dec 18, 2017 at 1:16 PM, Mark Moseley wrote: > On Mon, Dec 18, 2017 at 7:23 AM, Timo Sirainen wrote: > >> https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz >> https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz.sig >> >> It's f

Re: v2.3.0 release candidate released

2017-12-18 Thread Mark Moseley
On Mon, Dec 18, 2017 at 7:23 AM, Timo Sirainen wrote: > https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz > https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz.sig > > It's finally time for v2.3 release branch! There are several new and > exciting features in it. I'm especiall

Re: Lua Auth

2017-12-01 Thread Mark Moseley
On Thu, Nov 30, 2017 at 5:26 AM, Stephan Bosch wrote: > > > Op 29-11-2017 om 6:17 schreef Aki Tuomi: > >> On November 29, 2017 at 4:37 AM Mark Moseley >>> wrote: >>> >>> >>> Just happened to be surfing the docs and saw this. This is

Lua Auth

2017-11-28 Thread Mark Moseley
Just happened to be surfing the docs and saw this. This is beyond awesome: https://wiki2.dovecot.org/AuthDatabase/Lua Any words of wisdom on using it? I'd be putting a bunch of mysql logic in it. Any horrible gotchas there? When it says 'blocking', should I assume that means that a auth worker pr

Re: stats module

2017-11-03 Thread Mark Moseley
On Fri, Nov 3, 2017 at 9:35 AM, Jeff Abrahamson wrote: > Sorry, Aki, I don't follow you. Did I do it wrong in the file 91-stats > that I shared in my original mail (attached here)? > > Jeff > > > On 03/11/17 16:50, Aki Tuomi wrote: > > You need to add the stats listener, by yourself. > > > > Aki

Re: Conditionally disabling auth policy

2017-09-28 Thread Mark Moseley
On Thu, Sep 28, 2017 at 9:34 AM, Aki Tuomi wrote: > > > On September 28, 2017 at 7:20 PM Mark Moseley > wrote: > > > > > > On Wed, Sep 27, 2017 at 10:06 PM, Aki Tuomi > wrote: > > > > > > > > > > > On 27.09.2017 20:14, Ma

Re: Conditionally disabling auth policy

2017-09-28 Thread Mark Moseley
On Wed, Sep 27, 2017 at 10:06 PM, Aki Tuomi wrote: > > > On 27.09.2017 20:14, Mark Moseley wrote: > > On Wed, Sep 27, 2017 at 10:03 AM, Marcus Rueckert > wrote: > > > >> On 2017-09-27 16:57:44 +, Mark Moseley wrote: > >>> I've been digging

Re: Conditionally disabling auth policy

2017-09-27 Thread Mark Moseley
On Wed, Sep 27, 2017 at 10:03 AM, Marcus Rueckert wrote: > On 2017-09-27 16:57:44 +0000, Mark Moseley wrote: > > I've been digging into the auth policy stuff with weakforced lately. > There > > are cases (IP ranges, so could be wrapped up in remote {} blocks) where >

Conditionally disabling auth policy

2017-09-27 Thread Mark Moseley
I've been digging into the auth policy stuff with weakforced lately. There are cases (IP ranges, so could be wrapped up in remote {} blocks) where it'd be nice to skip the auth policy (internal hosts that I can trust, but that are hitting the same servers as the outside world). Is there any way to

Re: lazy_expunge doesn't work since upgrade 2.2.30 to 2.2.32

2017-09-18 Thread Mark Moseley
On Fri, Sep 15, 2017 at 1:42 PM, Harald Leithner wrote: > Am 2017-09-15 21:25, schrieb Mark Moseley: > >> On Wed, Sep 6, 2017 at 2:01 AM, Harald Leithner >> wrote: >> >> Any idea why this doesn't setup work anymore in 2.2.32? >>> >>> thx &

Re: lazy_expunge doesn't work since upgrade 2.2.30 to 2.2.32

2017-09-15 Thread Mark Moseley
On Wed, Sep 6, 2017 at 2:01 AM, Harald Leithner wrote: > Any idea why this doesn't setup work anymore in 2.2.32? > > thx > > Harald > > I just ran into the same thing myself. For me, when I added this to the "location" in the expunged namespace, it started working again: ...:LISTINDEX=expunged.

Re: weakforced

2017-08-17 Thread Mark Moseley
On Thu, Aug 17, 2017 at 1:16 AM, Teemu Huovila wrote: > Below is an answer by the current weakforced main developer. It overlaps > partly with Samis answer. > > ---snip--- > > Do you have any hints/tips/guidelines for things like sizing, both in a > > per-server sense (memory, mostly) and in a c

Re: weakforced

2017-08-16 Thread Mark Moseley
On Tue, Jul 18, 2017 at 10:40 PM, Aki Tuomi wrote: > > > On 19.07.2017 02:38, Mark Moseley wrote: > > I've been playing with weakforced, so it fills in the 'fail2ban across a > > cluster' niche (not to mention RBLs). It seems to work well, once you've &g

weakforced

2017-07-18 Thread Mark Moseley
I've been playing with weakforced, so it fills in the 'fail2ban across a cluster' niche (not to mention RBLs). It seems to work well, once you've actually read the docs :) I was curious if anyone had played with it and was *very* curious if anyone was using it in high traffic production. Getting t

Re: v2.2.31 release candidate released

2017-06-23 Thread Mark Moseley
On Fri, Jun 23, 2017 at 4:30 AM, Timo Sirainen wrote: > On 23 Jun 2017, at 3.44, Mark Moseley wrote: > > > > It'd be great if https://dovecot.org/list/dovecot/2016-June/104763.html > > could make it into this RC (assuming you guys approved it back when it > was &

Re: v2.2.31 release candidate released

2017-06-22 Thread Mark Moseley
On Tue, Jun 20, 2017 at 12:45 PM, Timo Sirainen wrote: > https://dovecot.org/releases/2.2/rc/dovecot-2.2.31.rc1.tar.gz > https://dovecot.org/releases/2.2/rc/dovecot-2.2.31.rc1.tar.gz.sig > > Unless new bugs are found, this will be the final v2.2.31 release, which > will be released on Monday. > >

Redis auth?

2017-06-12 Thread Mark Moseley
I was curious what the status of this redis auth patch is: https://dovecot.org/list/dovecot/2016-June/104763.html

Re: Retrieving mail from read-only mdbox

2017-06-01 Thread Mark Moseley
On Wed, May 31, 2017 at 3:24 PM, M. Balridge wrote: > Quoting Mark Moseley : > > > I've tried using IMAP with mail_location pointed at the snapshot, but, > > though I can get a listing of emails in the mailbox, the fetch fails when > > dovecot can't wri

Re: Retrieving mail from read-only mdbox

2017-06-01 Thread Mark Moseley
> > > > > > I've tried using IMAP with mail_location pointed at the snapshot, but, > > > though I can get a listing of emails in the mailbox, the fetch fails > when > > > dovecot can't write-lock dovecot.index.log. > > > > I've thought about doing this someday (adding snapshots to a user's > > name

Retrieving mail from read-only mdbox

2017-05-31 Thread Mark Moseley
This is a 'has anyone run into this and solved it' post. And yes, I've been reading and re-reading TFM but without luck. The background is that I'm working on tooling before we start a mass maildir->mdbox conversion. One of those tools is recovering mail from backups (easy as pie with maildir). We

Re: Host ... is being updated before previous update had finished

2017-04-21 Thread Mark Moseley
Timo/Aki/Docecot guys, any hints here? Is this a bug? Design issue? On Fri, Apr 7, 2017 at 10:10 AM Mark Moseley wrote: > On Mon, Apr 3, 2017 at 6:04 PM, Mark Moseley > wrote: > >> We just had a bunch of backend boxes go down due to a DDoS in our >> director cluster. Wh

Re: IMAP hibernate and scalability in general

2017-04-10 Thread Mark Moseley
On Thu, Apr 6, 2017 at 9:22 PM, Christian Balzer wrote: > > Hello, > > On Thu, 6 Apr 2017 22:13:07 +0300 Timo Sirainen wrote: > > > On 6 Apr 2017, at 21.14, Mark Moseley wrote: > > > > > >> > > >> imap-hibernate processes are similar to ima

Re: Host ... is being updated before previous update had finished

2017-04-07 Thread Mark Moseley
On Mon, Apr 3, 2017 at 6:04 PM, Mark Moseley wrote: > We just had a bunch of backend boxes go down due to a DDoS in our director > cluster. When the DDoS died down, our director ring was a mess. > > Each box had thousands (and hundreds per second, which is a bit much) of > log

Re: IMAP hibernate and scalability in general

2017-04-06 Thread Mark Moseley
On Thu, Apr 6, 2017 at 3:10 AM, Timo Sirainen wrote: > On 6 Apr 2017, at 9.56, Christian Balzer wrote: > > > >> For no particular reason besides wanting to start conservatively, we've > got > >> client_limit set to 50 on the hibernate procs (with 1100 total > hibernated > >> connections on the b

Re: IMAP hibernate and scalability in general

2017-04-05 Thread Mark Moseley
We've been using hibernate for about half a year with no ill effects. There were various logged errors in earlier versions of dovecot, but even with those, we never heard a reported customer-side error (almost always when transitioning from hibernate back to regular imap; in the case of those error

Host ... is being updated before previous update had finished

2017-04-03 Thread Mark Moseley
We just had a bunch of backend boxes go down due to a DDoS in our director cluster. When the DDoS died down, our director ring was a mess. Each box had thousands (and hundreds per second, which is a bit much) of log lines like the following: Apr 03 19:59:29 director: Warning: director(10.1.20.10:

"Connection queue full" error

2017-03-23 Thread Mark Moseley
Just a quickie: why is "Connection queue full" logged under Info, instead of something like error? Or at least have the word 'error' in it? Seems like a pretty error-ish thing to happen. Anything that causes the connection to fail from the server side should show up in a grep -i for error. I.e. I

Re: Director+NFS Experiences

2017-02-24 Thread Mark Moseley
On Fri, Feb 24, 2017 at 11:41 AM, Francisco Wagner C. Freire < wgrcu...@gmail.com> wrote: > In our experience. A ring with more of 4 servers is bad, we have sync > problems everyone. Using 4 or less works perfect. > > Em 24 de fev de 2017 4:30 PM, "Mark Moseley" &g

Re: Director+NFS Experiences

2017-02-24 Thread Mark Moseley
> > On Thu, Feb 23, 2017 at 3:15 PM, Timo Sirainen wrote: > >> On 24 Feb 2017, at 0.08, Mark Moseley wrote: >> > >> > As someone who is about to begin the process of moving from maildir to >> > mdbox on NFS (and therefore just about to start the &#x

Re: Director+NFS Experiences

2017-02-24 Thread Mark Moseley
On Thu, Feb 23, 2017 at 3:45 PM, Zhang Huangbin wrote: > > > On Feb 24, 2017, at 6:08 AM, Mark Moseley wrote: > > > > * Do you use the perl poolmon script or something else? The perl script > was > > being weird for me, so I rewrote it in python but it basically

Re: Director+NFS Experiences

2017-02-23 Thread Mark Moseley
On Thu, Feb 23, 2017 at 3:15 PM, Timo Sirainen wrote: > On 24 Feb 2017, at 0.08, Mark Moseley wrote: > > > > As someone who is about to begin the process of moving from maildir to > > mdbox on NFS (and therefore just about to start the 'director-ization' of >

Director+NFS Experiences

2017-02-23 Thread Mark Moseley
As someone who is about to begin the process of moving from maildir to mdbox on NFS (and therefore just about to start the 'director-ization' of everything) for ~6.5m mailboxes, I'm curious if anyone can share any experiences with it. The list is surprisingly quiet about this subject, and articles

Re: Implementing secondary quota w/ "Archive" namespace

2016-12-01 Thread Mark Moseley
On Thu, Dec 1, 2016 at 4:37 AM, Timo Sirainen wrote: > On 1 Dec 2016, at 2.22, Mark Moseley wrote: > > > How about this updated patch? > > > Nope, still lets me move messages into the over-quota namespace. > > Both these are true in quota_check: > > ctx-&g

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-30 Thread Mark Moseley
On Thu, Nov 24, 2016 at 9:10 PM, Mark Moseley wrote: > On Thu, Nov 24, 2016 at 10:52 AM, Timo Sirainen wrote: > >> On 24 Nov 2016, at 9.33, Mark Moseley wrote: >> > >> > On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen wrote: >> > >> &g

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-24 Thread Mark Moseley
On Thu, Nov 24, 2016 at 10:52 AM, Timo Sirainen wrote: > On 24 Nov 2016, at 9.33, Mark Moseley wrote: > > > > On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen wrote: > > > >> On 23 Nov 2016, at 0.49, Mark Moseley wrote: > >>> > >>> If I move

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-23 Thread Mark Moseley
On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen wrote: > On 23 Nov 2016, at 0.49, Mark Moseley wrote: > > > > If I move messages between namespaces, it appears to ignore the quotas > I've > > set on them. A *copy* will trigger the quota error. But a *move* jus

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-22 Thread Mark Moseley
On Mon, Nov 21, 2016 at 6:20 PM, Fred Turner wrote: > 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 ol

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-21 Thread Mark Moseley
On Sun, Nov 20, 2016 at 3:28 PM, Fred Turner wrote: > Hey Everybody— > > Posted this to the list a couple of months ago, but didn’t get any > responses. Is there a better place to ask this question about quota & > namespace configuration? Seems like a lot of the discussion here is a > little deep

Re: How to understand NFS lookup (requests) spike?

2016-02-17 Thread Mark Moseley
On Wed, Feb 17, 2016 at 12:49 AM, Alessio Cecchi wrote: > Hi, I'm are running a classic Dovecot setup: > > About ten thousand connected users > mailbox in Maildir format shared via NFS (NetApp) > Director for POP/IMAP > Delivery via Dovecot LDA > > All works fine but sometimes I see a spike on th

Re: [Dovecot] Dovecot stones

2012-04-02 Thread Mark Moseley
On Sat, Mar 31, 2012 at 2:28 PM, Timo Sirainen wrote: > For the last few days I've been thinking about my company and what it really > should do, and as much as the current plan seems reasonable, I think in good > conscience I really can't help but to bring up an alternative plan: > >... I'm sl

Re: [Dovecot] Dovecot v2.2 plans

2012-02-15 Thread Mark Moseley
On Mon, Feb 13, 2012 at 3:47 AM, Timo Sirainen wrote: > Here's a list of things I've been thinking about implementing for Dovecot > v2.2. Probably not all of them will make it, but I'm at least interested in > working on these if I have time. > > Previously I've mostly been working on things tha

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Mark Moseley
On Mon, Feb 13, 2012 at 5:54 AM, Jan-Frode Myklebust wrote: > We've been collecting some stats to see what kind of benefits > UP/SquirrelMail's IMAP Proxy in for our SOGo webmail users. Dovecot is > running in High-performance mode http://wiki2.dovecot.org/LoginProcess > with authentication cachin

Re: [Dovecot] Slightly more intelligent way of handling issues in sdbox?

2012-02-07 Thread Mark Moseley
On Tue, Feb 7, 2012 at 4:08 AM, Mark Zealey wrote: > 06-02-2012 22:47, Timo Sirainen yazmış: > >> On 3.2.2012, at 16.16, Mark Zealey wrote: >> >>> I was doing some testing on sdbox yesterday. Basically I did the >>> following procedure: >>> >>> 1) Create new sdbox; deliver 2 messages into it (u.1,

Re: [Dovecot] moving mail out of alt storage

2012-01-30 Thread Mark Moseley
On Sat, Jan 28, 2012 at 12:44 PM, Timo Sirainen wrote: > On 12.1.2012, at 20.32, Mark Moseley wrote: > >>>> On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote: >>>>> I moved some mail into the alt storage: >>>>> >>>>> doveadm a

Re: [Dovecot] MySQL server has gone away

2012-01-28 Thread Mark Moseley
On Sat, Jan 28, 2012 at 12:07 PM, Timo Sirainen wrote: > On 13.1.2012, at 20.29, Mark Moseley wrote: > >> If there are multiple hosts, it seems like the most robust thing to do >> would be to exhaust the existing connections and if none of those >> succeed, then start a

Re: [Dovecot] Director questions

2012-01-23 Thread Mark Moseley
On Mon, Jan 23, 2012 at 11:37 AM, Timo Sirainen wrote: > On 23.1.2012, at 21.13, Mark Moseley wrote: > >> In playing with dovecot director, a couple of things came up, one >> related to the other: >> >> 1) Is there an effective maximum of directors that shouldn'

[Dovecot] Director questions

2012-01-23 Thread Mark Moseley
In playing with dovecot director, a couple of things came up, one related to the other: 1) Is there an effective maximum of directors that shouldn't be exceeded? That is, even if technically possible, that I shouldn't go over? Since we're 100% NFS, we've scaled servers horizontally quite a bit. At

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-19 Thread Mark Moseley
On Wed, Jan 18, 2012 at 8:39 PM, Stan Hoeppner wrote: > On 1/18/2012 7:54 AM, Timo Sirainen wrote: >> On Wed, 2012-01-18 at 20:44 +0800, Lee Standen wrote: > >>> * All mail storage presented via NFS over 10Gbps Ethernet (Jumbo Frames) >>> >>> * Postfix will feed new email to Dovecot via LMTP >>> >

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Mark Moseley
On Wed, Jan 18, 2012 at 9:58 AM, Timo Sirainen wrote: > On 18.1.2012, at 19.54, Mark Moseley wrote: > >> I'm in the middle of working on a Maildir->mdbox migration as well, >> and likewise, over NFS (all Netapps but moving to Sun), and likewise >> with split LDA a

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-18 Thread Mark Moseley
>>> * All mail storage presented via NFS over 10Gbps Ethernet (Jumbo Frames) >>> >>> * Postfix will feed new email to Dovecot via LMTP >>> >>> * Dovecot servers have been split based on their role >>> >>>  - Dovecot LDA Servers (running LMTP protocol) >>> >>>  - Dovecot POP/IMAP servers (running P

Re: [Dovecot] LMTP Logging

2012-01-18 Thread Mark Moseley
On Wed, Jan 18, 2012 at 6:52 AM, Timo Sirainen wrote: > On Mon, 2012-01-16 at 17:17 -0800, Mark Moseley wrote: >> Just had a minor suggestion, with no clue how hard/easy it would be to >> implement: >> >> The %f flag in deliver_log_format seems to pick up the From: head

[Dovecot] LMTP Logging

2012-01-16 Thread Mark Moseley
Just had a minor suggestion, with no clue how hard/easy it would be to implement: The %f flag in deliver_log_format seems to pick up the From: header, instead of the "MAIL FROM:<...>" arg. It'd be handy to have a %F that shows the "MAIL FROM" arg instead. I'm looking at tracking emails through log

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Mark Moseley
On Fri, Jan 13, 2012 at 2:46 PM, Paul B. Henson wrote: > On Fri, Jan 13, 2012 at 01:36:38AM -0800, Timo Sirainen wrote: > >> Also another idea to avoid them in the first place: >> >> service auth-worker { >>   idle_kill = 20 >> } > > Ah, set the auth-worker timeout to less than the mysql timeout t

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Mark Moseley
On Fri, Jan 13, 2012 at 11:38 AM, Robert Schetterer wrote: > Am 13.01.2012 19:29, schrieb Mark Moseley: >> On Fri, Jan 13, 2012 at 1:36 AM, Timo Sirainen wrote: >>> On 13.1.2012, at 4.00, Mark Moseley wrote: >>> >>>> I'm running 2.0.17 and I'm s

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Mark Moseley
On Fri, Jan 13, 2012 at 1:36 AM, Timo Sirainen wrote: > On 13.1.2012, at 4.00, Mark Moseley wrote: > >> I'm running 2.0.17 and I'm still seeing a decent amount of "MySQL >> server has gone away" errors, despite having multiple hosts defined in >> my au

[Dovecot] MySQL server has gone away

2012-01-12 Thread Mark Moseley
I'm running 2.0.17 and I'm still seeing a decent amount of "MySQL server has gone away" errors, despite having multiple hosts defined in my auth userdb 'connect'. This is Debian Lenny 32-bit and I'm seeing the same thing with 2.0.16 on Debian Squeeze 64-bit. E.g.: Jan 12 20:30:33 auth-worker: Err

Re: [Dovecot] moving mail out of alt storage

2012-01-12 Thread Mark Moseley
On Thu, Sep 15, 2011 at 10:14 AM, Micah Anderson wrote: > Timo Sirainen writes: > >> On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote: >>> I moved some mail into the alt storage: >>> >>> doveadm altmove -u jo...@example.com seen savedbefore 1w >>> >>> and now I want to move it back to the

Re: [Dovecot] Glued-together private namespaces

2011-11-16 Thread Mark Moseley
On Wed, Nov 16, 2011 at 10:34 AM, Timo Sirainen wrote: > On Tue, 2011-11-15 at 16:04 -0800, Mark Moseley wrote: >> > The gotcha is that you have two completely independent quotas with >> > independent usage/limits for the INBOX and Archive namespaces. If that >> > i

Re: [Dovecot] Glued-together private namespaces

2011-11-15 Thread Mark Moseley
On Tue, Nov 15, 2011 at 11:39 AM, Timo Sirainen wrote: > On Mon, 2011-11-14 at 10:23 -0800, Mark Moseley wrote: > >> > Thanks to a fortuitously unrelated thread ("how to disable quota for >> > second namespace"), I got the quota part figured out and that seem

Re: [Dovecot] Glued-together private namespaces

2011-11-14 Thread Mark Moseley
On Mon, Sep 26, 2011 at 10:11 AM, Mark Moseley wrote: > On Fri, Sep 23, 2011 at 3:35 PM, Mark Moseley wrote: >> I've been goofing with this all day with 2.0.15 and I'm starting to >> realize that either a) I'm not that smart, b) it's been so long since >>

Re: [Dovecot] Glued-together private namespaces

2011-09-26 Thread Mark Moseley
On Fri, Sep 23, 2011 at 3:35 PM, Mark Moseley wrote: > I've been goofing with this all day with 2.0.15 and I'm starting to > realize that either a) I'm not that smart, b) it's been so long since > I messed with namespaces that I'm going about it completely wrong,

[Dovecot] Glued-together private namespaces

2011-09-23 Thread Mark Moseley
I've been goofing with this all day with 2.0.15 and I'm starting to realize that either a) I'm not that smart, b) it's been so long since I messed with namespaces that I'm going about it completely wrong, or c) it's just not possible. I haven't posted 'doveconf -n' and other details, because mainly

Re: [Dovecot] Dovecot 2, Imap service, client_limit

2011-07-19 Thread Mark Moseley
On Tue, Jul 19, 2011 at 3:56 PM, Steve Fatula wrote: > I see back in November of last year, a thread about using client_limit in the > imap service (not imap-login) that would allow each imap process serve more > than > one connection. Sounded good, until I tried it! > > When I did, unlike the OP

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-16 Thread Mark Moseley
2010/12/16 Jose Celestino : > On Qui, 2010-12-16 at 12:56 +0100, Ralf Hildebrandt wrote: >> * Cor Bosman : > >> > I saw someone also posted a patch to the LKML. >> >> I guess I missed that one >> > > http://lkml.org/lkml/2010/12/15/470 Timo, if we apply the above kernel patch, do we still need to

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-10 Thread Mark Moseley
On Thu, Dec 9, 2010 at 4:54 PM, Stan Hoeppner wrote: > Mark Moseley put forth on 12/9/2010 12:18 PM: > >> If you at some point upgrade to >2.6.35, I'd be interested to hear if >> the load skyrockets on you. I also get the impression that the load >> average calcul

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-09 Thread Mark Moseley
On Thu, Dec 9, 2010 at 12:58 PM, Timo Sirainen wrote: > On Thu, 2010-12-09 at 10:18 -0800, Mark Moseley wrote: > >> Upping the client_limit actually results in less processes, since a >> single process can service up to #client_limit connections. When I >> bumped up the c

Re: [Dovecot] load increase after upgrade to 2.0.8

2010-12-09 Thread Mark Moseley
On Thu, Dec 9, 2010 at 11:13 AM, Ralf Hildebrandt wrote: > * Mark Moseley : > >> > We're on 2.6.32 and the load only goes up when I change dovecot (not >> > when I change the kernel, which I didn't do so far) >> >> If you at some point upgrade to >

  1   2   >