1

Topic: unable to access iRedMail on server after SSL install

Hi there, I've been running iRedMail on my Ubuntu server for the past several years with no problem. I used to access iRedMail by typing:

https://my.IP.add.ress/iredadmin

however this was before I had any domains with SSL installed. A couple of months ago, I had to upgrade some of the domains on the server to HTTPS on port 443 using BIND. Once this had been done, I discovered that I was no longer able to access iredadmin as it defaulted to the first configured port 443 in my domain list.

Is there a way to change the address of my login so that I can access iRedMail? The only way that I can see to access this is to unBIND all of the domains on port 443, but this is not a simple task. I'm desperate to configure some email accounts.

I have looked for settings in WebMin, but I cannot find anything that is obvious. I am not a server programmer.

If you can help me out or point me in the right direction, I'd be very grateful

Thanks

Rob

----

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

2

Re: unable to access iRedMail on server after SSL install

I've been looking at my Webmin control panel and I've sussed out that the mail is being controlled by :

Dovecot IMAP/POP3 Server

if this is of any help...

3

Re: unable to access iRedMail on server after SSL install

Each time you create a new forum topic, please share basic info of your iRedMail server, so that we can give you FASTER and more ACCURATE answer, this info is used to help you, not for sharing any privacy of your server.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Question for you:

- Which web server do you use? Apache or Nginx?
- With Nginx, you just need to add one line to include nginx config snippet (/etc/nginx/templates/iredadmin.tmpl) in the virtual web host config, then you can access it via https://<web-domain>/iredadmin

4

Re: unable to access iRedMail on server after SSL install

Hi there, thanks for getting back to me. I was unable to post the details of iRedAdmin setup because I am unable to access the program to get the details. I can tell you about my server though:

Operating system: Ubuntu Linux 12.04.2
It is running Webmin 1.900
I presume that the Webserver is Apache

I did not setup the server (I am a front-end programmer and designer) and I am no longer in touch with the guy that initially did it, which has been problematic.

That's about all I can gather really. As I mentioned before, I used to access iRedAdmin via https://my.ip.add.ress/iredadmin/, but since adding SSL security to various sites, it now defaults to the first domain in BIND with SSL

If you can help me out, I'd be really grateful

Thanks

Rob

5

Re: unable to access iRedMail on server after SSL install

robbiec255 wrote:

Operating system: Ubuntu Linux 12.04.2

Ubuntu 12.04 LTS is end-of-life: https://www.ubuntu.com/about/release-cycle
It's better migrate to a new server.

robbiec255 wrote:

used to access iRedAdmin via https://my.ip.add.ress/iredadmin/, but since adding SSL security to various sites, it now defaults to the first domain in BIND with SSL

Check files under /etc/apache2/conf.d/, it should contain path "/iredadmin" related (2) config lines, copy them to your virtual web host config file, then it should be fine.

6

Re: unable to access iRedMail on server after SSL install

Hi there Zhang, I have been trying to find these settings on the server but I am totally at a loss as to where I am looking.

Am I looking for /etc/apache2/conf.d/ as a setting in Webmin?

In Webmin Filemanager, I have found the above file (iredadmin.conf). It reads:

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

<Directory /usr/share/apache2/iredadmin/>
    Order allow,deny
    Allow from all
</Directory>

Am I going along the right lines?

7

Re: unable to access iRedMail on server after SSL install

Check the Apache config file which configures the https host, make sure you have iRedAdmin related settings in it. For example:

Alias /iredadmin/static "/opt/www/iredadmin/static/"
WSGIScriptAlias /iredadmin "/opt/www/iredadmin/iredadmin.py/"