I'm having some weird issues with authdaemond. What's happening is this:

Initially, I'm able to authenticate to the server and view my Inbox and, sometimes, a couple of other folders. Anything more than this and I get prompted to login again.

The login fails until I stop and restart authdaemond. Then the cycle repeats.

My /usr/lib/courier-imap/etc/authdaemonrc looks like this:

authmodulelist="authvchkpw relay-ctrl-allow"
authmodulelistorig="authcustom authcram authuserdb authvchkpw authldap authpam"
daemons=20 ( This was initially set to 5. I changed it to 20 to try and help with this problem--it didn't seem to.)
version=""
authdaemonvar=/usr/lib/courier-imap/var/authdaemon


My /usr/lib/courier-imap/etc/imapd looks like this:

ADDRESS=0
PORT=143
MAXDAEMONS=40
MAXPERIP=4
PIDFILE=/var/run/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
AUTHMODULES_ORIG="authdaemon"
DEBUG_LOGIN=0
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
IMAP_KEYWORDS=1
IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE"
IMAP_IDLE_TIMEOUT=60
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
IMAP_DISABLETHREADSORT=0
IMAP_CHECK_ALL_FOLDERS=1
IMAP_OBSOLETE_CLIENT=0
IMAP_ULIMITD=65536
IMAP_USELOCKS=0
IMAP_ENHANCEDIDEL=0
IMAP_TRASHFOLDERNAME=Trash
IMAP_MOVE_EXPUNGE_TO_TRASH=1
SENDMAIL=/usr/bin/sendmail
HEADERFROM=X-IMAP-Sender
IMAPDSTART=NO


This is how I start the daemon:
MAXIMAPD=`head -1 /var/qmail/control/concurrencyimap`
if [ -z "$MAXIMAPD" ]; then
    echo MAXIMAPD is unset in
    echo $0
    exit 1
fi
exec /usr/local/bin/tcpserver -R -H -x /etc/tcp.imap.cdb \
     -c "$MAXIMAPD" 0 143 \
     envdir /etc/relay-ctrl /usr/local/bin/relay-ctrl-chdir \
     /usr/lib/courier-imap/sbin/imaplogin \
     /usr/lib/courier-imap/libexec/authlib/authdaemon \
     /usr/local/bin/relay-ctrl-allow \
     /usr/lib/courier-imap/bin/imapd ./Maildir 2>&1




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to