Bug#833452: cyrus-common: Wrong backup and check scripts specified in /etc/cron.daily/cyrus-imapd

Peppo Brambilla brambi at inf.unibe.ch
Thu Aug 4 13:38:34 UTC 2016


Package: cyrus-common
Version: 2.4.17+nocaldav-0~deb8u1
Severity: normal

Dear Maintainer,

The cron script that backups the mailbox data and checks the database specifies the wrong
binaries.

It checks for /usr/sbin/ctl_mboxlist and /usr/sbin/chk_cyrus but these script are to be
found in the directory /usr/lib/cyrus/bin.

You may want to adjust the crontab script or create symbolic links in /usr/sbin to fix this.

Thanks -- Peppo

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cyrus-common depends on:
ii  adduser                         3.113+nmu3
ii  db-upgrade-util                 5.3.0
ii  db-util                         5.3.0
ii  debconf [debconf-2.0]           1.5.56
ii  dpkg                            1.17.27
ii  gawk                            1:4.1.1+dfsg-1
ii  libc6                           2.19-18+deb8u4
ii  libcomerr2                      1.42.12-1.1
ii  libdb5.3                        5.3.28-9
ii  libkrb5-3                       1.12.1+dfsg-19+deb8u2
ii  libldap-2.4-2                   2.4.40+dfsg-1+deb8u2
ii  libsasl2-2                      2.1.26.dfsg1-13+deb8u1
ii  libsasl2-modules                2.1.26.dfsg1-13+deb8u1
ii  libsnmp30                       5.7.2.1+dfsg-1
ii  libssl1.0.0                     1.0.1t-1+deb8u2
ii  libwrap0                        7.6.q-25
ii  libzephyr4                      3.1.2-1
ii  netbase                         5.3
ii  perl                            5.20.2-3+deb8u6
ii  postfix [mail-transport-agent]  2.11.3-1
ii  zlib1g                          1:1.2.8.dfsg-2+b1

Versions of packages cyrus-common recommends:
ii  cyrus-admin  2.4.17+nocaldav-0~deb8u1
ii  cyrus-imapd  2.4.17+nocaldav-0~deb8u1
ii  cyrus-pop3d  2.4.17+nocaldav-0~deb8u1

Versions of packages cyrus-common suggests:
ii  apt-listchanges    2.85.13+nmu1
ii  cyrus-admin        2.4.17+nocaldav-0~deb8u1
pn  cyrus-clients      <none>
pn  cyrus-doc          <none>
ii  cyrus-imapd        2.4.17+nocaldav-0~deb8u1
pn  cyrus-murder       <none>
pn  cyrus-nntpd        <none>
ii  cyrus-pop3d        2.4.17+nocaldav-0~deb8u1
pn  cyrus-replication  <none>
ii  sasl2-bin          2.1.26.dfsg1-13+deb8u1

