cvt_cyrusdb_all

Norman Zhang nzhang at arkon-group.com
Thu Aug 7 04:09:03 EDT 2003


Luca Olivetti wrote:
>
>> I followed the step 2 in README.RPM and reboot the box, but I received
>> the following errors in /var/log/mail/errors. May I ask how do I fix
>> this? I'm using LM 9.1, so postfix runs chroot by default.
>>
>> Aug  6 13:42:10 mail cyrus-master[1987]: setrlimit: Unable to set file
>> descriptors limit to -1: Operation not permitted
>> Aug  6 13:42:10 mail cyrus-master[1987]: retrying with 1024 (current max)
>
> This is cosmetic and harmless. There's a patch for it in the debian
> package but I didn't apply it.
>
>> Aug  6 13:42:11 mail cyrus-master[1987]: unable to bind socket for
>> service lmtpunix: Address already in use
>> Aug  6 13:42:11 mail cyrus-master[1987]: unable to create lmtpunix
>> listener socket: Address already in use
>
> Someone else is already using the socket? Perhaps you have more than one
> lmtpunix line in /etc/cyrus.conf?

My cyrus.conf only has one lmtpunix. After editing cyrus.conf, I did
/etc/rc.d/init.d/cyrus-imapd restart. Is that enough? Am I missing
something?

Regards,
Norman

[root at mail root]# more /etc/cyrus.conf
# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

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

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=5
  imaps         cmd="imapd -s" listen="imaps" prefork=1
  pop3          cmd="pop3d" listen="pop3" prefork=3
  pop3s         cmd="pop3d -s" listen="pop3s" prefork=1
  sieve         cmd="timsieved" listen="sieve" prefork=0

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
#  lmtpunix     cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
   lmtpunix     cmd="lmtpd" listen="/var/spool/postfix/cyrus_socket"
prefork=1

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/lib/imap/socket/notify"
proto="udp" prefork=1
}

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" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400
}






More information about the Info-cyrus mailing list