8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier-MTA + Mys...
FromSent OnAttachments
Zdenek OttDec 12, 2003 6:34 am 
Julian MehnleDec 12, 2003 7:14 am 
PaeddyDec 12, 2003 1:22 pm 
PaeddyDec 12, 2003 1:23 pm 
list-subs1Dec 12, 2003 1:42 pm 
PaeddyDec 12, 2003 3:18 pm 
PaeddyDec 12, 2003 3:18 pm 
Sam VarshavchikDec 12, 2003 3:50 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier-MTA + Mysqlauth problemActions...
From:list-subs1 (list@algorhl.com)
Date:Dec 12, 2003 1:42:40 pm
List:net.sourceforge.lists.courier-users

Hi,

I believe the default setup for Courier should contain a valid authentication
module in the authmodelist file. On my system the file contains... [root@nakusp courier]# cat authmodulelist authdaemon

Then to tell Courier how you want to authenticate users, you select the
appropriate sub module in authdaemonrc. Not sure of correct terminology. :) sub module.

##NAME: authmodulelist:0 # authmodulelist="authmysql authpam"

Then if you use authmysql make sure that the authmysqlrc file is corectly setup
to access the database of your choice for storing the user names.

Hope this helps, Also please inform me of incorrect information. I am still learning. thanks

alan

---------- Original Message ---------------------------------- From: "Paeddy" <ma@paeddy.ch> Date: Fri, 12 Dec 2003 22:23:35 +0100

Hi,

i really have no idea why my authmysql won't work. i created all the database, all the tables etc and home dirs. i also adapted all files i found in the docs.

here some more infos

[root@www init.d]# ps -ef | grep auth root 23454 1 0 22:37 ? 00:00:00 /usr/lib/courier/libexec/authlib/authdaemond.mysql start root 23590 23454 0 22:38 ? 00:00:00 /usr/lib/courier/libexec/authlib/authdaemond.mysql start root 23672 4958 0 22:39 pts/1 00:00:00 grep auth [root@www init.d]#

[root@www init.d]# mysqlcheck -u mail -p maildb Enter password: maildb.domains OK maildb.users OK [root@www init.d]#

[root@www Maildir]# more /usr/lib/courier/etc/authmodulelist authmysql [root@www Maildir]#

[root@www init.d]# tail -f /var/log/maillog Dec 12 22:39:00 www imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1] Dec 12 22:39:00 www imapd: LOGIN, user=te@hitz.ch, ip=[::ffff:127.0.0.1], protocol=IMAP [root@www init.d]#

i really don't kwno what to do now. is there a way to debug the authmodule ? i tried several times to login directly with no success (se below).

[root@www etc]# telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See COPYING for distribution information. A login te@hitz.ch test A NO Login failed.

is there a website which describes a how to ? i made everything like it is described on http://www.tty1.net/virtual_domains_en.html but it seems that there is something different to my installation.

many thanks for your help