If you didn't specify a location for the authdaemon.passwd program at compile time, I'd go looking in the config.log file in the courier source tree to determine where courier expects to find it. On my system, it resides in /usr/local/libexec/courier-imap/authlib. This is where all the other authdaemon* programs live as well. I'm using FreeBSD 4.8 and I installed courier-imap from the ports tree so my system might differ from yours in where it puts things.
I use userdb authentication myself and it works fine for me.
I don't know if it will be any help, but you can check out my web site which describes my mail system (including my courier and squirrelmail setups) in some detail. Go to http://www.arda.homeunix.net/mailsetup.shtml.
Andrew
Allien Nation wrote:
Andrew,
Im using Courier, Courier-MTA-0.44.0 which I specify in the mail earlier. It is okay by default right? So where should I copy the authdaemon.passwd to? The erros shwon seems like it reading the wrong directory is it? But I check the authdaemon.passwd in the error directory, the file is there.
Im using plain userdb for authentication.
I apply the authtest, as follows: # ./authtest USER PASSWD Authenticated: module authdaemon Home directory: /home/mail UID/GID: 501/502 Maildir: /home/mail/USER AUTHADDR=USER AUTHFULLNAME=<none>
# ./authtest USER PASSWD NEWPASSWD Authentication FAILED!
Any idea? Thanks.
Regards, Allien
Are you using courier or courier-imap? With courier-imap, you need to activate the password changing functionality of the authentication modules using thie option --with-authchangepwdir at compile time. Even if you do this, I've found that I still have to copy the authdaemon.passwd program to the location I specified with the above option.
Which authentication mechanism are you using; userdb, pam, postgresql?
Can you use the authtest program included with courier to change your password?
Andrew
Allien Nation wrote:
Hi all,
Im newbie for Squirrelmail. Im doing it in Solaris 9 using Courier-MTA-0.44.0. Im configuring Squirrelmail-1.4.2 Change Password plugin using courierpasswd-0.30. Fyi, Im using Tcpserver to manage it.
Everything seems okay. But when I trying to change password, I got the error as follows in my log file: Nov 19 19:48:47 xxx.yyy.zz courierpassd[2883]: [ID 435637 daemon.crit] authdaemon: failed to execute yes/authdaemon.passwd Nov 19 19:48:47 xxx.yyy.zz courierpassd[2882]: [ID 253890 auth.error] failed to change password for user Allien
This error keep appear once I changed password. I do 'telnet xxx.yyy.zz 106" and the result was as follows: 200 courierpassd v0.30 hello, who are you? user Allien 200 Your password please. pass ********* 200 Your new password please. newpass ******* 500 Server error, password not changed. Connection to xxx.yyy.zz closed by foreign host.
Anyone has fixed this before? or any idea or URL to solve this? Thanks.
Regards, Allien
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users