IMAP hibernate feature committed

2015-08-24 Thread Timo Sirainen
http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 Today I finally committed the "imap-hibernate" feature that I first started developing about a year ago (and had been thinking about for several years before that). The main purpose here is to reduce the number of imap processes and the amount

Re: ldap attribute modifiers. how to lowercase non ASCII

2015-08-24 Thread Timo Sirainen
On 28 Jul 2015, at 18:15, matthias lay wrote: > > hi all, > > I encountered some problem with lowercasing chars like an "Ä" > > with user_attrs like this: > > user_attrs = uid=home=/mail/%Lu, =myvar=%L{ldap:uid} > > the Ä doesnt get lower cased in both cases There are various different algor

Re: Store ACL files within shared mailbox / rename shared folder problem

2015-08-24 Thread Timo Sirainen
On 17 Aug 2015, at 19:11, Chris Laif wrote: > > Hi. > > If $otheruser shares a mailbox to $myuser, my private index is stored > in *my* Maildir, according to this template (from the dovecot docs): > > mail_location = maildir:%%h/Maildir:INDEXPVT=%h/Maildir/shared/%%u > > If $otheruser renames

Re: segfault when using zlib module with glibc 2.22

2015-08-24 Thread Timo Sirainen
On 20 Aug 2015, at 01:37, Florian Pritz wrote: > > Hi, > > I'm seeing the following segfault when I run `doveadm search > mailbox inbox` with the zlib module enabled with dovecot 2.18 and glibc > 2.22 on Arch Linux. It does not happen with glibc 2.21. > > I've noticed that when I remove "zlib"

Re: Shortcomings of Maildir++ layout

2015-08-24 Thread Timo Sirainen
On 23 Aug 2015, at 12:25, Hadmut Danisch wrote: > > Hi, > > I am trying to deal with the problem, that under regular mbox format a > path can lead to either a file or a directory, but not both, while under > IMAP, a path is usually both, a message folder containing subfolders. > > I found dovec

Re: Shortcomings of Maildir++ layout

2015-08-24 Thread Maarten Bezemer
On Sun, 23 Aug 2015, Hadmut Danisch wrote: astonished to see, what problems come with Maildir++ and how complicated dovecot tries to deal with them. .. [fast fwd to "solution"] INBOX -> ~/mail/inbox abc ->~/mail/abc abc/def -> ~/mail/abc.dir/defor ~/mail/___abc___/def Thi

Re: plugin antispam sa-learn run program failed with exit code -1

2015-08-24 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 21 Aug 2015, Guillaume Lakano - DOVECOT wrote: Le 21/08/2015 16:21, Steffen Kaiser a écrit : - -1 usually means exec() failed, that is: /usr/bin/sa-learn does not exist or the process thinks so at least. Hello Steffen, thanks for your re

Duplicate folder names

2015-08-24 Thread Paulo Matos
Hi, I have setup message filtering and for example, I might move a message which a given sender to folder special/. This folder is created and shows up twice in INBOX/special/ and special/. They are however exactly the same folder. If I subscribe to one I am automatically subscribed to the o

Re: Delivering email to Maildir PreINBOX

2015-08-24 Thread Paulo Matos
Please disregard the duplicate. This was due to first submitting the message while unsubscribed which means that was held on queue and only accepted for posting now. Apologies. On 10/08/15 21:11, Paulo Matos wrote: Hi all, I have a running dovecot with: $ dovecot -n # 2.2.18: /etc/dovecot/do

Re: PROXY protocol

2015-08-24 Thread Nikolaos Milas
On 24/8/2015 3:29 πμ, Tim Groeneveld wrote: Have you come across any issues after enabling the haproxy on the inet_listeners? Would love to hear if everything is still going OK. I would love to throw a similar configuration into production. Hi Tim, The configuration I described works fine i