1 (edited by Quint 2013-02-04 19:49:13)

Topic: Can't login to admin UI after I changed postmaster password...

==== ==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS release 6.3
- Related log if you're reporting an issue:
====

It seems I've fallen foul of the same issue described here: http://www.iredmail.org/forum/topic4052 … sword.html

The difference being putting the postmaster user back in to the admin table within the vmail database doesn't appear to solve anything....

After attempting to change the postmaster password from the web front end the columns within the admin table looked like this:

+-------------------------+-----------------+------+-------+--------------------------+----------+
| Field                       | Type             | Null | Key  | Default                     | Extra   |
+-------------------------+-----------------+------+-------+--------------------------+----------+
| username                | varchar(255) | NO   | PRI   |                                |             |
| password                 | varchar(255) | NO   |        |                                |             |
| name                      | varchar(255) | NO   |        |                                |             |
| language                 | varchar(5)    | NO   |        | en_US                      |             |
| passwordlastchange | datetime      | NO   | MUL | 0000-00-00 00:00:00 |             |
| created                   | datetime      | NO   |        | 0000-00-00 00:00:00 |             |
| modified                 | datetime      | NO   |        | 0000-00-00 00:00:00 |             |
| expired                   | datetime      | NO   | MUL | 9999-12-31 00:00:00 |             |
| active                     | tinyint(1)     | NO   | MUL | 1                              |             |
+------------------------+-----------------+------+-------+--------------------------+-----------+

After my changes it now looks like this:

+-------------------------+-----------------+------+-------+------------------------------------------------+----------+
| Field                       | Type             | Null | Key  | Default                                                | Extra   |
+-------------------------+-----------------+------+-------+------------------------------------------------+----------+
| username                | varchar(255) | NO   | PRI   | postmaster@domain.com                      |             |
| password                 | varchar(255) | NO   |        | $1$JHJ.HjiU$/tBMiKP9Of04Uyf9isnOm0 |             |
| name                      | varchar(255) | NO   |        | postmaster                                            |             |
| language                 | varchar(5)    | NO   |        | en_US                                                   |             |
| passwordlastchange | datetime      | NO   | MUL | 2013-02-03 00:00:00                             |             |
| created                   | datetime      | NO   |        | 2013-01-09 00:00:00                             |             |
| modified                 | datetime      | NO   |        | 2013-02-03 00:00:00                             |             |
| expired                   | datetime      | NO   | MUL | 9999-12-31 00:00:00                            |             |
| active                     | tinyint(1)     | NO   | MUL | 1                                                         |             |
+------------------------+-----------------+------+-------+------------------------------------------------+-----------+

But I'm still getting the 'INVALID_CREDENTIALS' error when attempting to log in to the iredadmin webUI.

I've set the password as encrypted and unencrypted but neither seem to work.... help?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can't login to admin UI after I changed postmaster password...

So sorry about this trouble. Please apply patch mentioned below to solve this issue:
http://www.iredmail.org/forum/topic4052 … sword.html