cyrus-imapd v2.4.2 on CentOS issue with deleting users

Robert Spellman rspell at bates.edu
Tue Nov 2 12:41:36 EDT 2010


I'm looking into upgrading our cyrus configuration to 2.4.2, and have 
been playing with a test configuration that mimics our production 
environment.  The test configuration consists of three servers:

1 backend server (mailstore04)
1 murder server (murderdev)
1 front end server (postoffice05)

All servers are running CentOS from a clean installation, along with all 
available patches.

I login via cyradm to the backend server mailstore04.
I create a user, along with a Trash, Sent and Junk folder
I modify the permissions to allow me full access to the user's folders
I send an email to the new user, and view it from my account.
I then try to delete the account.

Here's what I'm seeing in the syslog on the backend:

> Nov  2 12:32:52 mailstore04 imap[6444]: Deleted mailbox user.frodo
> Nov  2 12:32:52 mailstore04 imap[6444]: Deleted mailbox user.frodo.Junk
> Nov  2 12:32:52 mailstore04 imap[6444]: Deleted mailbox user.frodo.Sent
> Nov  2 12:32:52 mailstore04 imap[6444]: Deleted mailbox user.frodo.Trash
> Nov  2 12:32:52 mailstore04 imap[6444]: Remove of supposedly empty 
> directory /home/imap/f/user/frodo failed: Directory not empty
and now, when I try to recreate the mailbox:

> mailstore04.bates.edu> cm user.frodo default
> createmailbox: Mailbox is locked
> mailstore04.bates.edu>

If I login to the backend and delete /home/imap/f/user/frodo along with 
lock/f/frodo* and user/f/frodo*, I can create the folder, however, I 
start seeing ioerrors until I restart master on the backend:

> Nov  2 12:07:31 mailstore04 imap[6303]: IOERROR: header CRC mismatch 
> user.frodo: EA10BDA4 E4C3FF07
> Nov  2 12:07:31 mailstore04 imap[6303]: IOERROR: header CRC mismatch 
> user.frodo: EA10BDA4 E4C3FF07

Here's the output from the version command in case you want to see how 
the system was compiled:

mailstore04.bates.edu> version
name       : Cyrus IMAPD
version    : v2.4.2 857bf79 2010-10-19
vendor     : Project Cyrus
support-url: http://cyrusimap.web.cmu.edu
os         : Linux
os-version : 2.6.18-194.17.4.el5PAE
environment: Built w/Cyrus SASL 2.1.22
              Running w/Cyrus SASL 2.1.22
              Built w/Sleepycat Software: Berkeley DB 4.3.29: (July 12, 
2010)
              Running w/Sleepycat Software: Berkeley DB 4.3.29: (July 
12, 2010)
              Built w/OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
              Running w/OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
              Built w/zlib 1.2.3
              Running w/zlib 1.2.3
              CMU Sieve 2.4
              TCP Wrappers
              mmap = shared
              lock = fcntl
              nonblock = fcntl
              idle = poll

imapd.conf from backend:

> configdirectory: /var/lib/imap
> partition-default: /home/imap
> defaultpartition: default
> sievedir: /var/lib/imap/sieve
> admins: cyrus
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN GSSAPI
>
> altnamespace: true
> hashimapspool: true
>
> tls_cert_file: /etc/pki/tls/certs/mailstore04.bates.edu-cert.pem
> tls_key_file: /etc/pki/tls/certs/mailstore04.bates.edu-key.pem
> tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
>
> proxyservers: murderdev.bates.edu
>
> mupdate_server: murderdev.bates.edu
> mupdate_username: backend

imapd.conf from murderdev:

> configdirectory: /var/lib/imap
> partition-default: /home/imap
> sievedir: /var/lib/imap/sieve
> admins: cyrus
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN GSSAPI
>
> altnamespace: true
> hashimapspool: true
>
> tls_cert_file: /etc/pki/tls/certs/murderdev.bates.edu-cert.pem
> tls_key_file: /etc/pki/tls/certs/murderdev.bates.edu-key.pem
> tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
>
> mupdate_server: murderdev.bates.edu
> mupdate_username: backend

imapd.conf from frontend:

> configdirectory: /var/lib/imap
> partition-default: /home/imap
> admins: cyrus backend
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN GSSAPI
>
> altnamespace: true
> hashimapspool: true
>
> tls_cert_file: /etc/pki/tls/certs/postoffice05.bates.edu-cert.pem
> tls_key_file: /etc/pki/tls/certs/postoffice05.bates.edu-key.pem
> tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
>
> mupdate_server: murderdev.bates.edu
> mupdate_username: backend





-------------- next part --------------
A non-text attachment was scrubbed...
Name: rspell.vcf
Type: text/x-vcard
Size: 384 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20101102/4b8564fd/attachment.vcf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5721 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20101102/4b8564fd/attachment.bin 


More information about the Info-cyrus mailing list