Cyrus IMAPd 2.2.7 Released

Simon Matter simon.matter at
Wed Jul 28 09:03:05 EDT 2004

> Hash: SHA1
> I'm pleased to announce the release of Cyrus IMAPd 2.2.7.  This release
> corrects a number of bugs including ones related to portability, the
> quotadb backend, and MULTIAPPEND support, among others.  If you're running
> a version of cyrus after 2.2.3, you'll definately want to upgrade.
> A full list of changes is available in doc/changes.html in the
> distribution.

Hi everybody,

Unfortunately I have a problem with 2.2.7. In the beginning I just saw a
'cyr_expire -E 3' while doing 'ps fax'. I didn't think much about it.
Now, I see that LMTP delivery doesn't work like before. Whenever there was
high traffic on the box, postfix gave up delivering messages to cyrus with
messages like

Jul 28 14:24:50 imap01 postfix/lmtp[8388]: 6ED6F3F2A:
to=<wagneger at>,
relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=348,
status=deferred (lost connection with
/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] while sending end of
data -- message may be sent more than once)


Jul 28 08:24:18 imap01 postfix/lmtp[13602]: 0CBD93F5F:
to=<sah at>,
relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=0,
status=deferred (lost connection with
/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] while sending MAIL

and there are some new problems which started exactly after upgrading to

[root at imap01 log]# grep signaled maillog
Jul 27 10:12:05 imap01 master[24793]: process 24946 exited, signaled to
death by 11
Jul 27 10:34:16 imap01 master[24793]: process 1677 exited, signaled to
death by 11
Jul 27 10:49:55 imap01 master[24793]: process 2036 exited, signaled to
death by 11
Jul 27 10:51:18 imap01 master[24793]: process 22187 exited, signaled to
death by 11
Jul 27 11:04:35 imap01 master[24793]: process 5360 exited, signaled to
death by 11
Jul 27 11:22:56 imap01 master[24793]: process 21000 exited, signaled to
death by 11
Jul 27 11:42:57 imap01 master[24793]: process 13578 exited, signaled to
death by 11

And now, the stage dir looks like this

[root at imap01 log]# ll /var/spool/imap/stage./
total 23856
-rw-------    1 cyrus    mail         4938 Jul 28 00:59 10010-1090969170-0
-rw-------    1 cyrus    mail         3021 Jul 28 10:34 10597-1091003682-0
-rw-------    1 cyrus    mail         4464 Jul 28 10:29 10603-1091003396-0
-rw-------    1 cyrus    mail            0 Jul 28 01:17 10783-1090970257-0
-rw-------    1 cyrus    mail         3505 Jul 28 08:46 10815-1090997170-0

Looking at the changelog, it seems something could have changed here:

# Fix possible stage file leak in append code
# Fix bugs in handling of MULTIAPPEND introduced in 2.2.3

Restarting cyrus-imapd and postfix didn't change anything.

I have now downgraded cyrus-imapd to 2.2.6 and the problems went away

My question is, what do the files in the stage. dir mean? Are those mails
lost, I mean not delivered to mailboxes? I should I deal with them?

I have several 2.2.7 servers running but most of them with light load.
Only the big box has shown the problem.

BTW, it may be a detail but we have this in the postfix config to use
single instance store:
local_destination_recipient_limit = 1000

Is there anything missing? Any ideas?


Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list