Hi, Here are some of the things I had to do to get cyrus2-imapd happier (though I still can't connect via POP3 to check my mailbox):
- mkdir /var/lib/cyrus/socket/ (should be included in one of the debian/*.dirs files) - add the following "missing" services to /etc/services (note: may not want to add all of them; not sure if they're needed to run pop3d/imapd immediately): imsp 406/tcp # cyrus acap 674/tcp # cyrus sieve 2000/tcp # cyrus lmtp 2003/tcp # cyrus fud 4201/udp # cyrus - mkdir /var/lib/cyrus/db/ (may need to include in debian/*.dirs file(s)) - attached cyrus2-imapd-2.0.16-0.pre2-fix-rules.diff to fix error messages the first time the package is built when config.sub and config.guess are not executable (could also be fixed by prefixing config.sub and config.guess with "sh ") - attached is example /etc/init.d/cyrmaster startup file I wrote to start /usr/sbin/cyrmaster - Ran the ./tools/mkimap program (from the source directory) to create /etc/sieve/* directories and other directories Note that I can NOT connect via POP3 to my local account (created by "cyradm"), although I was able to create a local user.ddkilzer account after running ./tools/mkimap. Also, it takes /usr/sbin/cyrmaster over 2 minutes to start up when running "/usr/sbin/ctl_mboxlist -r". I think this may be a result of mixing libdb2 and libdb3 dependencies on some of the cyrus2-imapd binaries. I will focus on this problem next. Dave
diff -u cyrus2-imapd-2.0.16/debian/rules.orig cyrus2-imapd-2.0.16/debian/rules --- cyrus2-imapd-2.0.16/debian/rules.orig Wed Oct 10 18:30:19 2001 +++ cyrus2-imapd-2.0.16/debian/rules Wed Oct 10 18:36:47 2001 @@ -52,6 +52,7 @@ # autotools-dev (for /usr/share/misc/config.*) and debscripts (for dch) # It's also a .PHONY make target. autotools: + chmod 0755 config.sub config.guess ;\ OLDDATESUB=`./config.sub -t | tr -d -` ;\ OLDDATEGUESS=`./config.guess -t | tr -d -` ;\ NEWDATESUB=`/usr/share/misc/config.sub -t | tr -d -` ;\
#! /bin/sh # /etc/init.d/cyrmaster: start the cyrus master daemon. test -f /usr/sbin/cyrmaster || exit 0 # Options for start/restart the daemons # For ... use CYRMASTER="..." # CYRMASTER="" case "$1" in start) echo -n "Starting cyrus master daemon: cyrmaster" start-stop-daemon --start --quiet --background --exec /usr/sbin/cyrmaster --make-pidfile --pidfile /var/run/cyrmaster.pid -- $CYRMASTER echo "." ;; stop) echo -n "Stopping cyrus master daemon: cyrmaster" start-stop-daemon --stop --quiet --exec /usr/sbin/cyrmaster --pidfile /var/run/cyrmaster.pid echo "." ;; reload|force-reload) start-stop-daemon --stop --quiet --signal 1 --exec /usr/sbin/cyrmaster --pidfile /var/run/cyrmaster.pid ;; restart) echo -n "Stopping cyrus master daemon: cyrmaster" start-stop-daemon --stop --quiet --exec /usr/sbin/cyrmaster --pidfile /var/run/cyrmaster.pid sleep 1 echo -n "Starting cyrus master daemon: cyrmaster" start-stop-daemon --start --quiet --background --exec /usr/sbin/cyrmaster --make-pidfile --pidfile /var/run/cyrmaster.pid -- $CYRMASTER echo "." ;; *) echo "Usage: /etc/init.d/cyrmaster {start|stop|reload|restart|force-reload}" exit 1 esac exit 0