On 08/Jul/11 10:23, kajani kaunda wrote: > I want to allow users who login using a non-fully qualified email > address like: > > 'john' > > and NOT > > '[email protected]' > > to be able to change their passwords FROM the sqwebmail interface. > > as of now it throws the following error when you try to change the > password: > > ERROR: Unable to change password. Possible reasons why you cannot > change the password are: > You did not enter the old password correctly > You did not enter the new password twice correctly > Your new password is too short, or is based on a dictionary word, and > short/dictionary-based passwords are not allowed > Your new password contains forbidden characters
(I don't have those strings. Perhaps they're Debian-specific.) > I have the following configuration in my authmysqlrc file which works > fine when users login with '[email protected]': > > MYSQL_CHPASS_CLAUSE UPDATE mailuser SET password='$(newpass_crypt)' > WHERE username='$(local_part)' AND domain='$(domain)' Did you set DEFAULT_DOMAIN in authmysqlrc? That string should end up in $(domain) in case there is no "@" in the string typed by the user. You have to set DEBUG_LOGIN to 2 in authdaemonrc to see the password queries before they are issued. hth ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
