HI,

i reinstalled the whole courier and now it works but i don't knwo why. after
reinstall i had no file called

vi /usr/lib/courier/etc/authdaemonrc

so i copied /usr/lib/courier/etc/authdaemonrc.dist to
/usr/lib/courier/etc/authdaemonrc

when im using no the webadmin tool i dont have any entries in section
"password authentication modules" but at least the mysql authentication
works.

i will redo all the installation tomorrow to check if i can reproduce the
situation


----- Original Message ----- 
From: "list-subs1 " <[EMAIL PROTECTED]>
To: "Courier-Users" <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 10:42 PM
Subject: Re: [courier-users] Courier-MTA + Mysqlauth problem


> Hi,
>   I believe the default setup for Courier should contain a valid
authentication module in the authmodelist file.  On my system the file
contains...
> [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]>
> 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
> >
> >[EMAIL PROTECTED] 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
> >[EMAIL PROTECTED] init.d]#
> >
> >[EMAIL PROTECTED] init.d]# mysqlcheck -u mail -p maildb
> >Enter password:
> >maildb.domains                                     OK
> >maildb.users                                       OK
> >[EMAIL PROTECTED] init.d]#
> >
> >[EMAIL PROTECTED] Maildir]# more /usr/lib/courier/etc/authmodulelist
> >authmysql
> >[EMAIL PROTECTED] Maildir]#
> >
> >[EMAIL PROTECTED] 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, [EMAIL PROTECTED],
ip=[::ffff:127.0.0.1],
> >protocol=IMAP
> >[EMAIL PROTECTED] 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).
> >
> >[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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
> >
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: IBM Linux Tutorials.
> >Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> >Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> >_______________________________________________
> >courier-users mailing list
> >[EMAIL PROTECTED]
> >Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to