Problem setting up cyrus imapd server
Juergen Wolf
juergen.wolf at idmt.fraunhofer.de
Wed Jun 22 04:18:06 EDT 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
I am trying to setup a cyrus 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 an cyrus-imapd newer
than 2.4.17 seems to have either problems with the imap proxy, or I am
simply doing it completely wrong. The Version 2.4.17 works with the
config, version 2.5.8 or 3.0beta does not work.
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
iQIcBAEBCAAGBQJXakm+AAoJEIy/PLqrIfYi7MgP/jkmQZf71ufg3F+g3BbxJ++L
+EnkLCeNKiUPGigYER/yMhBTxEIPEaHkJLArk57s202FqZqf/zynYK3Cs41aC3DS
I7v9aaQGSbzCe2zcyOXPILNP9HI9LCJKJgx0TFqB4G9Cxu0kS0eW/BLYrNHdMA0Z
vEbFsxxXVTxxd9ER1GqNz+1afJvSl2dHQAnt24Q3tj2fbu3/C/a1G1SHIWq8VtHS
20HbsmNP3btzUtbOsQ4MFaZ4JomWBWlKocwBVYB25SCaRSbdNYk8afIWSlVkbh6f
LDCYiz8iIwxAd693oe46d+t5s2NNd3dVIjfVEITyYmgc/FudU/vcP2WaZEFd1++Y
MzCmxE1nxt7jWLTVBrCYKeZ9/wcPSyg6M9ecmObRWr311bpvNs63P+/xECaXTWJ5
PGxer9CVDnIoZ0KeSHZJ9pMLq3lER1C3XTHMNA3Hc+ZSy2CyDcEayJzAE9qlrdK6
+4QW91n3fdmdFaIZsni8Vj1f5pUAR7TEru6drB0cVQHYoetmatjwq/8Tt21r4+FC
cW/ldgu8Bp7laqa/ckEGawLBBk20BdTAd61I6fWi3QRB7LMtlNLOfJCk2NGQnh+H
Wm0kcuo84z4qg75HOLT3kTQfi8H+s/+36PDy0+M8+OdYSHbIkUlUUp8f68XG5NhC
WxD/9o0EOvllaCvNV53b
=xm+p
-----END PGP SIGNATURE-----
More information about the Info-cyrus
mailing list