Hello courier-users,
[At the end is my configuration]
I'm really tired of searching right now. I can't find the reason why
my courier-imap doesn't wan't to accept connections. I googled over
24h right now :/
I have tried the advanced mysql-log and found out, that courier
doesn't query anything.
If I run
s01:# /usr/local/version/courier/1.7.0/libexec/imapd.rc start &
[5] 2393
courier-imap starts and I can watch it.
<1 time>
/usr/local/version/courier/1.7.0/libexec/couriertcpd
-address=62.80.[right].[ip]
-stderrlogger=/usr/local/version/courier/1.7.0/libexec/courierlogger
-stderrloggername=imapd -maxprocs=40 -maxperip=4
-pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143
/usr/local/version/courier/1.7.0/sbin/imaplogin
/usr/local/version/courier/1.7.0/libexec/authlib/authdaemon
/usr/local/version/courier/1.7.0/bin/imapd Maildir
<10 times>
/usr/local/version/courier/1.7.0/libexec/authlib/authdaemond.mysql start
<1 time>
/usr/local/version/courier/1.7.0/libexec/courierlogger imapd
But I can't connect.
If I run
/usr/local/version/courier/1.7.0/libexec/authlib/authdaemon start &
[5] 3702
AUTHFAILURE
[5] Exit 1 /usr/local/version/courier/1.7.0/libexec/authlib/authdaemon start
then there is an AUTHFAILURE.
There are no entries in mail.* (I set DEBUG=2)
Can anyone help me? Thanks in advance!
System: Suse 7.1
Auth: MySQL (3.23.54a)
Config: ./configure \
--prefix=/usr/local/version/courier/1.7.0 \
(I tried the standard prefix too, but it isn't working either.)
--with-authmysql \
--without-certdb \
--without-authpam \
--without-authldap \
--without-authpwd \
--without-authpgsql \
--without-authvchkpw \
--without-authcram \
--with-authdaemon \
--without-authcustom
make
make check
su root
make install
This Config ist working perfect on an other system with the same
database but Debian 3.0.
Of course there is enough cpu-speed and RAM
Real memory: 522792 kB total / 378856 kB free
Swap space: 530136 kB total / 528972 kB free
<imapd>
ADDRESS=62.80.[right].[ip] (also tried: 0)
PORT=143
MAXDAEMONS=40
MAXPERIP=4
PIDFILE=/var/run/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
AUTHMODULES="authdaemon"
AUTHMODULES_ORIG="authdaemon"
DEBUG_LOGIN=2
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE"
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=0
IMAP_OBSOLETE_CLIENT=0
IMAP_ULIMITD=65536
IMAP_USELOCKS=0
IMAP_ENHANCEDIDLE=0
IMAP_TRASHFOLDERNAME=Trash
IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0
SENDMAIL=/var/qmail/bin/sendmail
HEADERFROM=X-IMAP-Sender
IMAPDSTART=YES
<authmysqlrc>
MYSQL_SERVER localhost
MYSQL_USERNAME <correctusername>
MYSQL_PASSWORD <correctpassword>
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_PORT 3306
MYSQL_OPT 0
MYSQL_DATABASE vadmin <correct>
MYSQL_USER_TABLE pop3 <correct>
MYSQL_CRYPT_PWFIELD password <correct>
# DEFAULT_DOMAIN example.com
#MYSQL_UID_FIELD uid
#MYSQL_GID_FIELD gid
MYSQL_LOGIN_FIELD login
MYSQL_HOME_FIELD home
#MYSQL_NAME_FIELD name
# MYSQL_MAILDIR_FIELD maildir
# MYSQL_QUOTA_FIELD quota
# MYSQL_WHERE_CLAUSESE server='mailhost.example.com'
<authdaemonrc>
authmodulelist="authmysql"
authmodulelistorig="authuserdb authmysql authshadow"
daemons=10 <tried also fewer>
version="authdaemond.mysql" <tried also "">
authdaemonvar=/usr/local/version/courier/1.7.0/var/authdaemon
Thanks in advance!
Hannes
--
## name: Hannes Minimair ## Nokia: http://dcgmn.xinfo.net/ ##
## ripe: mini-ripe ## Siemens: http://dcgms.xinfo.net/ ##
## mail: [EMAIL PROTECTED] ## Webspace: http://dcpw.xinfo.net/ ##
## web: http://www.xinfo.net/ ## ##
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users