Problem setting up Kolab with cyrus murder setup

Juergen Wolf juergen.wolf at idmt.fraunhofer.de
Mon Jun 20 12:09:48 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

 I am trying to setup a Kolab 3.4 server on CentOS 7 systems with a
 cyrus murder backend. Unfortunately I fail quite early while setting
 up the cyrus. 

 The Problem ist that a cyrus murder setup with the current

 cyrus-imapd-2.5-108.3.el7.kolab_3.4.x86_64

 package seems to have either problems with the imap proxy, or I am
 simply doing it completely wrong. To track down the error, I have
 the cyrus running with a very minimalistic configuration.
 Even this configuration shows the same error. After creating a mailbox
 on the backend, all information is propagated to the frontend and the
 mupdate server. But the information in the frontend is garbled and the
 the proxyd process even crashes while accessing the mailbox.

 So new server, one mailbox on one fronted. Ctl_mboxlist shows the
 following:

 at backend:
/usr/lib/cyrus-imapd/ctl_mboxlist -d
user.wolf	0 default wolf	lrswipkxtecdan

 at the mupdate server:
/usr/lib/cyrus-imapd/ctl_mboxlist -d
user.wolf	1 imailbackend00!default wolf	lrswipkxtecdan

 at the frontend:
/usr/lib/cyrus-imapd/ctl_mboxlist -d
user.wolf	1 imailbackend00!defaultH�H��f� wolf
lrswipkxtecdan

 The proxyd process at the fronted crashes while executing the info
 user.wolf command via cyradmin as cyrus-admin:

Jun 20 12:04:31 ilserv15 imap[73259]: Fatal error: Internal error:  assertion failed: imap/annotate.c: 1615: state->mailbox
Jun 20 12:04:31 ilserv15 master[73250]: process type:SERVICE name:imap path:/usr/lib/cyrus-imapd/proxyd age:1239.927s pid:73259 exited, status 75

 The wanted setup is one frontend server, one mupdate server and two
 backend servers with the following configs:

 frontend-config:
#
# Servername
#
servername:             ilserv15
#
# Storage Part
#
configdirectory:   /var/lib/imap
partition-default: /var/spool/imap
sievedir:          /var/lib/imap/sieve
#
# Admins
#
admins:   cyrus-admin cyrus-murder
# 
# Executables 
#
sendmail: /usr/sbin/sendmail
#
# User Authentication
#
# General
allowplaintext: yes
# Sasl
sasl_pwcheck_method: auxprop saslauthd
sasl_mech_list:      PLAIN LOGIN
#
# Security / Encryption
tls_client_ca_dir:      /etc/pki/tls/certs/
tls_server_cert: 	/etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_server_key: 	/etc/pki/cyrus-imapd/cyrus-imapd.pem
#
# Murder Setup
#
mupdate_server:         ilserv18.idmt.fraunhofer.de
mupdate_username:       cyrus-murder
mupdate_authname:       cyrus-murder
mupdate_password:       <deleted>
mupdate_mechs:          plain
proxy_authname:         cyrus-murder
proxy_password:         <deleted>
proxyservers:           cyrus-murder

START {
    recover	cmd="ctl_cyrusdb -r"
    idled		cmd="idled"
    mupdatepush cmd="ctl_mboxlist -m"
}
SERVICES {
    imap		cmd="proxyd" listen="imap" prefork=5
    imaps		cmd="proxyd -s" listen="imaps" prefork=1
    pop3		cmd="pop3d" listen="pop3" prefork=3
    pop3s		cmd="pop3d -s" listen="pop3s" prefork=1
    sieve		cmd="timsieved" listen="sieve" prefork=0
    lmtpunix	cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 
    mupdate      cmd="mupdate"     listen="3905" prefork=1 
    notify	cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1 
}
EVENTS {
    checkpoint	cmd="ctl_cyrusdb -c" period=30
    duplicateprune cmd="cyr_expire -E 3" at=0400
    deleteprune cmd="cyr_expire -E 4 -D 69" at=0430
    expungeprune cmd="cyr_expire -E 4 -X 69" at=0445
    tlsprune	cmd="tls_prune" at=0400
}

 backend-config:
#
# Servername
#
servername:             imailbackend00
#
# Storage Part
#
configdirectory:   /var/lib/imap
partition-default: /cyrus_pool
sievedir:          /var/lib/imap/sieve
#
# Admins
#
admins:   cyrus-admin cyrus-murder
# 
# Executables 
#
sendmail: /usr/sbin/sendmail
#
# User Authentication
#
# General
allowplaintext: yes
# Sasl
sasl_pwcheck_method: auxprop saslauthd
sasl_mech_list:      PLAIN LOGIN
#
# Security / Encryption
tls_client_ca_dir:      /etc/pki/tls/certs/
tls_server_cert: 	/etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_server_key: 	/etc/pki/cyrus-imapd/cyrus-imapd.pem
#
# Murder Setup
#
mupdate_server:         ilserv18.idmt.fraunhofer.de
mupdate_username:       cyrus-murder
mupdate_authname:       cyrus-murder
mupdate_password:       <deleted>
mupdate_mechs:          plain
proxy_authname:         cyrus-murder
proxy_password:         <deleted>
proxyservers:           cyrus-murder

