> This doesn't help. The problem is that Cyrus imapd is completely
> freaking out, continually dying and re-forking itself, with my=20
> kernel
> message buffer filling rapidly + all.log filling. So, there is=20
> further
> configuration of this daemon that's needed (meaning it does not work
> "straight out of the box"), and I need those configuration details.
Below is the relevant parts of my config that should get you going:
my /usr/local/etc/cyrus.conf:
START {
# do not delete this entry!
recover cmd=3D"ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE
idled cmd=3D"idled"
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd=3D"imapd -C /usr/local/etc/imapd.conf" =
listen=3D"imap"=20
prefork=3D0
# pop3 cmd=3D"pop3d" listen=3D"pop3" prefork=3D0
# pop3s cmd=3D"pop3d -s" listen=3D"pop3s" prefork=3D0
sieve cmd=3D"timsieved" listen=3D"sieve" prefork=3D0
# at least one LMTP is required for delivery
# lmtp cmd=3D"lmtpd" listen=3D"lmtp" prefork=3D0
lmtpunix cmd=3D"/usr/local/cyrus/bin/lmtpd"=20
listen=3D"/var/imap/socket/lmtp" prefork=3D0
# this is only necessary if using notifications
notify cmd=3D"notifyd" listen=3D"/var/imap/socket/notify"=20
proto=3D"udp" prefork=3D1
}
EVENTS {
# this is required
checkpoint cmd=3D"ctl_cyrusdb -c" period=3D30
# this is only necessary if using duplicate delivery suppression
delprune cmd=3D"cyr_expire -E 3" at=3D0400
# this is only necessary if caching TLS sessions
tlsprune cmd=3D"tls_prune" period=3D1440
}
And /usr/local/etc/imapd.conf
#
# $FreeBSD: ports/mail/cyrus-imapd2/files/imapd.conf,v 1.8 2002/08/08=20
14:06:48 ume Exp $
#
# Sample configurations file for Cyrus IMAPd
# Most lines in this file are commented; in this case the default is=20
used.
# The commented lines (usually) contain the default value
configdirectory: /var/imap
partition-default: /usr/local/imap
unixhierarchysep: yes
lmtp_downcase_rcpt: yes
imap_allowanonymouslogin: no
sieve_allowanonymouslogin: no
imap_allowplaintext: no
sieve_allowplaintext: yes
imapidresponse: yes
admins: cyrus toor
autocreatequota: -128
duplicatesuppression: yes
sendmail: /usr/local/sbin/sendmail
postmaster: postmaster
sieve_maxscripts: 15
sasl_maximum_layer: 256
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_auto_transition: yes
lmtpsocket: /var/imap/socket/lmtp
idlesocket: /var/imap/socket/idle
notifysocket: /var/imap/socket/notify
#
# EOF
In addition, check that you have the following directories created +=20
run the mkimap for creating the rest of directories/db's
Create the configuration directory specified by the "configdirectory"=20
option in "imapd.conf." The configuration directory is similar in=20
concept to the "/usr/lib/news" directory. It stores information about=20
the IMAP server as a whole.
This document uses the configuration directory "/var/imap" in its=20
examples. This directory should be owned by the cyrus user and group=20
and should not permit access to other users.
cd /var
mkdir imap
chown cyrus imap
chgrp mail imap
chmod 750 imap
Create the default partition directories specified in the=20
"/etc/imapd.conf" file.
This document uses a default partition directory of "/var/spool/imap"=20
in the following example:
cd /var/spool
mkdir imap
chown cyrus imap
chgrp mail imap
chmod 750 imap
Change to the Cyrus user and use the tool "tools/mkimap" to create the=20
rest of the directories (subdirectories of the directories you just=20
created).
su cyrus
tools/mkimap
exit
Hope this helps
-Reko=20
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"