26

Re: Hi wish to use iRedMail for all my needs

Thanks for directing me to install mod_wsgi for Apache, it is enabled.

I went through "Change server hostname" document and noticed that my configuration for apache shows no hostname. I understand that I installed apache after iRedMail which was previously configured with nginx. Should I just go back to that configurations and add an entry for my hostname and its FQDI ? Right now it is impossible to access any iRedMail-based web output.

My configurations for awstats and SOGo are blank. Should I install them via yum ?

----

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

27

Re: Hi wish to use iRedMail for all my needs

rroopstr wrote:

Should I just go back to that configurations and add an entry for my hostname and its FQDI ?

Update your Apache config file to use a FQDN.

rroopstr wrote:

My configurations for awstats and SOGo are blank. Should I install them via yum ?

*) You should install Awstats manually, it's not installed if you choose Nginx.
*) if you didn't choose to install SOGo during iRedMail installation, you have to install it manually.

28 (edited by rroopstr 2016-05-24 19:57:57)

Re: Hi wish to use iRedMail for all my needs

I updated apache configuration as follows:
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName ns1.riverocooper.com:80

However, both
https://ns1.riverocooper.com/mail/
https://ns1.riverocooper.com/iredadmin/
ERR_CONNECTION_REFUSED

and
http://ns1.riverocooper.com/mail/
http://ns1.riverocooper.com/iredadmin/
Not Found
The requested URL /mail/ was not found on this server.

29

Re: Hi wish to use iRedMail for all my needs

rroopstr wrote:

ERR_CONNECTION_REFUSED

Looks like SSL cert issue.
*) Is Apache listening on port 443?
*) Do the URLs work with other web browser? Google Chrome, Firefox, Mac Safari, etc.

30

Re: Hi wish to use iRedMail for all my needs

ZhangHuangbin wrote:
rroopstr wrote:

ERR_CONNECTION_REFUSED

Looks like SSL cert issue.
*) Is Apache listening on port 443?
*) Do the URLs work with other web browser? Google Chrome, Firefox, Mac Safari, etc.

It wasn't. I just configured it to listen to 443 besides 80.
Now URLS give a different error message:
on chrome: ERR_SSL_PROTOCOL_ERROR
on Explorer: please activate TLS 1.0, TLS 1.1 y TLS 1.2 from advanced configuration... (they are already active)

31

Re: Hi wish to use iRedMail for all my needs

No idea yet.

I wonder whether it's possible for you to reinstall the server with iRedMail + Apache, it might be easier.

32

Re: Hi wish to use iRedMail for all my needs

Yes I would be willing to do that. I saved my sites-available configuration for easy reload. Would I just need to reinstall iRedMail over the already installed version?

33

Re: Hi wish to use iRedMail for all my needs

Reinstall server OS, then install iRedMail .

34

Re: Hi wish to use iRedMail for all my needs

Thanks. I reinstalled server OS and IRedMail. Now I can log in roundcube and iRedAdmin on Apache. However awstats asks many times fore username and password, I supply the same info as in roundcube and iRedAdmin and it doesn't accept. I also received an email on my postmaster account about that issue:

Cron <root@mlp> /usr/bin/perl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=smtp -update >/dev/null
Foto del contacto
De    (Cron Daemon) <root@localhost.localdomain>Add contact    Fecha    Hoy 08:01
Cuerpo del mensaje
sh: /var/log/maillog: No such file or directory

35

Re: Hi wish to use iRedMail for all my needs

rroopstr wrote:

However awstats asks many times fore username and password

Please reset your password to a salted MD5 hash. FYI:
http://www.iredmail.org/docs/reset.user.password.html