The start/stop script included with courier-imap for the authdaemon is broken. it tries to start the authdaemon using start-stop-daemon --pidfile looks like authdaemon is started in two steps so the reported pid-file is wrong. dirty fix: start() { checkconfig || return 1 setauth ebegin "Starting ${AUTHDAEMOND}" # PID is broken # start-stop-daemon --quiet --start --exec \ # /usr/bin/env - "${AUTHLIB}/${AUTHDAEMOND}" start # -m --pidfile /var/run/authdaemon.pid # start-stop-daemon -x "${AUTHLIB}/${AUTHDAEMOND}" --start --exec \ /usr/bin/env - "${AUTHLIB}/${AUTHDAEMOND}" start eend $? } stop() { setauth ebegin "Stopping ${AUTHDAEMOND}" # PID is broken # start-stop-daemon --quiet --stop \ # --pidfile /var/run/authdaemon.pid start-stop-daemon --quiet --stop \ -x "${AUTHLIB}/${AUTHDAEMOND}" eend $? }
You appear to have old version of the init scripts. The newest init scripts reference the proper "/var/lib/courier-imap/authdaemon/pid" file... emerge rsync rm /etc/init.d/authdaemon mv /etc/courier-imap /root/courier-config-backup (so new config files can be installed) emerge courier-imap emerge clean Let me know how things go.
my version was: 1.5.1 emerge rsync version available is still 1.5.1 *hm* anyhow rebuilding... it's working.