Hi. Thank you for the config, it differs from what you posted before!
Am Donnerstag, 29. März 2007 schrieb James Homuth: > MYSQL_HOME_FIELD /home/vmail/$(domain)/$(local_part)/ As I wrote before, this can never work as this is a FIELD(-name) here and not a value. So it's passed to mysql without being quoted. This confuses mysql. I didn't try for myself but your SQL log shows that authdaemon either does *NOT* substiture variables in these field statements but only in a custom MYSQL_SELECT_CLAUSE or that authdaemon substitutes variables only in a quoted string. Please try two things: 1. Simply quote you home field: MYSQL_HOME_FIELD '/home/vmail/$(domain)/$(local_part)/' if this does not work (I didn't try), I would recommand this: 2. Build a new MYSQL_SELECT_CLAUSE upon the Query authdaemon issues at the moment with proper quotations. Try this MYSQL_SELECT_CLAUSE SELECT email, password, '', 5000, 5000, \ '/home/vmail/$(domain)/$(local_part)/', '', '', '', '' \ FROM users WHERE email = '$(local_part)@$(domain)' I wonder why the AUXOPTIONS-Field is not evaluated. I left it out because I think you can debug that if the other things are running. An important note for debugging: run the mysql command line interpreter with the same login credentials as used in authmysqlrc and run the mysql query from the logfile in it when you encounter errors. MySQL will tell you what's wrong or give you the same results that authdaemon gets and you'll propably see what's wrong. cu, Bernd -- In Binärzahlen zu zählen geht genauso wie in Dezimalzahlen zählen, nur daß man dafür nur die Daumen braucht.
pgp7h90goCtSB.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users