Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)

2016-10-28 Thread Gilles Chauvin
Hello, Here is a Panic that happened while doing some testing with two servers both running Dovecot v2.2.26 on CentOS 7. These are test servers owning 32 accounts whose data were copied from our production server. What I've done is: server01# doveadm force-resync -A '*' server01# doveadm

Re: Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)

2016-10-28 Thread Gilles Chauvin
Hi Timo, On 28/10/2016 16:28, Timo Sirainen wrote: This code hasn't changed for quite a long time. So I don't think this is a new bug in 2.2.26. Can you try reproduce it easily? If yes, could you try if the attached patch fixes it? The last time we played with Dovecot's replication was dur

Panic: file dsync-mailbox-tree-sync.c: line 576 (node_mailbox_trees_cmp): assertion failed: (ret != 0)

2016-12-06 Thread Gilles Chauvin
Hi, Here is a crash that's happening using the latest Dovecot version (v2.2.27 on CentOS7 x86_64): We are using replication. Judging by the second server's logs, I believe this has something to do with the fact that we're using the lazy_expunge plugin. Every night after midnight, we purge

Re: Reappearing emails

2017-01-17 Thread Gilles Chauvin
On 17/01/2017 16:15, Ron Cleven wrote: The dovecot version (2.2.10) we were running had a timing window problem in the context of replication (we use maildir on CentOS 7). After doing elaborate tests to isolate the problem, we wound up upgrading to 2.2.23. That fixed it, and that version has bee

Pigeonhole / Bug with "duplicate" ?

2017-04-25 Thread Gilles Chauvin
Hello, Previously, while running Dovecot 2.2.27/Pigeonhole 0.4.16 the following code snippet was working as one would expect: if duplicate { addflag ["\\seen", "Duplicate"]; fileinto "Duplicate"; stop; } if address :contains "to" "user.em...@example.com" { addflag "$labe

Re: Pigeonhole / Bug with "duplicate" ?

2017-04-28 Thread Gilles Chauvin
On 28/04/2017 00:39, Stephan Bosch wrote: Looks like a bug that appeared in 0.4.17? Am I correct? This bug is much older than that. It was exposed by recent changes though. This should fix it: https://github.com/dovecot/pigeonhole/commit/3e1a17a286ab0e084577fc267a442cb12aed1cbc Hi Stephan,

Re: mail_log plugin and uid=error in log file

2015-12-01 Thread Gilles Chauvin
On 01/12/2015 16:31, Timo Sirainen wrote: Does this help? http://hg.dovecot.org/dovecot-2.2/rev/25d63d9c7f5a Hi Timo, Sorry about the thread hijacking but, speaking about the mail_log plugin, what do you think about the ability to add the session number to the log lines produced by this pl

Re: mail_log plugin and uid=error in log file

2015-12-01 Thread Gilles Chauvin
On 01/12/2015 17:14, Marcus Rueckert wrote: mail_log_prefix = "%s(%u): %{session} " only downside is some lines will then end up with the session ID twice. When i asked Timo said he doesnt want to change that behavior in 2.2. but in 2.3 it might be an option to unify that. Hi Marcus, I will

Re: Correct Way to Run expunge for All?

2016-01-29 Thread Gilles Chauvin
Hello, On 29/01/2016 12:53, Haravikk wrote: Fatal: expunge: To avoid accidents, search query must contain MAILBOX in all search branches While I can see the logic in this, it isn’t an accidental use of this command, so who do I force it to proceed? What about this command ? → dovea

Re: [Dovecot] cmd-vacation.c:4:17: fatal error: lib.h: No such file or directory && ./configure: line 11410: -lssl: command not found

2012-11-29 Thread Gilles Chauvin
). Regards, Gilles.-- ========= Gilles CHAUVIN Pôle Système Direction des Systèmes d'information et de l'Informatique Université de Rouen Bâtiment 16 - IRESE-B Place Émile Blondel 76821 MONT-SAINT-AIGNAN CEDEX → http://goo.gl/cYgtX Tél: +33 (0)2

