[BlueOnyx:21076] Re: 5207R, 5208R, 5209R: Dovecot update in testing

"Meaulnes Legler"@MailList bluelist at waveweb.ch
Mon Jun 5 04:25:37 -05 2017


Thank you Michael, this is very promising to update Dovecot with Sieve, this would enable filters in Roundcube, an actual serious shortcoming of the only available webmailer on a 5209R...

So I enabled the 2nd repository in /etc/yum.repos.d/BlueOnyx.repo and ran yum update without problems, also the yum install dovecot-pigeonhole (see output at the end of this mail).

After resetting the 2nd repository to enabled=0, I checked the incoming and outgoing mail on this server: everything fine, a none-admin user account could send and receive.

But unfortunately, the filters still don't work in Roundcube. I enabled the «managesieve» in web/roundcube/config/config.inc.php with
// List of active plugins (in plugins/ directory)
    $config['plugins'] = array(
      'archive',
      'managesieve',
      'zipdownload',
    );
and get the usual «Unable to connect to server» error message.

Maybe I'm doing something wrong? See the output of `dovecot -n` at the end of this mail, the lines
    plugin {
      sieve = file:~/sieve;active=~/.dovecot.sieve
    }
seem to indicate, that the pluging is working...

Thank you and best regards

Meaulnes Legler


