Lmtp having problems opening deliver.db

Russell Gnann rgnann at corp.pol.net
Tue Jul 15 09:55:01 EDT 2003


We are running the following Cyrus-IMAP 2.1.12/Cyrus-SASL 2.1.13

We have been having a recurring error show up in our message logs..

Jul 15 09:45:23 tom lmtpd[13549]: DBERROR: opening /var/imap/deliver.db: Not
enough space
Jul 15 09:45:23 tom lmtpd[13549]: DBERROR: opening /var/imap/deliver.db:
cyrusdb error
Jul 15 09:45:23 tom lmtpd[13549]: lmtpd: unable to init duplicate delivery
database

I am not too familiar with the purpose of the deliver.db other than it's use
in duplicate message suppression.  My initial solution was to delete the
deliver.db file since it seemed to be corrupt and restart cyrus IMAP. This
seemed to fix the problem as lmtp seemed to have no trouble creating and
updating a new version.  Now a few days later we are seeing these errors.
We are use Berkey DB 4.1.25 for this file. It doesn't seem to be hampering
our mail usage, but I would like to learn how to deal with this
appropriately. Any help would be greatly appreciated.  Thanks.

Our current IMAP configs are..

---- imapd.conf -----
configdirectory: /var/imap
defaultpartition: default
partition-default: /var/pol/mail/default
partition-default2: /var/pol/mail/default2
partition-default3: /var/pol/mail/default3
partition-default4: /var/pol/mail/default4
partition-a: /var/pol/mail/a
partition-b: /var/pol/mail/b
partition-c: /var/pol/mail/c
partition-d: /var/pol/mail/d
partition-e: /var/pol/mail/e
partition-f: /var/pol/mail/f
partition-g: /var/pol/mail/g
partition-h: /var/pol/mail/h
partition-i: /var/pol/mail/i
partition-j: /var/pol/mail/j
partition-k: /var/pol/mail/k
partition-l: /var/pol/mail/l
partition-m: /var/pol/mail/m
partition-n: /var/pol/mail/n
partition-o: /var/pol/mail/o
partition-p: /var/pol/mail/p
partition-q: /var/pol/mail/q
partition-r: /var/pol/mail/r
partition-s: /var/pol/mail/s
partition-t: /var/pol/mail/t
partition-u: /var/pol/mail/u
partition-v: /var/pol/mail/v
partition-w: /var/pol/mail/w
partition-x: /var/pol/mail/x
partition-y: /var/pol/mail/y
partition-z: /var/pol/mail/z
partition-0: /var/pol/mail/0
partition-1: /var/pol/mail/1
partition-2: /var/pol/mail/2
partition-3: /var/pol/mail/3
partition-4: /var/pol/mail/4
partition-5: /var/pol/mail/5
partition-6: /var/pol/mail/6
partition-7: /var/pol/mail/7
partition-8: /var/pol/mail/8
partition-9: /var/pol/mail/9
admins: cyrus
allowanonymouslogin: no
sasl_passwd_method: saslauthd
sasl_pwcheck_method: saslauthd
----END imapd.conf ----


--- cyrus.conf ----
# standard standalone server implementation

START {
  # do not delete these entries!
  recover       cmd="ctl_cyrusdb -r"
  #mupdatepush  cmd="ctl_mboxlist -m"

  # this is only necessary if using idled for IMAP IDLE
#  idled                cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=10
  pop3          cmd="pop3d" listen="pop3" prefork=10

  # LMTP is required for delivery
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1
#  lmtpunix     cmd="lmtpd" listen="tom.po.com:3000" prefork=0
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune      cmd="ctl_deliver -E 3" period=1440
}
---END cyrus.conf ----

_______
Russell Gnann
UNIX Systems Administrator
Andrx Corp.





More information about the Info-cyrus mailing list