Re: [Dovecot] cmd-vacation.c:4:17: fatal error: lib.h: No such file or directory && ./configure: line 11410: -lssl: command not found

2012-11-29 Thread Gilles Chauvin
On 29/11/2012 16:14, Tobias Hachmer wrote: > On Thursday 29 November 2012 16:09:35 Gilles Chauvin wrote: >> Just have a look at: >> http://www.dovecot.org/list/dovecot/2012-November/069722.html ;). > > Yeah, I saw your post. But Timo asked for another possible errors. I

Re: [Dovecot] v2.1.16 released

2013-04-05 Thread Gilles CHAUVIN
Hi, On Friday 05 April 2013 00:16:17 Timo Sirainen wrote: > + Added "doveadm batch" command to run multiple commands before moving > onto the next user (useful only with -A and -u ) As I understand this new command, it permits to run several doveadm commands in one shot? If this

Re: [Dovecot] v2.1.16 released

2013-04-05 Thread Gilles CHAUVIN
On Friday 05 April 2013 14:08:30 Timo Sirainen wrote: > doveadm batch -A : quota get : mailbox status -t all '*' > > Except looks like subcommand parameters don't work. Fixed: > http://hg.dovecot.org/dovecot-2.2/rev/2918bfacf565 > > Also those commands crash now because it tries to use "table" >

Re: [Dovecot] v2.1.16 released

