Package: cyrus-imapd-2.2
Version: 2.2.13-14+lenny3
Severity: important

Issuing a 'rename' command in cyradm to move a mailbox into a new/different
virtual domain will end up deleting the mailbox's sieve scripts, because
the sieve directory tree for the destination domain does not get setup
properly.

For example, this cyradm command:
 > rename user....@example1.com user....@example2.com
should copy sieve scripts from
 /var/spool/sieve/domain/e/example1.com/x/xxx
to
 /var/spool/sieve/domain/e/example2.com/x/xxx
However, it does not create the target directory's parent(s) if it
does not already exist, and in that case the scripts are simply
deleted from the source.

One workaround is to manually create the directory structure for
the new/target domain before doing any moving:

  for x in a b c d e f g h i j k l m n o p q r s t u v w x y z; do
    mkdir -p /var/spool/sieve/domain/T/TARGET/$x
  done
  chown -R cyrus.mail /var/spool/sieve/domain/T
  chmod -R go-rw /var/spool/sieve/domain/T

I classified this as 'important' because of the silent data loss.

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages cyrus-imapd-2.2 depends on:
ii  cyrus-common-2.2  2.2.13-14+lenny3       Cyrus mail system (common files)
ii  libasn1-8-heimdal 1.2.dfsg.1-2.1         Heimdal Kerberos - ASN.1 library
ii  libc6             2.7-18lenny4           GNU C Library: Shared libraries
ii  libcomerr2        1.41.3-1               common error description library
ii  libdb4.2          4.2.52+dfsg-5          Berkeley v4.2 Database Libraries [
ii  libgssapi2-heimda 1.2.dfsg.1-2.1         Heimdal Kerberos - GSSAPI support 
ii  libkrb5-25-heimda 1.2.dfsg.1-2.1         Heimdal Kerberos - libraries
ii  libroken18-heimda 1.2.dfsg.1-2.1         Heimdal Kerberos - roken support l
ii  libsasl2-2        2.1.22.dfsg1-23+lenny1 Cyrus SASL - authentication abstra
ii  libssl0.9.8       0.9.8n-1               SSL shared libraries
ii  libwrap0          7.6.q-16               Wietse Venema's TCP wrappers libra

cyrus-imapd-2.2 recommends no packages.

cyrus-imapd-2.2 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to