1

Topic: Making SOGo Default webmail

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CentOS Linux release 7.2.1511 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? : Yes
- Related log if you're reporting an issue:
====

Apologies, I tried searching in forum but not getting relevant answers.

I would like to redirect default webmail from roundcube to SOGo but its not happening.

I changed following: FILE: /etc/httpd/conf.d/SOGo.conf

  RequestHeader set "x-webobjects-server-port" "443"
  RequestHeader set "x-webobjects-server-name" "192.168.1.10"
#%{HTTP_HOST}e" env=HTTP_HOST
  RequestHeader set "x-webobjects-server-url" "https://192.168.1.10"

Its not working.

Changed: FILE: /etc/httpd/conf.d/SOGo.conf
ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
to
ProxyPass / http://127.0.0.1:20000/SOGo retry=0
and
ProxyPass /mail http://127.0.0.1:20000/SOGo retry=0

Above not working

Changed :  /var/www/html/index.html

<html>
    <head>
        <meta HTTP-EQUIV="REFRESH" content="0; url=/SOGo/">
    </head>
</html>

but not working.

Please help me out on this.

----

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

2

Re: Making SOGo Default webmail

Check file /etc/httpd/conf.d/ssl.conf, there's "Alias" directive used to redirect '/mail' to Roundcube, you can use a different url (e.g. /roundcube) for Roundcube, and use /mail for SOGo.

3

Re: Making SOGo Default webmail

Hi Zhang,

I am seeing following:

Alias /iredadmin/static "/var/www/iredadmin/static/"
WSGIScriptAlias /iredadmin "/var/www/iredadmin/iredadmin.py/"
Alias /mail "/var/www/roundcubemail/"
Alias /awstats/icon "/usr/share/awstats/wwwroot/icon/"
Alias /awstatsicon "/usr/share/awstats/wwwroot/icon/"
ScriptAlias /awstats "/usr/share/awstats/wwwroot/cgi-bin/"


What path I have to assign to redirect https://mydomain.com to SOGo? I do not want to use /mail in URL just want to use the domain name itself.