Finally, after a two weeks struggle, i managed to get the constellation
working.
With my last try i used "ltrace" to see whats going on in the libs, and i
saw that the daemon did something with the parameter DEFAULT_DOMAIN from the
authmysqlrc. So i activated the parameter, even though it didn't need it
till now, when i used the "normal" field-related parameters.
So these constellations work:
----------------------
##VERSION: $Id: authmysqlrc,v 1.14 2003/05/09 18:15:15 mrsam Exp $
MYSQL_SERVER 127.0.0.1
MYSQL_USERNAME courier
MYSQL_PASSWORD *******
MYSQL_PORT 3306
MYSQL_OPT 0
MYSQL_DATABASE mailuser
MYSQL_USER_TABLE user
MYSQL_CLEAR_PWFIELD passwd
MYSQL_UID_FIELD uid
MYSQL_GID_FIELD gid
MYSQL_LOGIN_FIELD id
MYSQL_HOME_FIELD home
MYSQL_QUOTA_FIELD quota_size
----------------------
or with the MYSQL_SELECT_CLAUSE
----------------------
##VERSION: $Id: authmysqlrc,v 1.14 2003/05/09 18:15:15 mrsam Exp $
MYSQL_SERVER 127.0.0.1
MYSQL_USERNAME courier
MYSQL_PASSWORD *******
MYSQL_PORT 3306
MYSQL_OPT 0
MYSQL_DATABASE mailuser
MYSQL_USER_TABLE user
#MYSQL_CLEAR_PWFIELD passwd
#MYSQL_UID_FIELD uid
#MYSQL_GID_FIELD gid
#MYSQL_LOGIN_FIELD id
#MYSQL_HOME_FIELD home
#MYSQL_QUOTA_FIELD concat(quota_size * 1024, "S")
DEFAULT_DOMAIN mydomain.net
MYSQL_SELECT_CLAUSE SELECT id,"",passwd,uid,gid,home,"",quota_size,"" \
FROM user
\
WHERE id = "$(local_part)"
----------------------
One suggestions for the maintainers:
Please add a little more description to the file like:
# If a $(domain) is empty (not given by the remote user) the default domain
# name is used in its place AND THE DEFAULT_DOMAIN MUST BE SET.
#
At least for me, it wasn't really clear what influence that parameter has.
Thanx for all the help, espec. to Rodrigo !
Roman B�rkle
-LINUX- sooner or later, we emulate you !
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users