When emerging dev-libs/cyrus-sasl, the ebuild copies the file saslauthd.conf into /etc/conf.d/saslauthd. This file by default forces the SASLAUTHD_OPTS variable to include a -T flag, which according to saslauthd is invalid and prevents the daemon from starting: usage: saslauthd [options] option information: -a <authmech> Selects the authentication mechanism to use. -c Enable credential caching. -d Debugging (don't detach from tty, implies -V) -O <option> Optional argument to pass to the authentication mechanism. -l Disable accept() locking. Increases performance, but may not be compatible with some operating systems. -m <path> Alternate path for the sslauthd working directory, must be absolute. -n <procs> Number of worker processes to create. -s <kilobytes> Size of the credential cache (in kilobytes) -t <seconds> Timeout for items in the credential cache (in seconds) -v Display version information and available -V Enable verbose logging authentication mechanisms and exit. -h Dispaly this message. Reproducible: Always Steps to Reproduce: 1. emerge cyrus-sasl Actual Results: saslauthd doesn't start Expected Results: saslauthd should start Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi cups encode gif jpeg libg++ libwww mikmod mmx ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga tcltk java guile sdl gpm tcpd pam perl python esd imlib oggvorbis motif opengl gphoto2 cdr X gtk gnome ssl sasl crypt mozilla mpeg kde qt" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I have made an saslauthd.conf-2.1 which looks like this... # Authentications mechanism (for list see saslauthd -v) SASL_AUTHMECH=pam # Put any other startup options here SASL_DAEMON_OPTS="" # Tack the above options together [ -n ${SASL_AUTHMECH} ] && \ SASLAUTHD_OPTS="-a ${SASL_AUTHMECH}" [ -n ${SASL_DAEMON_OPTS} ] && \ SASLAUTHD_OPTS="${SASLAUTHD_OPTS} ${SASL_DAEMON_OPTS}" The remote imap option is also no longer available so removed that line as well.