Re: [Dovecot] Dovecot + Sieve does not work
Hi, On Wed, 09 Mar 2011 14:33:56 +0100, Jimmi wrote: # dovecot -n # 1.2.16: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-110209 i686 Debian 6.0 ext3 log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap sieve The protocol is managesieve, not sieve. Look at http://wiki1.dovecot.org/ManageSieve/Configuration After that in Roundcube 0.5.1 downloaded from http://roundcube.net/ I enabled the managesieve plugin but when I go to the filter page RC says that he cannot connect the server. I then realized that the port 4190 is not open and I cannot understand why. In my dovecot.conf I have the section: protocol managesieve { # Specify an alternative address:port the daemon must listen on # (default: *:2000) listen = localhost:4190 } Edit the config.inc.php from the managesieve roundcube plugin and change the managesieve_port. The default port is here also 2000. Regards, Carsten
Re: [Dovecot] Dovecot + Sieve does not work
On Wed, 09 Mar 2011 16:55:51 +0100, Jimmi wrote: However another problem comes: with roundcube I created a rule, that was correctly stored in the user's sieve directory in roundcube.sieve as follow: require ["fileinto"]; # rule:[MyMail] if anyof (header :contains "From" "mymail") { fileinto "Mymail"; stop; } and the emails coming from mymail domain simply disappear, leaving the box Mymail empty. I could not find anything strange in the logs: how t otrace the problem? Postfix uses not the dovecot deliver as the LDA? It is important that Dovecot deliver stores the mail in the mailboxes. Look at http://wiki.dovecot.org/LDA/Postfix check the logs for something like this: dovecot: deliver(info): sieve: msgid=<20110309165551.15324os69xdf8...@posta.7girello.net>: stored mail into mailbox 'Dovecot' postfix/local[21898]: 4584431F2DEC: (delivered to command: /usr/lib/dovecot/deliver) Regards, Carsten
Re: zlib plugin producing errors on 2.3.0
On 24.12.2017 15:58, Adam Weinberger wrote: Hello, I use the zlib and imap_zlib plugins on FreeBSD. As of 2.3.0, my logs are producing these errors every so often, but AFAICT the messages themselves aren't getting corrupted. Panic: file ostream-zlib.c: line 36 (o_stream_zlib_close): assertion failed: (zstream->ostream.finished || zstream->ostream.ostream.stream_errno != 0) Fatal: master: service(imap): child 80128 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) Panic: file ostream-zlib.c: line 36 (o_stream_zlib_close): assertion failed: (zstream->ostream.finished || zstream->ostream.ostream.stream_errno != 0) Fatal: master: service(imap): child 80266 killed with signal 6 (core not dumped - set service imap { drop_priv_before_exec=yes }) They always come in pairs like that. Following is my doveconf. Let me know what else I can provide here. Thanks! I had this errors in my logs, too. It happens only to users who using K-9 Mail on Android. They all had a setting enabled called "Use compression on network: Mobile, Wi-Fi, Other" in "Incoming server settings". I didn't looked for other imap clients, because without this setting enabled the errors vanished. But it is likely that there are other imap clients who try to compress the transfer. No stored mails are corrupted, it is only the connection somehow. Carsten
Re: zlib plugin producing errors on 2.3.0
On 09.01.2018 11:22, Aki Tuomi wrote: Can you try if this https://github.com/dovecot/core/commit/23da0fa1b30cc11bcc1d467674a0950c527e9ff1.patch fixes your issue? The panics are gone, it seems this patch fixes the issue. I see in my logs normal login and connection closed messages. I applied this patch to dovecot v2.3.0 and tested it with the Android K-9 Mail App. I used the option "Use compression on network", which seems to be a default for a new connection. Carsten