Hello Oleg,

On Tue, 31 Jul 2012 17:50:19 +0200, Oleg Reich wrote:
Hi!

i cant change default password for admin@local, actually i can, but
then i cant log in as admin@local.
and if i create an user, he cant log in too :(

error is: Invalid email or password

i see the new user in mysql.

and yes, mailpiler was installed in another folder than /var
can it be a problem?

no, it doesn't matter

what tool is used to encrypt passwords?

the standard php crypt function

my system: Debian wheezy
mailpiler: 0.1.19
mysql: 5.5.24+dfsg-5
php: 5.4.4-2
apache2: 2.2.22-9


I suspect that the 48 character long `password` column is short.
Please issue the following sql statement:

alter table `user` change column `password` `password` char(64) default null;

then reset the admin password to 'pilerrocks' (without the quotes):

update `user` set password='$1$PItc7d$zsUgON3JRrbdGS11t9JQW1' where uid=0;

then login and change the password to your needs. Let me know if it works.

Best regards,
Janos


Reply via email to