Im really in need of help here. I've already browsed half google to see if
anybody has had the same proplem but with no resault :). If anybody would
be so kind as to answer me, I would greatly appreciate it!
-------- Original Message --------
Titill: [courier-users] Courier-imap won't query mysql at localhost
Frá: <ber...@imi.is>
Dagsetning: Mon, janúar 13, 2003 2:21 pm
Til: <cour...@lists.sourceforge.net>
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 fake...@office.imi.is
+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"
version="authdaemond.mysql"
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