Re: [Dovecot-news] v2.2.29.rc1 released

2017-04-06 Thread Daniel J. Luke
On Apr 6, 2017, at 1:33 PM, Timo Sirainen wrote: > Planning to release v2.2.29 on Monday. Please find and report any bugs before > that. I'm seeing still seeing the assert that started showing up for me with 2.2.28

sieve does not seem to be working

2017-04-06 Thread Robert Moskowitz
my local.conf has: #90-sieve.conf plugin { sieve_before = /home/sieve/globalfilter.sieve } and cat /home/sieve/globalfilter.sieve require ["fileinto","mailbox"]; if anyof ( header :contains "X-Spam-Flag" "YES", header :contains "subject" "***SPAM***" ) { fileinto :create

Solved? - Re: Spam instead of Junk folder

2017-04-06 Thread Robert Moskowitz
I fixed a value in Postfixadmin and it looks kind of like the folders are being created properly. When I log directly into dovecot I get: c list "" * * LIST (\HasNoChildren \Sent) "." Sent * LIST (\HasNoChildren \Trash) "." Trash * LIST (\HasNoChildren \Drafts) "." Drafts * LIST

Maybe it is an sql config error?

2017-04-06 Thread Robert Moskowitz
I am looking at these messages in maillog: Apr 6 15:46:58 z9m9z dovecot: dict: Error: mysql(localhost): Connect failed to database (postfix): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) - waiting for 25 seconds before retry Apr 6 15:46:58 z9m9z

Spam instead of Junk folder

2017-04-06 Thread Robert Moskowitz
Traditionally I have used 'Spam' as the folder name for all those emails that get tagged as, well Spam. But it seems that the standard is now 'Junk' as from 15-mailboxes.conf # Space separated list of IMAP SPECIAL-USE attributes as specified by # RFC 6154: \All \Archive \Drafts

Re: IMAP hibernate and scalability in general

2017-04-06 Thread Timo Sirainen
On 6 Apr 2017, at 21.14, Mark Moseley wrote: > >> >> imap-hibernate processes are similar to imap-login processes in that they >> should be able to handle thousands or even tens of thousands of connections >> per process. >> > > TL;DR: In a director/proxy setup, what's

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 >

Re: Dovecot impatient with mysql?

2017-04-06 Thread Timo Sirainen
On 6 Apr 2017, at 20.37, Robert Moskowitz wrote: > > Oh, that time is an exponential backoff on mysql not responding. > > So where is the time dovecot waits before backing off configured? Looks like these were missing from the example dovecot-sql.conf.ext: #

Re: Dovecot impatient with mysql?

2017-04-06 Thread Robert Moskowitz
Oh, that time is an exponential backoff on mysql not responding. So where is the time dovecot waits before backing off configured? On 04/06/2017 01:04 PM, Robert Moskowitz wrote: On 04/06/2017 12:50 PM, George Kontostanos wrote: On Thu, Apr 6, 2017 at 7:10 PM, Robert Moskowitz

[Dovecot-news] v2.2.29.rc1 released

2017-04-06 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.29.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.29.rc1.tar.gz.sig Planning to release v2.2.29 on Monday. Please find and report any bugs before that. * When Dovecot encounters an internal error, it logs the real error and usually

v2.2.29.rc1 released

2017-04-06 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.29.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.29.rc1.tar.gz.sig Planning to release v2.2.29 on Monday. Please find and report any bugs before that. * When Dovecot encounters an internal error, it logs the real error and usually

Re: Dovecot impatient with mysql?

2017-04-06 Thread Robert Moskowitz
On 04/06/2017 12:50 PM, George Kontostanos wrote: On Thu, Apr 6, 2017 at 7:10 PM, Robert Moskowitz wrote: It seems dovecot is impatient with connecting with mysql, as I see in maillog entries like: Apr 6 11:48:30 z9m9z dovecot: dict: Error: mysql(localhost): Connect

Re: Dovecot impatient with mysql?

2017-04-06 Thread George Kontostanos
On Thu, Apr 6, 2017 at 7:10 PM, Robert Moskowitz wrote: > It seems dovecot is impatient with connecting with mysql, as I see in > maillog entries like: > > Apr 6 11:48:30 z9m9z dovecot: dict: Error: mysql(localhost): Connect failed > to database (postfix): Can't connect to

Dovecot impatient with mysql?

2017-04-06 Thread Robert Moskowitz
It seems dovecot is impatient with connecting with mysql, as I see in maillog entries like: Apr 6 11:48:30 z9m9z dovecot: dict: Error: mysql(localhost): Connect failed to database (postfix): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) - waiting for 5

Re: [Bug] FTS double escaping

2017-04-06 Thread azurit
Citát Aki Tuomi : On 06.04.2017 14:58, azu...@pobox.sk wrote: Hi, i'm trying to resolve few problems with indexing 'From' headers using FTS/Solr. I was tcpdumping the communication between Dovecot and Jetty/Solr and noticed that 'From' headers, which includes also

Re: [Bug] FTS double escaping

2017-04-06 Thread Aki Tuomi
On 06.04.2017 14:58, azu...@pobox.sk wrote: > Hi, > > i'm trying to resolve few problems with indexing 'From' headers using > FTS/Solr. I was tcpdumping the communication between Dovecot and > Jetty/Solr and noticed that 'From' headers, which includes also > sender's name, are double escaped.

