View Issue Details

IDProjectCategoryView StatusLast Update
0005225SOGoBackend Mailpublic2020-12-11 17:23
Reportergpapaiko Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSUbuntuOS Version16.04 LTS
Product Version4.3.2 
Summary0005225: support for custom global variables in the a multi domain environment
Description

Hi,
on ubuntu 20.04lts
Sogo version 4.3.2
==== BASIC INFO OF YOUR IREDMAIL SERVER ====

  • iRedMail version (check /etc/iredmail-release): 1.3.1 MARIADB edition.
  • Linux/BSD distribution name and version: ubuntu 20.04
  • Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
  • Web server (Apache or Nginx): Nginx
  • Manage mail accounts with iRedAdmin? Yes, iRedAdmin 1.2

Looking for some help, I have a multi domain ( 2 domaina st the moment, and 3rd one is expected soon) email server setup, and all is working well, each domain has it's own url to log in like mail.domain2.com, mail.domain2.com, mail.domain3.com.

I am now trying to seup SOGO to use mutiple domians but only for a couple of the sogo options like SOGoPageTitle and SOGoFaviconRelativeURL so as they are domain specific.

The user and login configurations are common to all domains for now, unless I ahve to change them to make this work.

DOMAIN1
URL: https://mail.domain1.net
user id: user@domain1.net

DOMAIN2
URL: https://mail.domain2.info
user id: user@domain2.info

I have changed the login module to see if this works.
This is what I have done so far but does not seem to work.

domains = {
domain1.net = {
SOGoMailDomain = domain1.net;
SOGoLoginModule = Calendar;
SOGoPageTitle = "INS .NET Email";
SOGoFaviconRelativeURL = "https://mail.domain1.net/img/favicon.png";
id = INS_NET;
};
domain2.info = {
SOGoMailDomain = domain2.info;
SOGoLoginModule = Mail;
SOGoPageTitle = "INS .INFO Email";
SOGoFaviconRelativeURL = "https://www.domain2.net/img/favicon.png";
id = INS_info;
};
};

Can some please tell me what I am missing to make this work?

Also as side question is it possible to change the logo and colors on the login page based on the domain, if not possible, then how can they be changed to a non-branded logo and different color shceme.

Thanks in advance for your help.

George

TagsNo tags attached.

Activities

francis

francis

2020-12-11 17:23

administrator   ~0014989

SOGoPageTitle and SOGoFaviconRelativeURL are system-wide and not configurable per domain. See installation guide.

If you want to change the logo of the login page depending on the hostname, you'll need to modify your virtual hosts and create different alias for /SOGo.woa/WebServerResources/img/sogo-full.svg.

Issue History

Date Modified Username Field Change
2020-11-26 02:22 gpapaiko New Issue
2020-12-11 17:23 francis Note Added: 0014989