I have been getting this error for the last few days on my Cyrus-IMAP server. The details of the system are:
OS: Redhat Linux 9 cyrus-imapd: 2.1.13 cyrus-imapd-utils: 2.1.13 sendmail: 8.12.8 The symptoms are the the mail is queuing up on the mailserver once Fetchmail recovers them from my external mail servers. The only thing that successfully delivers the mail is a restart of both the Cyrus-IMAP server and the Sendmail daemon. My log file is as follows: /var/log/messages: Jul 12 10:55:11 seth su(pam_unix)[7701]: session opened for user cyrus by alex(uid=0) Jul 12 10:55:11 seth su(pam_unix)[7701]: session closed for user cyrus Jul 12 10:55:11 seth master[7768]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted Jul 12 10:55:11 seth master[7768]: retrying with 1024 (current max) Jul 12 10:55:11 seth master[7768]: process started Jul 12 10:55:11 seth ctl_cyrusdb[7769]: recovering cyrus databases Jul 12 10:55:11 seth cyrus-imapd: cyrus-master startup succeeded Jul 12 10:55:11 seth master[7768]: process 7769 exited, signaled to death by 11 Jul 12 10:55:11 seth master[7768]: ready for work Jul 12 10:55:11 seth ctl_cyrusdb[7772]: checkpointing cyrus databases Jul 12 10:55:11 seth ctl_cyrusdb[7772]: done checkpointing cyrus databases Jul 12 10:55:11 seth lmtpd[7774]: DBERROR db4: operation not permitted during recovery. Jul 12 10:55:11 seth lmtpd[7774]: DBERROR: opening /var/lib/imap/deliver.db: Invalid argument Jul 12 10:55:11 seth lmtpd[7774]: DBERROR: opening /var/lib/imap/deliver.db: cyrusdb error Jul 12 10:55:11 seth lmtpd[7774]: lmtpd: unable to init duplicate delivery database Jul 12 10:55:22 seth sendmail: sendmail shutdown succeeded Jul 12 10:55:22 seth sendmail: sm-client shutdown succeeded Jul 12 10:55:23 seth sendmail: sendmail startup succeeded Jul 12 10:55:23 seth sendmail: sm-client startup succeeded Jul 12 10:56:23 seth lmtpd[7774]: DBERROR db4: Database handles open during environment close Jul 12 10:56:23 seth lmtpd[7774]: DBERROR: error exiting application: Invalid argument Any suggestions would be greatly appreciated! -- Alex Ackerman <[EMAIL PROTECTED]>