-- Configuration Files:
/etc/cyrus.conf changed:
START {
	# do not delete this entry!
	recover		cmd="/usr/sbin/cyrus ctl_cyrusdb -r"
  
	# this is only necessary if idlemethod is set to "idled" in imapd.conf
	idled		cmd="idled"
	# this is useful on backend nodes of a Murder cluster
	# it causes the backend to syncronize its mailbox list with
	# the mupdate master upon startup
	#mupdatepush   cmd="/usr/sbin/cyrus ctl_mboxlist -m"
	# this is recommended if using duplicate delivery suppression
	delprune	cmd="/usr/sbin/cyrus expire -E 3"
	# this is recommended if caching TLS sessions
	tlsprune	cmd="/usr/sbin/cyrus tls_prune"
}
SERVICES {
	# --- Normal cyrus spool, or Murder backends ---
	# add or remove based on preferences
	#imap		cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
	imap_local	cmd="imapd -U 30 -C /etc/imapd_local.conf" listen="localhost:imap" prefork=0 maxchild=800
 	imap_remote	cmd="imapd -U 30 -C /etc/imapd_remote.conf" listen="imap.inf.unibe.ch:imap" prefork=0 maxchild=800
	#imaps		cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
 	imaps_remote	cmd="imapd -s -U 30 -C /etc/imapd_remote.conf" listen="imap.inf.unibe.ch:imaps" prefork=0 maxchild=800
	#pop3		cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
	pop3_remote	cmd="pop3d -U 30 -C /etc/imapd_remote.conf" listen="imap.inf.unibe.ch:pop3" prefork=0 maxchild=50
	#pop3s		cmd="pop3d -s -U 30" listen="pop3s" prefork=0 maxchild=50
	pop3s_remote	cmd="pop3d -s -U 30 -C /etc/imapd_remote.conf" listen="imap.inf.unibe.ch:pop3s" prefork=0 maxchild=50
	#nntp		cmd="nntpd -U 30" listen="nntp" prefork=0 maxchild=100
	#nntps		cmd="nntpd -s -U 30" listen="nntps" prefork=0 maxchild=100
	#http		cmd="httpd -U 30" listen="8008" prefork=0 maxchild=100
	#https		cmd="httpd -s -U 30" listen="8443" prefork=0 maxchild=100
	# At least one form of LMTP is required for delivery
	# (you must keep the Unix socket name in sync with imap.conf)
	#lmtp		cmd="lmtpd" listen="localhost:lmtp" prefork=0 maxchild=20
	lmtpunix	cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
	lmtp_postfix	cmd="lmtpd" listen="/var/spool/postfix/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
	# ----------------------------------------------
	# useful if you need to give users remote access to sieve
	# by default, we limit this to localhost in Debian
  	#sieve		cmd="timsieved" listen="localhost:sieve" prefork=0 maxchild=100
	sieve_local	cmd="timsieved -C /etc/imapd_local.conf" listen="localhost:sieve" prefork=0 maxchild=100
	# this one is needed for the notification services
	notify		cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
	# --- Murder frontends -------------------------
	# enable these and disable the matching services above, 
	# except for sieve (which deals automatically with Murder)
	# mupdate database service - must prefork at least 1
	# (mupdate slaves)
	#mupdate       cmd="mupdate" listen=3905 prefork=1
	# (mupdate master, only one in the entire cluster)
	#mupdate       cmd="mupdate -m" listen=3905 prefork=1
	# proxies that will connect to the backends
	#imap		cmd="proxyd" listen="imap" prefork=0 maxchild=100
	#imaps		cmd="proxyd -s" listen="imaps" prefork=0 maxchild=100
	#pop3		cmd="pop3proxyd" listen="pop3" prefork=0 maxchild=50
	#pop3s		cmd="pop3proxyd -s" listen="pop3s" prefork=0 maxchild=50
	#lmtp		cmd="lmtpproxyd" listen="lmtp" prefork=1 maxchild=20
	# ----------------------------------------------
}
EVENTS {
	# this is required
	checkpoint	cmd="/usr/sbin/cyrus ctl_cyrusdb -c" period=30
	# this is only necessary if using duplicate delivery suppression
	delprune	cmd="/usr/sbin/cyrus expire -E 3" at=0401
	# this is only necessary if caching TLS sessions
	tlsprune	cmd="/usr/sbin/cyrus tls_prune" at=0401
	
	# indexing of mailboxes for server side fulltext searches
	# reindex changed mailboxes (fulltext) approximately every other hour
	squatter_1	cmd="/usr/bin/nice -n 19 /usr/sbin/cyrus squatter -s" period=120
	# reindex all mailboxes (fulltext) daily
	squatter_a	cmd="/usr/sbin/cyrus squatter" at=0517
}

/etc/imapd.conf changed:
configdirectory: /var/lib/cyrus
proc_path: /run/cyrus/proc
mboxname_lockpath: /run/cyrus/lock
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: yes
unixhierarchysep: yes
lmtp_downcase_rcpt: yes
duplicatesuppression: 1
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
sasl_mech_list: PLAIN LOGIN
loginrealms: inf.unibe.ch
virtdomains: userid
defaultdomain: inf.unibe.ch
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
tls_cert_file: /etc/ssl/certs/imap.inf.unibe.ch.pem
tls_key_file: /etc/ssl/private/imap.inf.unibe.ch.key
tls_ca_file: /etc/ssl/certs/cyrus-imapd-ca.pem
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH
tls_versions: tls1_0 tls1_1 tls1_2
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
syslog_prefix: cyrus

/etc/logcheck/ignore.d.server/cyrus-imapd [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/cyrus-imapd'
/etc/logcheck/violations.ignore.d/cyrus-common [Errno 13] Permission denied: u'/etc/logcheck/violations.ignore.d/cyrus-common'
/etc/logcheck/violations.ignore.d/cyrus-imapd [Errno 13] Permission denied: u'/etc/logcheck/violations.ignore.d/cyrus-imapd'

-- debconf information:
* cyrus-common/removespools: false



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list