[PATCH] imapc: Accept strings in FLAGS responses

2016-03-07 Thread Richard Laager
While non-standard, the IMAP server we are replacing returns non-system flags as strings instead of atoms. Prior to this change, imapc would abort processing on the first message with a string flag. --- src/lib-storage/index/imapc/imapc-mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1

Re: Dsync Header Hashing

2016-03-07 Thread Richard Laager
On 03/04/2016 08:52 AM, Timo Sirainen wrote: > On 04 Mar 2016, at 07:47, Richard Laager wrote: >> Is there any way to disable the header hashing in dsync? ... > Does the attached patch happen to work? Compiles, but untested for now. It works with one more change on top of

dovecot: imap-login: Panic: Trying to allocate 0 bytes

2016-03-07 Thread Ron Garret
My ISP had a hard drive crash. After the dust settled, my dovecot installation started failing with the following error every time a client tries to connect: dovecot: imap-login: Panic: Trying to allocate 0 bytes My installation has otherwise been stable and rock-solid for years. Both I and

Re: segfault in imap and doveadm

2016-03-07 Thread Joe Beaubien
In order to provide more information, here is a sample output of mail.err: Mar 7 13:37:30 mba dovecot: imap(document): Error: mdbox map /mba_data/emails/document/storage/dovecot.map.index corrupted: map_uid=284393 refcount too low Mar 7 13:37:30 mba dovecot: imap(document): Fatal: master:

segfault in imap and doveadm

2016-03-07 Thread Joe Beaubien
Hi everyone, Dovecot keeps on segfaulting on me and I am unsure why. This setup has been running for 5 years and has given me very little trouble. I am running Dovecot 2.1.7, setup with mdbox. The imap process keeps on segfaulting for the same account (makes me think maybe an email or folder of

Re: Compilation fails: SSL_TXT_SSLV2 not defined

2016-03-07 Thread Muffinman
On 07/03/16 17:12, aki.tu...@dovecot.fi wrote: >> On March 7, 2016 at 6:09 PM aki.tu...@dovecot.fi wrote: >> >> >> >>> On March 7, 2016 at 5:54 PM Muffinman wrote: >>> >>> >>> Hello all, >>> >>> I'm trying to compile dovecot 2.2.21 on OS-X 10.11.3 and I'm running a >>> bit of

Re: Compilation fails: SSL_TXT_SSLV2 not defined

2016-03-07 Thread aki . tuomi
> On March 7, 2016 at 6:09 PM aki.tu...@dovecot.fi wrote: > > > > > On March 7, 2016 at 5:54 PM Muffinman wrote: > > > > > > Hello all, > > > > I'm trying to compile dovecot 2.2.21 on OS-X 10.11.3 and I'm running a > > bit of trouble with OpenSSL. I've cloned OpenSSL

Re: Compilation fails: SSL_TXT_SSLV2 not defined

2016-03-07 Thread aki . tuomi
> On March 7, 2016 at 5:54 PM Muffinman wrote: > > > Hello all, > > I'm trying to compile dovecot 2.2.21 on OS-X 10.11.3 and I'm running a > bit of trouble with OpenSSL. I've cloned OpenSSL (OpenSSL > 1.1.0-pre4-dev) from github and in openssl/ssl.h SSL_TXT_SSLV2 is not >

Compilation fails: SSL_TXT_SSLV2 not defined

2016-03-07 Thread Muffinman
Hello all, I'm trying to compile dovecot 2.2.21 on OS-X 10.11.3 and I'm running a bit of trouble with OpenSSL. I've cloned OpenSSL (OpenSSL 1.1.0-pre4-dev) from github and in openssl/ssl.h SSL_TXT_SSLV2 is not defined anymore. Compilation fails with: libtool: compile: gcc -DHAVE_CONFIG_H -I.

Re: questions regarding zlib plugin

2016-03-07 Thread Alessio Cecchi
Il 07/03/2016 16:13, Andrew McGlashan ha scritto: Okay, I like the idea of saving messages in compressed format, My exim4 on Debian with split config doesn't create files with the size tag, ala: maildir_tag = ,S=$message_size Where should I put this to make it active for exim4 on Debian?

Re: questions regarding zlib plugin

2016-03-07 Thread Andrew McGlashan
Hi, On 8/03/2016 12:13 AM, Alessio Cecchi wrote: > Il 04/03/2016 14:35, Götz Reinicke - IT Koordinator ha scritto: >> Hi, >> >> faced with a current space problem on our dovecot 2.2.18 server, I >> thought about using the zlib plugin. >> >> My questions: >> >> - is it really as simple as adding

Re: questions regarding zlib plugin

2016-03-07 Thread Alessio Cecchi
Il 04/03/2016 14:35, Götz Reinicke - IT Koordinator ha scritto: Hi, faced with a current space problem on our dovecot 2.2.18 server, I thought about using the zlib plugin. My questions: - is it really as simple as adding the options to the conf files as described in the docs :) ?

sis deduplication broken from 2.2.16 upwards

2016-03-07 Thread Pavel Stano
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, sis attachment deduplication is broken in 2.2.16 upwards. It is caused by this commit. https://github.com/dovecot/core/commit/664bf3e236c214aee86294483c379e4fa66c2e63 in src/lib-fs/fs-sis.c function fs_sis_try_link() is comparation of inodes of