Hey all

Im trying to setup a virtual domain mailserver but it simply won't work. I
made mysql log to sql.log and watched as I tried to login but nothing
happend in sql.log and the mailclient said I didn't have the right
username og password. Courier-imap wont query mysql. I've tried telneting:


$ telnet localhost 110
Trying ::1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user [EMAIL PROTECTED]
+OK Password required.
pass fake
-ERR Login failed.
quit
+OK Better luck next time.
Connection closed by foreign host.

As you can see, telnet gives the same error. And nothing happend in
sql.log. Im hoping you have had a simular proplem or can tell me how to
debug courier-imap. Im out of ideas. I've also tried to compile
courier-imap several different ways but always get the same thing. The
config files look fine to me, authmysql is in authmodulelist and
authmodulelistorig:

root@office:/usr/local/etc/courier-imap# grep authmodulelist authdaemonrc
##NAME: authmodulelist:0
authmodulelist="authmysql authpam"
##NAME: authmodulelistorig:1
authmodulelistorig="authcustom authuserdb authmysql authpam"

Im running a freebsd 4.7-stable and used ports
/usr/ports/mail/courier-imap) to install courier-imap. And I used this
parameter: make install WITH_MYSQL=yes WITHOUT_OPENSSL=yes (This worked on
the other server).

I hope I've provided you with enough information to be able to tell me
something. :)

root@office:/usr/local/libexec/courier-imap/authlib# ls -lh
total 118
-r-xr-xr-x  1 root  wheel    15K Jan 13 11:17 authdaemon
-rwxr-xr-x  1 root  wheel   408B Jan 13 11:17 authdaemond
-r-xr-xr-x  1 root  wheel    55K Jan 13 11:17 authdaemond.mysql
-r-xr-xr-x  1 root  wheel    42K Jan 13 11:17 authdaemond.plain


Thanks in advance
Greets!
J�l�us




-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to