Re: CVE-2015-3420

2015-04-28 Thread Timo Sirainen
Timo Sirainen kirjoitti 28.4.2015 kello 11.35: > >> On 28 Apr 2015, at 04:15, Edwardo Garcia wrote: >> When can we expect 2.2.17 to resolve this? > > As far as I know this doesn't affect any of the major distributions where > Dovecot is commonly used (Debian/Ubu

Re: Trash Plugin bugs

2015-04-29 Thread Timo Sirainen
On 28 Apr 2015, at 15:42, Alexei Gradinari wrote: > > Hello Timo, > > Are you going to commit my patch to Dovecot v2.2.x? > I sent it 2 weeks ago and still haven't seen it in > http://hg.dovecot.org/dovecot-2.2/ Committed, thanks! http://hg.dovecot.org/dovecot-2.2/rev/e00f9e93a9a3 (the ret==0

Re: imapc fetch optimization

2015-05-04 Thread Timo Sirainen
On 28 Apr 2015, at 23:49, Nagy, Attila wrote: > > Hi, > > imapc does a lot of UID FETCH $UID (BODY.PEEK[]), which is nice, because it > works even with the dumbest IMAP server, altough it really kills performance, > especially on high latency lines. > > I wonder: if IMAP servers can effective

Re: imapc fetch optimization

2015-05-04 Thread Timo Sirainen
On 04 May 2015, at 16:59, Nagy, Attila wrote: > > Hi, > > On 05/04/15 10:59, Timo Sirainen wrote: >> On 28 Apr 2015, at 23:49, Nagy, Attila wrote: >>> Hi, >>> >>> imapc does a lot of UID FETCH $UID (BODY.PEEK[]), which is nice, because it >>

Re: imapc fetch optimization

2015-05-04 Thread Timo Sirainen
On 04 May 2015, at 18:45, Timo Sirainen wrote: > > On 04 May 2015, at 16:59, Nagy, Attila wrote: >> >> Hi, >> >> On 05/04/15 10:59, Timo Sirainen wrote: >>> On 28 Apr 2015, at 23:49, Nagy, Attila wrote: >>>> Hi, >>>> >&

Re: Bug#776094: dovecot-imapd: corrupts mailbox after trying to retrieve it (fwd)

2015-05-06 Thread Timo Sirainen
Thanks, fixed: http://hg.dovecot.org/dovecot-2.2/rev/94bd895721d8

Re: Dovecot Replication - Architecture Endianness?

2015-05-06 Thread Timo Sirainen
On 04 May 2015, at 17:11, Reuben Farrelly wrote: > > On 4/05/2015 11:06 PM, Teemu Huovila wrote: >> On 05/03/2015 01:48 PM, Reuben Farrelly wrote: >>> Hi all, >>> >>> I've had an interesting use case come up which - to cut the story short - >>> one way to solve the problem I am looking at may b

Re: Dovecot Replication - Architecture Endianness?

2015-05-06 Thread Timo Sirainen
On 06 May 2015, at 13:52, Reuben Farrelly wrote: > > On 4/05/2015 11:06 PM, Teemu Huovila wrote: >>> Also is there a way to restrict replication users aside from a crude hack >>> around system first and last UIDs? >> You can set the userdb to return an empty mail_replica variable for users >> y

Re: PublicFolders using Maildir and INDEXPVT in Dovecot v2.2

2015-05-08 Thread Timo Sirainen
On 08 May 2015, at 18:24, Panayiotis Fafakos wrote: > > Do we have a way to keep the user \Seen flags in public folders > when an email is moved in another folder? > > Sample test to reproduce: > Step a - UserA and UserB have both read the email in PublicFolderA. > Step b - UserA moves the emai

v2.2.17 release candidate released

2015-05-09 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz.sig Quite a lot of changes, so here's a release candidate first. If no problems are reported I'll make v2.2.17 release early next week. Please test especially non-Linux syste

Re: v2.2.17 release candidate released

2015-05-10 Thread Timo Sirainen
> Michael Grimm kirjoitti 9.5.2015 kello 23.17: > > Hi — > > Timo Sirainen wrote: > >> Please test especially non-Linux systems as there are some larger >> configure/Makefile changes done since v2.2.16. > > 2.2.17.rc1 will compile on FBSD 10.1 only, if

Re: v2.2.17 release candidate released

2015-05-10 Thread Timo Sirainen
On 10 May 2015, at 06:19, Reuben Farrelly wrote: > > I'm now seeing these crashes in the indexing code: > > May 10 12:22:32 tornado.reub.net dovecot: master: Dovecot v2.2.17.rc1 > (3903badc4ee0+) starting up for imap, lmtp, sieve > ... > May 10 13:07:50 tornado.reub.net dovecot: indexer: Error:

Re: v2.2.17 release candidate released

