After running out of disk space, cyrus imapd fails for only one single user

cyrusimap

A Debian server with an existing (and perfectly) running cyrus imapd run out of disk space. After deleting some unused old stuff, there is enough space again. But for one single specific user it is no longer possible to connect via imaps:

Apr 10 20:55:21 myhost cyrus/master[1775]: about to exec /usr/lib/cyrus/bin/imapd
Apr 10 20:55:21 myhost cyrus/imaps[1775]: executed
Apr 10 20:55:21 myhost cyrus/imaps[1775]: accepted connection
Apr 10 20:55:37 myhost cyrus/imaps[1775]: mystore: starting txn 2147483675
Apr 10 20:55:37 myhost cyrus/imaps[1775]: mystore: committing txn 2147483675
Apr 10 20:55:37 myhost cyrus/imaps[1775]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits new) no authentication
Apr 10 20:55:45 myhost cyrus/imaps[1775]: login: [<local ip number>] <myuser>     PLAIN+TLS User logged in
Apr 10 20:55:46 myhost cyrus/master[1235]: process 1775 exited, signaled to death by 7
Apr 10 20:55:46 myhost cyrus/master[1235]: service imaps pid 1775 in BUSY state: terminated abnormally

I've tried to run cyrreconstruct -r user.<userid>, tried to reboot the box, all without success. It's definitely not a client side issue, tried with thunderbird and mutt – both fail.

The strange thing is, every other user could use the imap server without any problem, it just fails for this specific user.

Any hints how to make the user's imap access working again.

ADDENDUM:
I've enabled protocol level logging for the questionable user, it shows that imapd process dies after receiving an imap SELECT "INBOX" command.

Best Answer

The "signaled to death by 7" message in the log was apparently caused by the mailbox's "Seen" file being corrupted by the disk space issue:

http://www.irbs.net/internet/info-cyrus/0811/0060.html

If it wasn't the "Seen" file, increased server-side logging should show which file was being accessed as the IMAP process dies.

Related Topic