2013-04-05 Thread Gilles CHAUVIN
On Friday 05 April 2013 14:36:18 Timo Sirainen wrote: > Try with mailbox_list_index=yes. It should make the status command faster. > And if you're using Maildir, set maildir_very_dirty_syncs=yes. We're using mdbox so I tried mailbox_list_index = yes (wasn't aware of this command) and once activat

Re: [Dovecot] v2.1.16 released

2013-04-05 Thread Gilles CHAUVIN
On Friday 05 April 2013 15:03:19 Timo Sirainen wrote: > On 5.4.2013, at 15.01, Gilles CHAUVIN wrote: > > On Friday 05 April 2013 14:36:18 Timo Sirainen wrote: > > > Try with mailbox_list_index=yes. It should make the status command > > > faster. > > &

Re: [Dovecot] v2.1.16 released

2013-04-05 Thread Gilles CHAUVIN
On Friday 05 April 2013 15:13:58 Timo Sirainen wrote: > Probably too much trouble to fix this in v2.1. v2.2 should have it working > though. So we'll wait till the first 2.2 stable releases are published :). Thanks, Gilles

[Dovecot] lazy_expunge plugin with virtual mailboxes

2013-04-15 Thread Gilles Chauvin
Hi, When using both lazy_expunge and virtual mailboxes (with, for instance, a "All Messages" virtual mailbox) as soon as a user deletes/expunges a mail in one of its mailbox, Dovecot is saving two mails to the lazy_expunge namespace (the one in the user mailbox and the one in the virtual mailbo

Re: [Dovecot] Any way to let dovecot block pop3 attempts?

2013-05-10 Thread Gilles Chauvin
On Friday 10 May 2013 08:17:50 Steve Campbell wrote: > Is there a way using dovecot facilities to block an IP from attempting > POP3 connections (similar to the sendmail access file for smtp > connections)? I usually do this at my border firewall, but if there's a > quick and dirty way in dovecot t

Re: [Dovecot] Any way to let dovecot block pop3 attempts?

2013-05-10 Thread Gilles Chauvin
is documented on Dovecot' wiki: http://wiki2.dovecot.org/HowTo/Fail2Ban (it looks like one of the best way to achieve this). Gilles. -- = Gilles CHAUVIN Administrateur systèmes Pôle Systèmes Direction de l'informatique & des systèmes d'informa

Re: [Dovecot] v2.2.7 released

2013-11-04 Thread Gilles Chauvin
On 03/11/2013 21:08, Timo Sirainen wrote: > + mdbox: Added "mdbox_deleted" storage, which can be used to access > messages with refcount=0. For example: doveadm import > mdbox_deleted:~/mdbox "" mailbox inbox subject oops > Hi Timo, We're currently running Dovecot 2.1.16.

[Dovecot] Question regarding quotas (is this a bug or intended behavior) ?

2013-12-04 Thread Gilles Chauvin
Hi, I was wondering if this is a normal behavior (test was made using Dovecot v2.2.9). In my config, quotas are configured as follows: plugin { quota = dict:Userquota::file:%h/dovecot-quota quota_rule = *:storage=1G quota_rule2 = Trash:ignore } # doveadm mailbox status -u my_user "messag

Re: [Dovecot] Question regarding quotas (is this a bug or intended behavior) ?

2013-12-09 Thread Gilles Chauvin
On 08/12/2013 22:05, Timo Sirainen wrote: > On 4.12.2013, at 19.02, Gilles Chauvin wrote: > >> I tried to add the following quota_rule: >> quota_rule3 = Trash/*:ignore >> >> But this doesn't fix anything. >> >> Do you have any idea about why this i

Re: [Dovecot] Question regarding quotas (is this a bug or intended behavior) ?

2013-12-09 Thread Gilles Chauvin
On 09/12/2013 14:42, Timo Sirainen wrote: > On 9.12.2013, at 14.08, Gilles Chauvin wrote: > >> On 08/12/2013 22:05, Timo Sirainen wrote: >>> On 4.12.2013, at 19.02, Gilles Chauvin wrote: >>> >>>> I tried to add the following quota_rule: >>&g

[Dovecot] Dsync crash (v2.2.10, sdbox+sis → mbox)

2014-02-09 Thread Gilles Chauvin
Hi, I'm trying to use dsync to convert sdbox + sis mailboxes to mbox (mbox is chosen here to "re-attach" the attachments to their original place) # dsync -Dv -u $LOGIN -o "mail_location=sdbox:/zfspool/clone_srv_mail/$LOGIN" -o "mail_attachment_dir=/zfspool/clone_srv_attachments" backup "mbox:/zf

Re: [Dovecot] Dsync Panic

2014-02-14 Thread Gilles Chauvin
Hi, Here is another dsync Panic while using: $ dsync -Dvf -u user -R backup ssh r...@server.domain.tld dsync -u user Dovecot 2.2.11 is running on both sides: dsync-local(user): Debug: brain M: in state=master_recv_handshake dsync-local(user): Debug: brain M: out state=master_recv_handshake ch

Re: [Dovecot] Dsync crash (v2.2.10, sdbox+sis → mbox)

2014-02-18 Thread Gilles Chauvin
Hi Timo, I've made some further research on this issue (Dovecot was upgraded to the latest release in the meantime but, unsurprisingly, to no avail) and here's what I've found so far. On 09/02/2014 10:42, Gilles Chauvin wrote: > dsync(user2): Error: > read(/zfspool/clone_

Re: [Dovecot] replication + attachment sis + zlib bug ? (HEAD version from xi.rename-it.nl)

2014-04-10 Thread Gilles Chauvin
On 10/04/2014 13:38, Pavel Stano wrote: > Hi, > > i have setup with mail_attachment single instance store + replication + > zlib and got this bug when i try to replicate one test mailbox: > > On master1 in mail.log: > Apr 10 13:25:22 master1 dovecot: > dsync-local(z...@blabla666.sk): Error: > rea

[Dovecot] Mail logger plugin, improvement request

2014-05-23 Thread Gilles Chauvin
Hi Timo, Would it be possible for the mail logger plugin to also log the imap MOVE events (RFC6851) ? Thanks. Regards, Gilles.