1 (edited by aav 2016-09-21 04:18:01)

Topic: Awstats. username and password do not match from iRedMail.tips

======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 14.04.4 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
in /root/iRedMail-0.9.5-1/iRedMail.tips after installing iRedMail

Awstats:
    * Configuration files:
        - /etc/awstats
        - /etc/awstats/awstats.web.conf
        - /etc/awstats/awstats.smtp.conf
        - /etc/apache2/conf-available/awstats.conf
    * Login account:
        - Username: postmaster@mydomain.com, password: MyPassword
    * URL:
        - [url]https://mydomain.com/awstats/awstats.pl[/url]
        - [url]https://mydomain.com/awstats/awstats.pl?config=web[/url]
        - [url]https://mydomain.com/awstats/awstats.pl?config=smtp[/url]

but the username and password do not match. I can not be authorized. How to fix it?

----

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

2

Re: Awstats. username and password do not match from iRedMail.tips

Apache doesn't support SSHA512 password hash, you have to reset postmaster's password to MD5.

3

Re: Awstats. username and password do not match from iRedMail.tips

ZhangHuangbin wrote:

Apache doesn't support SSHA512 password hash, you have to reset postmaster's password to MD5.

I reset the postmaster's password in the MD5, then in Plain text. Still does not allow login to the Awstats (now I can not login to Roundcube Webmail as postmaster)
I return the password in {SSHA}(now I can login to Roundcube Webmail as postmaster).

Before reset password I learn this

What else do you recommend?

4

Re: Awstats. username and password do not match from iRedMail.tips

Set to salted MD5 should work with Awstats. Did you use a prefix "{CRYPT}" in password?

5

Re: Awstats. username and password do not match from iRedMail.tips

How can I get salted MD5 ?

6

Re: Awstats. username and password do not match from iRedMail.tips

aav wrote:

I reset the postmaster's password in the MD5

How did you reset its password?

aav wrote:

How can I get salted MD5 ?

http://www.iredmail.org/docs/reset.user.password.html

7

Re: Awstats. username and password do not match from iRedMail.tips

Thank you! I misunderstood, "salted" and "...with a prefix: {CRYPT}"
Without prefix everything works well.
Thanks again!