START {
    recover	cmd="ctl_cyrusdb -r"
    idled		cmd="idled"
    mupdatepush cmd="ctl_mboxlist -m"
}
SERVICES {
    imap		cmd="imapd" listen="imap" prefork=5
    imaps		cmd="imapd -s" listen="imaps" prefork=1
    pop3		cmd="pop3d" listen="pop3" prefork=3
    pop3s		cmd="pop3d -s" listen="pop3s" prefork=1
    sieve		cmd="timsieved" listen="sieve" prefork=0
    lmtpunix	cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 
    notify	cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1 
}
EVENTS {
    checkpoint	cmd="ctl_cyrusdb -c" period=30
    duplicateprune cmd="cyr_expire -E 3" at=0400
    deleteprune cmd="cyr_expire -E 4 -D 69" at=0430
    expungeprune cmd="cyr_expire -E 4 -X 69" at=0445
    tlsprune	cmd="tls_prune" at=0400
    squatter    cmd="squatter -s -i" at=0530
}

 mupdate-config:
#
# Servername
#
servername:             ilserv18
#
# Storage Part
#
configdirectory:   /var/lib/imap
partition-default: /tmp
sievedir:          /var/lib/imap/sieve
#
# Admins
#
admins:   cyrus-admin cyrus-murder
# 
# Executables 
#
sendmail: /usr/sbin/sendmail
#
# User Authentication
#
# General
allowplaintext: yes
# Sasl
sasl_pwcheck_method: auxprop saslauthd
sasl_mech_list:      PLAIN LOGIN
#
# Security / Encryption
tls_client_ca_dir:      /etc/pki/tls/certs/
tls_server_cert: 	/etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_server_key: 	/etc/pki/cyrus-imapd/cyrus-imapd.pem
#
# Murder Setup
#
mupdate_server:         ilserv18.idmt.fraunhofer.de
mupdate_username:       cyrus-murder
mupdate_authname:       cyrus-murder
mupdate_password:       <deleted>
mupdate_mechs:          plain
proxy_authname:         cyrus-murder
proxy_password:         <deleted>
proxyservers:           cyrus-murder

START {
    recover	cmd="ctl_cyrusdb -r"
}
SERVICES {
    mupdate      cmd="mupdate -m" listen="3905" prefork=1 
}
EVENTS {
    checkpoint	cmd="ctl_cyrusdb -c" period=30
}


 Any hints why this is not working as expected ?

 Thank you in advance for any help.

Kind Regards,
  Jürgen


- -- 
email: Juergen.Wolf at idmt.fraunhofer.de
gilb:  Fraunhofer-Institut fuer Digitale Medientechnologie IDMT
       98693 Ilmenau, Ehrenbergstr. 31
Tel.:  +49 3677 467-234			Fax:   +49 3677 467-467
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXZ8DsAAoJEIy/PLqrIfYiAeoQAIkY1SYFCpNMm9vpumOuu81m
6azKHsBgOBQ4fAum6g4piVOULN0mtvhI0VmLwR8f26Exqnb3NWTV5q7pMcVdXeJv
wvnub/+jNE4BHWtYhW7HeAdHvt/xKGprO0pe/QTGRP2FCBjZ//6/LvzKtFp70i6R
YM/+D2d7o3pgy6HKviCdr3IFq8uQEUFXpoWJPq6On1v1p/ZAnwaPbO+5ixoLU4Na
ODQRodzs+uN12u/gFfJkcGKd4DUGvf2pKNVV4LHHXxuMGTBV6tCFgSHUIfjI2UtA
bqaPu7s2ugMzIqJxu/s4ao/F5uPvlUj3uFkS2tWVoUX3KXP8LGpEXpkyXpxKb24Z
PZZUiTX9B2XJlzZX087JW6QJu2JWG1qEqhPQ8zJrB8A/Hj/wpwwc8XOFziKIs8Dl
MDoT9I+MamJSzi3jZXhZiDQXn7SM045D802ZkqSzLE0I3P1P2ln8yP4XRdYc3cqX
H7RvTd99Onm/KlU0qLJXwR3/4mTLX2iy0h1yYNmosQ8T73ZfVkHPsXp1DEpVoDRi
XK0QqHxe+NnJwNawDoxYV8xvZeUMKMJSzCf/WmdUZCH/Y5AUp8anxpDBW9gFSceZ
vDrZ2QHWp3ePaIAV6XKrjoxAtNSjeheoKfVJ58HzGztmJSvG66TvFV2WvcaHMDKD
6f/6MTkMF9RLGb5L94F+
=DGp6
-----END PGP SIGNATURE-----


More information about the users mailing list