2015-05-10 Thread Timo Sirainen
On 10 May 2015, at 11:47, Reuben Farrelly wrote: > Ok we have some (well, lots actually) of coredumps now: > > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x7f4834fcc222 in fts_user_get_data_lang (user=0x16c7900) >at fts-user.c:302 Thanks, this should fix it: http:

v2.2.17 release candidate 2 released

2015-05-12 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc2.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc2.tar.gz.sig Changes since rc1: - Compiling fix for fs-compress in Solaris and maybe others. - Implemented Cassandra CQL support as lib-sql backend. This is mainly usable as dict-sql

Re: v2.2.17 release candidate 2 released

2015-05-13 Thread Timo Sirainen
On 13 May 2015, at 01:15, Santiago Vila wrote: > > On Wed, May 13, 2015 at 12:25:44AM +0300, Timo Sirainen wrote: >> - mbox: Fixed crash/corruption in some situations when the first mail >>was expunged. > > Once again: This is *not* fixed! One bug was fix

Re: dovecot-lda panics when postmaster_address is given on command line

2015-05-13 Thread Timo Sirainen
On 12 May 2015, at 11:50, Onno Molenkamp wrote: > > Hi, > > When passing a postmaster_address to dovecot-lda on the command line > with -o, it panics: > > $ ./dovecot-lda -o postmaster_address=anything > > lda(onno,)Panic: file lda-settings.c: line 80 (lda_settings_check): > assertion failed:

v2.2.17 released

2015-05-13 Thread Timo Sirainen
http://dovecot.org/releases/2.2/dovecot-2.2.17.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.17.tar.gz.sig A few director improvements since RC2, some fixes and a new plugin: http://wiki2.dovecot.org/Plugins/QuotaClone * Dovecot no longer checks or warns if a mountpoint is removed.

Re: v2.2.17 Segfault

2015-05-14 Thread Timo Sirainen
On 14 May 2015, at 21:14, Adam Lackorzynski wrote: > > Hi, > > I'm using libexec/dovecot/imap via a ssh tunnel. 2.2.17 segfaults while > accessing a NULL pointer. The following change fixes it for me: > > > --- dovecot-2.2.17/src/lib-imap/imap-keepalive.c 2015-05-03 > 11:12:11.0

Re: Alternate Storage altmove not working bug

2015-05-15 Thread Timo Sirainen
On 15 May 2015, at 02:50, Daniel van Ham Colchete wrote: > > Hello everyone! > > I would like to report a bug here. We are using dovecot's sdbox with > alternate storage here. From time to time my SSD partition gets full and I > always find users with lots of e-mails stuck there, and altmove ju

v2.2.18 released

2015-05-15 Thread Timo Sirainen
http://dovecot.org/releases/2.2/dovecot-2.2.18.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.18.tar.gz.sig Oops, director was somewhat broken in 2.2.17. I thought I tested the last changes in it well enough, but looks like not. To avoid all existing Dovecot director installations from break

imap_logout_format improvements / ideas

2015-05-15 Thread Timo Sirainen
http://hg.dovecot.org/dovecot-2.2/rev/93bba97afb2a http://hg.dovecot.org/dovecot-2.2/rev/e0a17714f0c9 So all in all, you can now add to imap_logout_format: # %i - total number of bytes read from client # %o - total number of bytes sent to client # %{fetch_hdr_count} - Number of mails with mail

Re: imap_logout_format improvements

2015-05-15 Thread Timo Sirainen
On 16 May 2015, at 00:18, Joseph Tam wrote: > > Timo Sirainen wrote: > >> So all in all, you can now add to imap_logout_format: >> ... >> Any thoughts on what else would be useful? > > Maybe quota stats like number of quota errors, or quota usage? Quota

Re: Core dump at imap process

2015-05-16 Thread Timo Sirainen
On 16 May 2015, at 11:28, Dominik Breu wrote: > > hello list, > > testing the 2.18 release i got following core dump. Maybe Timo you can > get a look at it. That's not v2.2.18 release though, it's the hg version after v2.2.18 release. > Program terminated with signal SIGSEGV, Segmentation faul

Re: charset_to_utf8 assertion of remaining src_size