[Bug] FTS double escaping

2017-04-06 Thread azurit
Hi, i'm trying to resolve few problems with indexing 'From' headers using FTS/Solr. I was tcpdumping the communication between Dovecot and Jetty/Solr and noticed that 'From' headers, which includes also sender's name, are double escaped. This is what was Dovecot sending to Solr: Name

Re: abrt reported "imap killed by SIGBUS"

2017-04-06 Thread Aki Tuomi
Hi! Responses in middle. Aki On 06.04.2017 06:05, Hongying Liu wrote: > Hi sbr-services, > > Could you give me some idea? > > ### abrt reported the error as below. > [root@cupop4 log]# abrt-cli list --since 1488267244 id > ad716dbfd3a68bbe0f055e32ebfe562f4f75df43 > reason: imap killed

Re: IMAP hibernate and scalability in general

2017-04-06 Thread Christian Balzer
On Thu, 6 Apr 2017 13:10:03 +0300 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 > >>

Re: [BUG] client state / Message count mismatch with imap-hibernate and mixed POP3/IMAP access

2017-04-06 Thread Christian Balzer
Hello Aki, Timo, according to git this fix should be in 2.2.27, which I'm running, so I guess this isn't it or something else is missing. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859700 Regards, Christian On Thu, 6 Apr 2017 15:37:33 +0900 Christian Balzer wrote: > Hello, > >

Re: IMAP hibernate and scalability in general

2017-04-06 Thread Timo Sirainen
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 box I'm looking at). At only a little over a meg

abrt reported "imap killed by SIGBUS"

2017-04-06 Thread Hongying Liu
Hi sbr-services, Could you give me some idea? ### abrt reported the error as below. [root@cupop4 log]# abrt-cli list --since 1488267244 id ad716dbfd3a68bbe0f055e32ebfe562f4f75df43 reason: imap killed by SIGBUS time: Sun Mar 19 2017 10:58:27 AM JST cmdline:dovecot/imap

Re: Problem with Dovecot and BlackBerry

2017-04-06 Thread Michael Slusarz
> On April 4, 2017 at 5:07 AM Luca Bertoncello wrote: > > Hi all, > > i've got a strange behaviour with a BlackBerry Classic Phone (BBOS > 10.3.2.2876) in combination with Dovecot 2.2.13 while trying to fetch > mails. > > Before burying myself into debugging sessions, i

Re: Using filter in an imapsieve script?

2017-04-06 Thread Tobi
To further debug I wrote a little shell wrapper for my gpgit script. That wrapper now is called from imap sieve script. The wrapper writes exit code of gpgit and the mail content returned by gpgit into a logfile. I can see that gpgit returns 0 and the mail content returned is encrypted. But still

Re: IMAP hibernate and scalability in general

2017-04-06 Thread Christian Balzer
Hello, On Wed, 5 Apr 2017 23:45:33 -0700 Mark Moseley wrote: > 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 >

Re: IMAP hibernate and scalability in general

2017-04-06 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

Re: [BUG] client state / Message count mismatch with imap-hibernate and mixed POP3/IMAP access

2017-04-06 Thread Christian Balzer
Hello, On Thu, 6 Apr 2017 09:24:23 +0300 Aki Tuomi wrote: > On 06.04.2017 07:02, Christian Balzer wrote: > > > > Hello, > > > > this is on Debian Jessie box, dovecot 2.2.27 from backports, > > imap-hibernate obviously enabled. > > > > I've been seeing a few of these since starting this cluster

Re: Using filter in an imapsieve script?

2017-04-06 Thread Tobi
Hi Stephan yes the imap_sieve plugin is added to the mail_plugins for imap. Thanks for the hint with mail_debug. After enabling it I can see that the program seems to be called, so filter should not be the problem. But the result is that the message appears unencrypted in my sent folder > Apr 6

Re: [BUG] client state / Message count mismatch with imap-hibernate and mixed POP3/IMAP access

2017-04-06 Thread Aki Tuomi
On 06.04.2017 07:02, Christian Balzer wrote: > > Hello, > > this is on Debian Jessie box, dovecot 2.2.27 from backports, > imap-hibernate obviously enabled. > > I've been seeing a few of these since starting this cluster (see previous > mail), they all follow the same pattern, a user who

Re: IMAP hibernate and scalability in general

2017-04-06 Thread Aki Tuomi
On 06.04.2017 06:15, Christian Balzer wrote: > Hello, > > as some may remember, we're running very dense IMAP cluster here, in > excess of 50k IMAP sessions per node (current record holder is 68k, design > is for 200k+). > > The first issue we ran into was that the dovecot master process (which

Re: Problem with Dovecot and BlackBerry

2017-04-06 Thread Aki Tuomi
On 06.04.2017 07:50, li...@lazygranch.com wrote: > On Tue, 04 Apr 2017 11:07:26 + > Luca Bertoncello wrote: > >> Hi all, >> >> i've got a strange behaviour with a BlackBerry Classic Phone (BBOS >> 10.3.2.2876) in combination with Dovecot 2.2.13 while trying to >>