> Hi Suley > > [..] > > > Here is /etc/pam.d/imap > > --------------------------- > > auth sufficient pam_mysql.so user=mail passwd=secret > > host=localhost db=mail table=accountuser usercolumn=username > > passwdcolumn=password crypt=0 > > auth required pam_mysql.so user=mail passwd=secret > > host=localhost db=mail table=accountuser usercolumn=username > > passwdcolumn=password crypt=0 > > I guess, you have CRYPT=1 in config.inc.php and crypt=0 in pam.d > If so, please change pam.d/imap to crypt=1 and encrypt the > password in the mysql-db with ENCRYPT("secret") > > Should help :-) > > rgds > > Luc >
Yes Luc thats right i have CRYPT=1 in config.inc.php But thats another problem because imtest has nothing to do with config.inc.php in pam.d/imap i have CRYPT=0 and i have password 'secret' in clear text for the user cyrus in accountusers table. Suley