View Issue Details

IDProjectCategoryView StatusLast Update
0002626SOGowith SOGopublic2016-05-06 20:12
Reporterobnox Assigned Toludovic  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionsuspended 
PlatformLinuxOSUbuntuOS Version12.04
Product Version2.2.0 
Summary0002626: Vacation/Forward/SieveScripts/SieveServer DOMAIN prefs only taken from SYSTEM prefs
Description

I had some hard time trying to figure out why I couldn't see the "Vacation" tab in my users prefs.

My SOGo installation handles 2 domains with different settings for services (IMAP/SMTP/LDAP) and everything needed to reach these services are set inside DOMAIN blocs in configuration /etc/sogo/sogo.conf.

Everything works fine for each domain for SOGoSMTPServer and SOGoIMAPServer but not for SOGoVacationEnabled, SOGoForwardEnabled, SOGoSieveScriptsEnabled and SOGoSieveServer !

I had to define them in the SYSTEM bloc (ie: outside a DOMAIN bloc) to have them set! Even if these settings are defined in a DOMAIN bloc, they keep their default values, that's why I couldn't get the related tabs in the "Preferences" window and why SOGo tried to connect to the sieve server at "localhost:2000" which is not the correct setting in my configuration.

As I handle at least 2 domains (with more to come) with very different settings for everything (IMAP/SMTP/LDAP/SIEVE/etc), this is obviously a major issue :-(

TagsNo tags attached.

Activities

obnox

obnox

2014-03-06 03:40

reporter   ~0006646

No reaction ?

Nobody uses SOGo in a multi domain environment ?

ludovic

ludovic

2016-05-06 20:12

administrator   ~0010071

Looking at the code, those prefs are ALL coming from the DOMAIN prefs handler:

root@sogo:/home/sogo/SOGo# egrep "(SOGoVacationEnabled|SOGoSieveScriptsEnabled|SOGoForwardEnabled|SOGoSieveServer)" -r SoObjects/
SoObjects/SOGo/SOGoDomainDefaults.m: return [self stringForKey: @"SOGoSieveServer"];
SoObjects/SOGo/SOGoDomainDefaults.m: return [self boolForKey: @"SOGoSieveScriptsEnabled"];
SoObjects/SOGo/SOGoDomainDefaults.m: return [self boolForKey: @"SOGoForwardEnabled"];
SoObjects/SOGo/SOGoDomainDefaults.m: return [self boolForKey: @"SOGoVacationEnabled"];

Make sure to test a recent version of SOGo, reopen if necessary and post your full configuration.

Issue History

Date Modified Username Field Change
2014-03-01 17:09 obnox New Issue
2014-03-06 03:40 obnox Note Added: 0006646
2016-05-06 20:12 ludovic Note Added: 0010071
2016-05-06 20:12 ludovic Status new => closed
2016-05-06 20:12 ludovic Assigned To => ludovic
2016-05-06 20:12 ludovic Resolution open => suspended