On 03.06.17 05:58, Michael Stauber wrote:
> Hi all,
> I'm in the process of testing an update Dovecot RPM for BlueOnyx. It's
> the latest version 2.2.30.1 and I think it may be good enough for
> production.
> However: As this is a pretty important service for everyone I think it
> might be best to give it some more testing than I can provide on my own.
> And an important update like this should - of course - not be published
> over the weekend.
> Hence: The updated Dovecot has been uploaded to the [BlueOnyx-Testing]
> Yum repository of 5207R, 5208R and 5209R, which is not enabled by default.
> To enable it edit /etc/yum.repos.d/BlueOnyx.repo and you will see two
> repositories listed there. Only the first one has "enabled=1" set.
> Enable the 2nd repository as well and then just run a "yum update".
> After getting the updated Dovecot from there, please disable the testing
> repository again. Or else you might become unwilling test subject for
> the next round of beta-updates. :-)
> Note: This version of Dovecot comes with "Pigeonhole" (Sieve) support
> (See: https://pigeonhole.dovecot.org/). That RPM is not being installed
> by default, as most people won't need it. If you want to try pigeonhole
> and want to install it, you can do so this way:
> yum install dovecot-pigeonhole
> If you find any problems, please report them here on the list, by email
> to me or use the support ticket feature of the BlueOnyx GUI. Either way
> is fine.


[root at vs.titlis.net ~] 23:21:29 130# vi /etc/yum.repos.d/BlueOnyx.repo
[root at vs.titlis.net ~] 23:24:01 131#
[root at vs.titlis.net ~] 23:24:01 131#
[root at vs.titlis.net ~] 23:24:01 131# yum update
Failed to set locale, defaulting to C
Loaded plugins: blueonyx, fastestmirror
Loading mirror speeds from cached hostfile
    * BlueOnyx-5209R: bb-one.blueonyx.it
    * BlueOnyx-5209R-Testing: bb-one.blueonyx.it
    * Solarspeed.net-AVSPAM-v6: bbone.smd.net
    * base: linuxsoft.cern.ch
    * extras: linuxsoft.cern.ch
    * updates: linuxsoft.cern.ch
Resolving Dependencies
--> Running transaction check
---> Package dovecot.x86_64 2:2.2.15-1BX07.el7 will be updated
---> Package dovecot.x86_64 2:2.2.30.1-BX01.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
    Package                      Arch                        Version                                   Repository                                   Size
======================================================================================================================================================
Updating:
    dovecot                      x86_64                      2:2.2.30.1-BX01.el7                       BlueOnyx-5209R-Testing                       13 M
Transaction Summary
======================================================================================================================================================
Upgrade  1 Package
Total download size: 13 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for BlueOnyx-5209R-Testing
dovecot-2.2.30.1-BX01.el7.x86_64.rpm                                                                                           |  13 MB  00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
     Updating   : 2:dovecot-2.2.30.1-BX01.el7.x86_64                                                                                                 1/2
     Cleanup    : 2:dovecot-2.2.15-1BX07.el7.x86_64                                                                                                  2/2
     Verifying  : 2:dovecot-2.2.30.1-BX01.el7.x86_64                                                                                                 1/2
     Verifying  : 2:dovecot-2.2.15-1BX07.el7.x86_64                                                                                                  2/2
Updated:
     dovecot.x86_64 2:2.2.30.1-BX01.el7
Complete!
Restarting cced: [ OK ]
Running CCEd constructors: [ OK ]
[root at vs.titlis.net ~] 23:25:12 131#
[root at vs.titlis.net ~] 23:25:48 131#
[root at vs.titlis.net ~] 23:25:48 131#
[root at vs.titlis.net ~] 23:25:48 131# yum install dovecot-pigeonhole
Failed to set locale, defaulting to C
Loaded plugins: blueonyx, fastestmirror
Loading mirror speeds from cached hostfile
    * BlueOnyx-5209R: bb-one.blueonyx.it
    * BlueOnyx-5209R-Testing: bb-one.blueonyx.it
    * Solarspeed.net-AVSPAM-v6: bbone.smd.net
    * base: linuxsoft.cern.ch
    * extras: linuxsoft.cern.ch
    * updates: linuxsoft.cern.ch
Resolving Dependencies
--> Running transaction check
---> Package dovecot-pigeonhole.x86_64 2:2.2.30.1-BX01.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
    Package                              Arch                     Version                                 Repository                                Size
======================================================================================================================================================
Installing:
    dovecot-pigeonhole                   x86_64                   2:2.2.30.1-BX01.el7                     BlueOnyx-5209R-Testing                   663 k
Transaction Summary
======================================================================================================================================================
Install  1 Package
Total download size: 663 k
Installed size: 2.8 M
Is this ok [y/d/N]: y
Downloading packages:
dovecot-pigeonhole-2.2.30.1-BX01.el7.x86_64.rpm                                                                                | 663 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
     Installing : 2:dovecot-pigeonhole-2.2.30.1-BX01.el7.x86_64                                                                                      1/1
     Verifying  : 2:dovecot-pigeonhole-2.2.30.1-BX01.el7.x86_64                                                                                      1/1
Installed:
     dovecot-pigeonhole.x86_64 2:2.2.30.1-BX01.el7
Complete!
[root at vs.titlis.net ~] 23:26:38 132#
[root at vs.titlis.net ~] 23:26:38 132#
[root at vs.titlis.net ~] 23:33:53 132# vi /etc/yum.repos.d/BlueOnyx.repo



[root at vs.titlis.net ~] 08:54:17 133# dovecot --version
# 2.2.30.1 (eebd877): /etc/dovecot/dovecot.conf
[root at vs.titlis.net ~] 08:55:57 134#
[root at vs.titlis.net ~] 08:55:58 134# dovecot -n
# Pigeonhole version 0.4.18 (29cc74d)
# OS: Linux 2.6.32-042stab120.19 x86_64 CentOS Linux release 7.3.1611 (Core)
auth_mechanisms = plain login
disable_plaintext_auth = no
listen = *
mail_location = mbox:~/mail/:INBOX=mbox
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext
mbox_write_locks = fcntl
namespace inbox {
    inbox = yes
    location =
    mailbox Drafts {
      special_use = \Drafts
    }
    mailbox Junk {
      special_use = \Junk
    }
    mailbox Sent {
      special_use = \Sent
    }
    mailbox "Sent Messages" {
      special_use = \Sent
    }
    mailbox Trash {
      special_use = \Trash
    }
    prefix =
}
passdb {
    driver = pam
}
plugin {
    sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocols = imap pop3
service imap-login {
    inet_listener imap {
      port = 143
    }
    inet_listener imaps {
      port = 993
      ssl = yes
    }
}
service pop3-login {
    inet_listener pop3 {
      port = 110
    }
    inet_listener pop3s {
      port = 995
      ssl = yes
    }
}
ssl_ca = </etc/pki/dovecot/certs/ca.pem
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_cipher_list = EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA
ssl_dh_parameters_length = 2048
ssl_key =  # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
ssl_protocols = !SSLv2 !SSLv3
userdb {
    driver = passwd
}
[root at vs.titlis.net ~] 08:59:38 135#
[root at vs.titlis.net ~] 08:59:49 135#






More information about the Blueonyx mailing list