Arnaud JAYET writes:

Hello

i 've updated today my imap server (security update) with the courier's following packages :

courier-authdaemon courier-authlib courier-authlib-mysql courier-authlib-userd

the current version is now : courier-authlib-mysql 0.58-4+etch2
(before it was 0.58-4)

since this update, i can't no longer connect to my imap server. I have turned on debugging (debug=2 in the authdaemonrc file) and i see that my MYSQL query were added an '@' character at the end of the 'login' fieldname used in my MySQL query to get user password.

syslog debug :

bart authdaemond: SQL query: SELECT login, UnixCryptPassword, "", '201', '201', maildir, maildir, mailquota, "", "" FROM users WHERE login = 'lsalza@'

i dont' manage serveral email domains, so my users IMAP logins are just the first initial of their firstname followed by their lastname. for example 'lsalza'.


note : DEFAULT_DOMAIN is commented out in my 'authmysqlrc' config file.


How can i remove/avoid this append of the '@' character in the SQL query please ?

Thank you for you help

You need to post the entire contents of your authmysqlrc file.

Attachment: pgpcwL4JkACVH.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to