2015-05-16 Thread Timo Sirainen
On 16 May 2015, at 09:39, Xin Li wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi, > > On 5/15/15 10:58, Xin Li wrote: >> Hi, >> >> I have seen the following assertion fails on my own mail server >> (indexer-worker): >> >> Panic: file charset-iconv.c: line 132 (charset_to_

Re: charset_to_utf8 assertion of remaining src_size

2015-05-21 Thread Timo Sirainen
the same exact MD5/SHA hashes from our storage server in 2012 or so. > Removing one of the duplicates fixed it for me. Not sure how that happened, > but wonder if it's worth checking for? What OS or Linux distro are you using? > > Thanks, > > -c > > On Sat, M

Re: charset_to_utf8 assertion of remaining src_size

2015-05-22 Thread Timo Sirainen
On 22 May 2015, at 17:44, Xin Li wrote: > > On 05/22/15 13:18, Cassidy Larson wrote: >> We're using FreeBSD 10.1 > > I see. Yes that's the same problem I have seen. > > There is a behavioral difference (I think it's a FreeBSD bug) between > FreeBSD's iconv(3) and GNU implementation, and there

Re: timeout for POP3 query.

2015-05-25 Thread Timo Sirainen
On 24 May 2015, at 10:34, Christian Eichert wrote: > > Is there a way to timeout POP3 query if they come to often? > > More precise I want to know if there is a setting in dovecot that makes it > ignore pop3 requests from a certain user if they come more often then a > certain amount of time

Re: bug in indexer/indexer-worker

2015-06-17 Thread Timo Sirainen
On 16 Jun 2015, at 15:07, Infoomatic wrote: > [1] Then comes the panic which produces loads of errormessages below the "Raw > backtrace" part: > Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: I/O leak: > 0x7f40b55c39d0 (line 411, fd 20) > Jun 16 10:11:08 testhost dovecot: ind

Re: Imap process crashes when search in virtual mailbox

2015-06-17 Thread Timo Sirainen
On 16 Jun 2015, at 15:17, mihaiush wrote: > > Hi, > > When searching in a virtual mailbox imap process crashes if the virtual > mailbox has a lot of physical mailboxes behind (more than 80 - 100 > mailboxes). > > 2015-06-16T12:49:25.502864+02:00 sr-be-store07 dovecot: store107: imap( > mihai...

Re: Dovecot 2.2.16: disappearing messages, mismatched summaries, duplicated messages, excessive full re-downloads

2015-06-17 Thread Timo Sirainen
On 16 Jun 2015, at 03:50, David Gessel wrote: > >> Alessio Cecchi skrev den 2015-06-01 15:29: >>> Il 20/05/2015 10:44, David Gessel ha scritto: Is there a way to completely disable caching on dovecot? >>> >>> Yes: mail_location = maildir:~/Maildir:INDEX=MEMORY >> >> dont know if that reall

Re: FTS lucene and english + german mails

2015-06-17 Thread Timo Sirainen
On 15 Jun 2015, at 21:22, Felix Zielcke wrote: > > Hi, > > I'm currently looking over the FTS pages to enable it in my dovecot. > But I'm unsure what the best settings of the lucene plugin are, if you > receive german and english mails. > Wiki says: > > textcat_conf= textcat_dir=: If specified,

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: 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: 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: 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

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: IMAP hibernate feature committed

2015-08-25 Thread Timo Sirainen
On 25 Aug 2015, at 11:01, Thomas Leuxner wrote: > > * Thomas Leuxner 2015.08.25 09:45: > >>> http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 >> >> ==> /var/log/dovecot/dovecot.log <== >> Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: >> net_connect_unix(/var/run/dovecot/ima

Re: PROXY protocol

2015-08-25 Thread Timo Sirainen
On 25 Aug 2015, at 20:31, Nikolaos Milas wrote: > > On 22/8/2015 2:56 μμ, Nikolaos Milas wrote: > >> Can we "stamp" log entries originating from different listeners with a >> configurable label? > > Hello, > > I haven't received any reply on it. Is it possible or not? Added: http://hg.doveco

Re: IMAP hibernate feature committed

2015-08-25 Thread Timo Sirainen
> On 25 Aug 2015, at 20:55, Thomas Leuxner wrote: > > * Timo Sirainen 2015.08.25 17:28: > >>>> ==> /var/log/dovecot/dovecot.log <== >>>> Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: >>>> net_connect_unix(/var/run/dovecot

Re: IMAP hibernate feature committed

2015-08-29 Thread Timo Sirainen
On 26 Aug 2015, at 13:33, Thomas Leuxner wrote: > > With this I see messages like this in the logs: > > Aug 26 09:48:06 nihlus dovecot: imap-hibernate(t...@leuxner.net): Connection > closed in=189 out=4252 hdr=0 body=0 del=0 exp=0 trash=0 > Aug 26 12:20:29 nihlus dovecot: imap-hibernate(t...@le

Re: Mailbox can't be created

2015-08-29 Thread Timo Sirainen
On 27 Aug 2015, at 12:07, Paulo Matos wrote: > > Aug 27 10:02:29 lda(): Info: > msgid=: save failed > to open mailbox PreINBOX: Mailbox can't be created I have no idea how you could get that error message. Looking at the code I don't see any way it could happen.. This error message exists onl

Re: IMAP hibernate feature committed

2015-08-29 Thread Timo Sirainen
On 29 Aug 2015, at 13:20, Timo Sirainen wrote: > >> I'm a bit puzzled as to when hibernate actually kicks in because most of the >> time I see normal imap processes running without them being hibernated: Also if you set mail_debug=yes Dovecot will log "Couldn't

Re: internal server error

2015-09-03 Thread Timo Sirainen
On 24 Jul 2015, at 12:58, Sergey Schwartz wrote: > > I've got a bit more details > > Jul 24 10:21:50 mx10 dovecot: imap(oleg.vasil...@bgoperator.com): *Panic: > file mail-index-util.c: line 37 (mail_index_uint32_to_offset): assertion > failed: (offset < 0x4000)* I think you have a huge >

Re: Mailbox can't be created

2015-09-05 Thread Timo Sirainen
> On 03 Sep 2015, at 23:10, Paulo Matos wrote: > > On 29/08/15 11:31, Timo Sirainen wrote: >> On 27 Aug 2015, at 12:07, Paulo Matos wrote: >>> >>> Aug 27 10:02:29 lda(): Info: >>> msgid=: save failed >>> to open mailbox PreINBOX: Mailbox c

Re: Dovecot and IPA

2015-09-07 Thread Timo Sirainen
> On 07 Sep 2015, at 00:41, Kanwar Ranbir Sandhu > wrote: > > Hello, > > I'm trying to get Dovecot to use GSSAPI for authentication. I have an IPA > server on CentOS 7 with a bunch of my servers attached to the IPA domain, > including the server running Dovecot. > > I've followed official d

Re: question on autch cache parameters

2015-09-07 Thread Timo Sirainen
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/b7f7ad2bc4d0 > On 05 Aug 2015, at 17:30, matthias lay wrote: > > Hi list, > > I have a question on auth caching in 2.2.18. > > I am using acl_groups for a master user, appended in a static userdb file > > # snip ### > ma

Re: Dovecot 2.2.18 Panic: file index-mail-binary.c

2015-09-07 Thread Timo Sirainen
On 28 Jul 2015, at 10:12, Michael Borgelt wrote: > > Hi, > I got the following in my dovecot log's on an particular email message with > dovecot-imap. > > ---snip--- > Jul 28 08:42:11 hermes dovecot: imap(mborgelt): Panic: file > index-mail-binary.c: line 354 (blocks_count_lines): assertion fa

Re: [Patch] Fix hang in safe_sendfile on SmartOS

2015-09-07 Thread Timo Sirainen
On 07/16/2015 06:03 PM, Sebastian Wiedenroth wrote: > Fix hang in safe_sendfile on SmartOS > > The call to sendfile on SmartOS can fail with EOPNOTSUPP. This is a valid > error > code and documented in the man page. This error code needs to be handled or > else dovecot will retry the sendfile cal

Re: "NOTIFY SET (mailboxes INBOX (...))" crashes the IMAP client

2015-09-07 Thread Timo Sirainen
On 07/19/2015 08:21 PM, Guilhem Moulin wrote: > Hi list, > > The NOTIFY extension (RFC 5465) works fine for mailboxes in the "virtual/" > namespace, but it crashes the IMAP client when used with a mailbox in > the empty "" namespace: Fixed: http://hg.dovecot.org/dovecot-2.2/rev/fae5feef70af >

Re: "NOTIFY SET (mailboxes INBOX (...))" crashes the IMAP client

2015-09-07 Thread Timo Sirainen
On 07/26/2015 07:00 PM, Guilhem Moulin wrote: > On Sun, 19 Jul 2015 at 19:21:16 +0200, Guilhem Moulin wrote: >> The "subtree" mailbox filter has the same problem, but the >> non-parameterized ones ("inboxes", "personal" and "subscribed") work >> fine. > > Actually there are further problem with th

Re: bug in acl_defaults_from_inbox option

2015-09-07 Thread Timo Sirainen
On 07/28/2015 06:13 PM, Marco Giunta wrote: > Hi at all, > there is a bug in in acl_defaults_from_inbox option: if you define it > with ANY value ('yes', 'no', 'whatyouwant', 'xxx') it acts like the > value is ALWAYS 'yes', and Dovecot enable it; the only way to disable > it, is comment it or delet

Re: NOTIFY regression: 2.18 no longer notifies of events in INBOX

2015-09-07 Thread Timo Sirainen
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/fa979ccfa34c http://hg.dovecot.org/dovecot-2.2/rev/f600285c3df2 On 07/26/2015 06:50 PM, Guilhem Moulin wrote: > Here is an example with APPEND > > $ /usr/lib/dovecot/imap > S1: * PREAUTH [CAPABILITY IMAP4rev1 … MOVE NOTIFY SPECIAL-USE] Logged

Re: charset-iconv.c panic

2015-09-07 Thread Timo Sirainen
On 07/29/2015 04:02 PM, mihaiush wrote: > Hi, > > I have a mailbox where indexing fails with the following error: > > # /opt/dovecot2/bin/doveadm -c /tmp/dovecot.conf -o > mail_location=/tmp/skesselring index '*' > doveadm(root): Panic: file charset-iconv.c: line 132 (charset_to_utf8): > assertio

Re: RFC 5465 (NOTIFY) violation: missing HIGHESTMODSEQ in initial STATUS responses

2015-09-07 Thread Timo Sirainen
Oh, and this was also fixed a week ago: http://hg.dovecot.org/dovecot-2.2/rev/238a34ad1ab0 On 07/19/2015 08:40 PM, Guilhem Moulin wrote: > Quoting RFC 5465 (NOTIFY): > >“If the NOTIFY command enables MessageNew, MessageExpunge, > AnnotationChange, or FlagChange notifications for a mailbox

Re: Null deference pointer in dovecot-2.2.18

2015-09-07 Thread Timo Sirainen
These are all false positives. I added some asserts that hopefully get rid of two of the warnings. I couldn't really think of a way to nicely avoid the mail-index-fsck.c warning. http://hg.dovecot.org/dovecot-2.2/rev/06b884831f25 On 07/15/2015 06:07 AM, 吴迪 wrote: > Dear, > > > use our stat

Re: How about an option to disbale headers? (was Re: Patch for "doveadm -f table" nit)

2015-09-07 Thread Timo Sirainen
On 07/03/2015 05:48 PM, Gedalya wrote: > On 05/24/2015 03:08 AM, Gedalya wrote: >> On 03/20/2015 02:47 PM, Timo Sirainen wrote: >>> Added -h parameter now to hg. >> >> Using 2.2.18. >> With -f table this behaves as expected, however with -t tab the output >&g

Re: Is it a bug when you move mail between namespaces....

2015-09-07 Thread Timo Sirainen
On 09/08/2015 12:56 AM, Larry Rosenman wrote: > that the fts data gets lost? All full text search backends are now implemented so that if you copy/move mails, the mails need to be indexed again the destination folder. Alternative would be to index mails only with their GUIDs and have a GUID => {

Re: Is it a bug when you move mail between namespaces....

2015-09-07 Thread Timo Sirainen
It should. > On 08 Sep 2015, at 01:01, Larry Rosenman wrote: > > should fts_autoindex handle that case? > > > On Mon, Sep 7, 2015 at 5:00 PM, Timo Sirainen <mailto:t...@iki.fi>> wrote: > On 09/08/2015 12:56 AM, Larry Rosenman wrote: > > that the fts data

Re: [Patch] Fix hang in safe_sendfile on SmartOS

2015-09-07 Thread Timo Sirainen
On 07 Sep 2015, at 23:19, Sebastian Wiedenroth wrote: > > >> Am 07.09.2015 um 21:34 schrieb Timo Sirainen : >> >> On 07/16/2015 06:03 PM, Sebastian Wiedenroth wrote: >>> Fix hang in safe_sendfile on SmartOS >>> >>> The call to sendfile o

Re: [Dovecot] dsync replication errors

2015-09-07 Thread Timo Sirainen
On 08 Sep 2015, at 01:16, Gedalya wrote: > > On 02/17/2013 03:21 AM, Timo Sirainen wrote: >> Although there's still some mail >> duplication problem with maildir that doesn't log any errors about it. >> I'm not sure why that happens. > > While you&#x

Re: charset-iconv.c panic

2015-09-08 Thread Timo Sirainen
> On 08 Sep 2015, at 00:36, Timo Sirainen wrote: > > On 07/29/2015 04:02 PM, mihaiush wrote: >> Hi, >> >> I have a mailbox where indexing fails with the following error: >> >> # /opt/dovecot2/bin/doveadm -c /tmp/dovecot.conf -o >> mail_locati

Re: Dovecot and IPA

2015-09-08 Thread Timo Sirainen
> On 08 Sep 2015, at 06:16, Kanwar Ranbir Sandhu > wrote: > > On Mon, 2015-09-07 at 23:15 +0200, Benny Pedersen wrote: >> change password before debug logs >> >> then run debug >> >> change password >> >> paste it >> >> is safe > > Here's the in rawlog: > > 1441680001.046492 B1 AUTHEN

Re: Different behavior of ACLs in MUA and doveadm

2015-09-08 Thread Timo Sirainen
On 31 Dec 2014, at 23:10, Thomas Leuxner wrote: > > I have noticed a difference in the behavior of ACLs. When used in a MUA the > following global ACL works fine and has the desired effect - new mailboxes > can be created by a user being part of the 'PublicMailboxAdmins' group: How does the P

Re: [Dovecot] dsync replication errors

2015-09-08 Thread Timo Sirainen
On 08 Sep 2015, at 11:20, Sergey Schwartz wrote: > > I use mdbox and probably have similar issue, but in my case only shared > mailboxes were affected. Yes, shared mailboxes don't work nicely with replication. Replication is locking only the original user, so for shared mailboxes multiple dsy

Re: Different behavior of ACLs in MUA and doveadm

2015-09-08 Thread Timo Sirainen
On 09/08/2015 02:26 PM, Thomas Leuxner wrote: > * Timo Sirainen 2015.09.08 12:20: > >> How does the PublicMailboxAdmins group get set? Looks to me like the problem >> is that it's not getting set to doveadm. Here's an easy way to check if >> that's

Re: Fetch command response questions

2015-09-08 Thread Timo Sirainen
On 09/08/2015 02:58 PM, Vlad Pop wrote: > Hello, > > > > I have the following issue: > > > > When using command > > FETCH 2 (BODY.PEEK[HEADER] UID INTERNALDATE FLAGS BODYSTRUCTURE) > > on 2 different emails, we get 2 different response structure. > > > > First response structure contain

Re: Dovecot and IPA

2015-09-08 Thread Timo Sirainen
On 09/08/2015 06:14 PM, Kanwar Ranbir Sandhu wrote: > On Tue, 2015-09-08 at 13:11 +0300, Timo Sirainen wrote: >> I guess it's now crashing with this: >> >> auth: Panic: file auth-request.c: line 733 >> (auth_request_is_disabled_master_user): assertion failed: (r

Re: Is it a bug when you move mail between namespaces....

2015-09-10 Thread Timo Sirainen
s it a longer term issue? > > On Mon, Sep 7, 2015 at 5:23 PM, Larry Rosenman <mailto:larry...@gmail.com>> wrote: > It doesn't in my current 2.2.18 setup with the config I posted. > > > On Mon, Sep 7, 2015 at 5:22 PM, Timo Sirainen <mailto:t...@iki.fi&

Dovecot CalDAV server

2015-09-10 Thread Timo Sirainen
I've been once in a while over the years thinking about implementing CalDAV (and CardDAV) to Dovecot. It might be time to start that soon. Does anyone have any suggestions? So far my main goals would be: - scalable, of course - configurable storage (object storage, regular fs, maybe some key-v

Re: object storage

2015-09-14 Thread Timo Sirainen
On 12 Sep 2015, at 04:45, Bradley Giesbrecht wrote: > > Is the Dovecot Object Storage plugin still available for purchase? > > Clicking the store link [2] from this page [1] does not show any info about > purchasing the plugin. > > [1] > http://www.dovecot.fi/dovecot-object-storage-plugins-av

Re: 2.2.18 Regression: Incorrect STATUS response for virtual mailboxes

2015-09-22 Thread Timo Sirainen
On 15 Sep 2015, at 19:08, Guilhem Moulin wrote: > > As shown below, adding a message to TRASH doesn't increase > virtual/test's MESSAGES count. However SELECTing virtual/test triggers > the increase; so does running `doveadm mailbox status vsize > virtual/test` in another shell. Fixed: http://h

Re: Dovecot proxy ignores trusted root certificate store

2015-09-22 Thread Timo Sirainen
On 22 Sep 2015, at 01:11, Alex Bulan wrote: > > On Mon, 21 Sep 2015, Edgar Pettijohn wrote: > >> doveconf -n? > > doveconf -n|grep ssl should suffice: > > ssl = required > ssl_ca = ssl_cert = ssl_key = ssl_require_crl = no > > I'm using "ssl_ca = workaround, even though this is not what s

Re: bug - over system quota and dovecot-uidlist

2015-09-23 Thread Timo Sirainen
On 09/23/2015 03:53 PM, krz...@gmail.com wrote: > Ever since I've migraded from courier pop3 to dovecot pop3 I'm > constantly getting complains from users that went over system quota > for short while and then their pop3 client downloads all messages > again. I never happened with courier pop3. I

v2.2.19 release candidate released

2015-09-23 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz.sig A lot of changes since v2.2.18, so here's a release candidate first. If no bugs are reported, I'm planning on making the final release sometimes this week. The most inter

Re: dict lookup from quota plugin

2015-09-23 Thread Timo Sirainen
> On 23 Sep 2015, at 21:28, Bjørnar Ness wrote: > > I am having trouble with using a custom daemon listening on a socket > together with the quota plugin. My configuration is: > > > quota= dict:User quota::dict:/tmp/dovecot-proxy-dict:: > > The problem is that dovecot sends keys

Re: [dovecot-2.2.18] dsync error: Error: Can't delete mailbox INBOX: INBOX can't be deleted.

2015-09-23 Thread Timo Sirainen
On 23 Sep 2015, at 18:10, Marcin Mirosław wrote: > > With dovecot-2.2.19.rc1 still have this error. "doveadm backup" wants to delete and recreate a folder if there are some changes that can't be incrementally just added to it (mainly if IMAP UIDs would need to be inserted in the middle of the

Re: v2.2.19 release candidate released

2015-09-23 Thread Timo Sirainen
> On 23 Sep 2015, at 18:26, Marcin Mirosław wrote: > > W dniu 23.09.2015 o 15:30, Timo Sirainen pisze: >> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz >> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz.sig >> >> A lot of changes s

Re: FTS not indexing new folders (mailboxes)

2015-09-24 Thread Timo Sirainen
On 24 Sep 2015, at 11:26, SATOH Fumiyasu wrote: > > Hi, > > At Fri, 31 Jul 2015 09:41:10 -0300, > Francisco Wagner C. Freire wrote: >> Im getting problem on FTS on new created folders (mailboxes). >> >> How to simulate: >> >> - Enable FTS (solr on our case) >> - Create a new folder (mailbox) >

Re: v2.2.19 release candidate released

2015-09-24 Thread Timo Sirainen
On 24 Sep 2015, at 13:43, Marcin Mirosław wrote: > > W dniu 23.09.2015 o 15:30, Timo Sirainen pisze: >> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz >> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz.sig >> >> A lot of changes sinc

Re: v2.2.19 release candidate released

2015-09-24 Thread Timo Sirainen
On 24 Sep 2015, at 15:11, Marcin Mirosław wrote: > >> >> What happens if in src/lib/buffer.h line 23 you change the >> __builtin_object_size((d),3) to __builtin_object_size((d),1)? Does it work? > > Yes, it works. Now dovecot-2.2.19.rc1 compiles fine. OK, committed the change. > P.S. Is such

Re: v2.2.19 release candidate released

2015-09-24 Thread Timo Sirainen
On 09/24/2015 09:23 AM, Jean-Baptiste Vignaud wrote: > Hello; > > Some issue with virtual storage and fts-lucene: > > Sep 24 08:12:16 imap(jbv00@x xx): Panic: file > virtual-storage.c: line 370 (virtual_backend_box_close): assertion failed: > (mbox->backends_open_count > 0) Fixed: http://hg.dove

Re: v2.2.19 release candidate released

2015-09-24 Thread Timo Sirainen
On 09/24/2015 07:08 PM, Timo Sirainen wrote: > On 09/24/2015 09:23 AM, Jean-Baptiste Vignaud wrote: >> Hello; >> >> Some issue with virtual storage and fts-lucene: >> >> Sep 24 08:12:16 imap(jbv00@x xx): Panic: file >> virtual-storage.c: line 370 (virtu

Re: FreeBSD 10 & default_vsz_limit causing reboots?

2015-09-24 Thread Timo Sirainen
On 24 Sep 2015, at 16:26, Rick Romero wrote: > > Update. Only a single reboot has occurred since changing > defalt_vsz_limit from 384M to 512M. It would seem that something the > users are doing is causing that virtual memory size to be exceeded > (possibly a mailbox search?), and when that occ

Re: FreeBSD 10 & default_vsz_limit causing reboots?

2015-09-24 Thread Timo Sirainen
On 24 Sep 2015, at 22:36, Rick Romero wrote: > > Quoting Timo Sirainen mailto:t...@iki.fi>>: > >> On 24 Sep 2015, at 16:26, Rick Romero > <mailto:r...@havokmon.com>> wrote: >> >>> Update. Only a single reboot has occurred since changing >&g

Re: object storage

2015-09-26 Thread Timo Sirainen
On 25 Sep 2015, at 17:56, Hans Morten Kind wrote: > > On Tue, Sep 15, 2015 at 12:31:25PM +0900, Timo Sirainen wrote: >> On 12 Sep 2015, at 04:45, Bradley Giesbrecht wrote: >>> >>> Is the Dovecot Object Storage plugin still available for purchase? >>>

Re: modify message with doveadm?

2015-09-27 Thread Timo Sirainen
On 27 Sep 2015, at 19:10, Frank-Ulrich Sommer wrote: > > Hello, > > I'm using dovecot with getmail and spamassassin. To re-learn false detected > mails I created two folders and use an external script that checks the > corresponding maildir directories for changes (with inotifywait). The mails

Re: v2.2.19 release candidate released

2015-09-27 Thread Timo Sirainen
On 26 Sep 2015, at 12:15, Greg Wildman wrote: > > Hello, > > I am trying out 2.2.19.rc1 on a lightly loaded server with no problems > so far. The reason I wanted to try 2.2.19.rc1 was to get access to the > %{listener} variable in the auth phase so I can modify the SQL > password_query according

Re: doveadm fetch line wrapping

2015-09-28 Thread Timo Sirainen
On 28 Sep 2015, at 14:03, Peter Chiochetti wrote: > > The manual at http://wiki2.dovecot.org/Tools/Doveadm/Deduplicate > tells how to estimate what will be expunged: > >> doveadm -f table fetch -u jane 'guid uid' mailbox a_Box | sort > > I wanted to learn the subjects: > >> doveadm -f table fe

v2.2.19 release candidate 2 released

2015-09-28 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc2.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc2.tar.gz.sig There were still a bit too many bugs in RC1, so here's RC2. Hopefully this will be stable enough to become v2.2.19 final. Please test now rather than wait for v2.2.19 fin

Re: doveadm fetch line wrapping

2015-09-28 Thread Timo Sirainen
On 28 Sep 2015, at 23:35, Peter Chiochetti wrote: > >> doveadm -f table fetch -u jane 'guid hdr.Subject.utf8' mailbox a_Box | sort >> > Indeed, that works, and the result is much easier to read. Thank You a lot > for the tip! > > PS: Does mail_plugins mail_log mail_log_fiels also support this

Re: My website feedback

2015-09-29 Thread Timo Sirainen
On 29 Sep 2015, at 09:34, Muzaffer Tolga Ozses wrote: > > Hi, > > I gave a feedback about dovecot.fi website yesterday. It's awaiting > moderation because it exceeded message size because it contains a > screenshot. Was this ML the right place to post this? If not, please > redirect me to the ap

Re: BUG: service(auth) crash when quota-status lookup an address with local-part starting with auth_master_user_separator

2015-09-29 Thread Timo Sirainen
On 29 Sep 2015, at 11:36, Marco Giunta wrote: > > Hi, > I'm using dovecot 2.2.15 (configuration attached below), and I 've enabled > quota-status; when I try to look up the quota status of an address with the > local-part starting with the same character as 'auth_master_user_separator', > dove

Re: quota count

2015-09-29 Thread Timo Sirainen
On 09/29/2015 05:14 PM, Pavel Batkov wrote: > Hi > > Dovecot: 2.2.19.rc2 > OS: CentOS Linux release 7.1.1503 (Core) > FS: XFS > > Problem: > > Dovecot it does not include line breaks in the letter. Bug or feautre? I don't think it's related to line feeds, although there are settings related to

Re: userdb prefetch doesn't work with imapc (2.2.18)

2015-09-30 Thread Timo Sirainen
> On 30 Sep 2015, at 12:19, Nagy, Attila wrote: > > Hi, > > I have the following config in dovecot 2.2.18: > # doveconf -n userdb passdb > userdb { > driver = prefetch > } > passdb { > args = host=127.0.0.1 port=1430 > default_fields = userdb_imapc_user=%u userdb_imapc_password=%w > driver

v2.2.19 released

2015-10-02 Thread Timo Sirainen
http://dovecot.org/releases/2.2/dovecot-2.2.19.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.19.tar.gz.sig * pop3_deleted_flag has been broken since v2.2.10. Using it would cause buffer overflows, which could be exploitable. However, this bug would have become visible quite soon after use

Re: v2.2.19 released

2015-10-03 Thread Timo Sirainen
On 02 Oct 2015, at 23:28, Robert Schetterer wrote: > > Am 02.10.2015 um 18:13 schrieb Timo Sirainen: >> + Added imap-hibernate processes (see imap_hibernate_timeout setting). >> IDLEing IMAP connections can be hibernated, which saves memory. > > Hm, i have > >

Re: v2.2.19 released / imap-hibernate

2015-10-03 Thread Timo Sirainen
On 03 Oct 2015, at 01:35, A. Schulze wrote: > > > > Am 02.10.2015 um 18:13 schrieb Timo Sirainen: >> + Added imap-hibernate processes (see imap_hibernate_timeout setting). >> IDLEing IMAP connections can be hibernated, which saves memory. > > using this setti

Re: imap_logout_format improvements / ideas

2015-10-03 Thread Timo Sirainen
> On 03 Oct 2015, at 02:50, Michael Kliewe wrote: > > when imap_zlib is enabled, the %i and %o still show the uncompressed bytes. > It could be very helpful to access the compressed bytes if the client used > COMPRESS, so you can see which clients use COMPRESS, you can see/calculate a > perce

Re: Dovecot auth-ldap ignores tls_* settings when using ldaps://

2015-10-13 Thread Timo Sirainen
On 08 Oct 2015, at 22:46, Heiko Schlittermann wrote: > > Hi, > > I'm using dovecot 2.2.9 (but after checking src/auth/db-ldap.c in 2.2.13 > there seems to be the same bug/feature). > > The userdb and passdb use LDAP. All further configuration is done in > auth-ldap.conf.ext. > >uri = l

Re: dovecot as proxy and verification of the backends certificate

2015-10-13 Thread Timo Sirainen
On 11 Oct 2015, at 20:04, Heiko Schlittermann wrote: > > Hello, > > I'm using a dovecot as proxy, connecting to one or more backends. > The backends use X.509 certificates. > > The proxy's passdb returns > >extra fields: >user=foo >proxy >host=backend1. >ssl=yes >nopass

<    1   2   3   4   5   6   7   8   9   10   >