aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/email/config/sogo/sogo.conf.tpl
blob: 3d257760b850df9ac50d8751e0a5ba6eeb493571 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
  WONoDetach = NO;
  WOWorkersCount = 3;
  SxVMemLimit = 600;
  WOPort = "127.0.0.1:20000";
  SOGoProfileURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_user_profile";
  OCSFolderInfoURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_folder_info";
  OCSSessionsFolderURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_sessions_folder";
  OCSEMailAlarmsFolderURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_alarms_folder";
  OCSStoreURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_store";
  OCSAclURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_acl";
  OCSCacheFolderURL = "postgresql://{{ key "secrets/email/sogo/postgre_auth" | trimSpace }}@{{ env "meta.site" }}.psql-proxy.service.prod.consul:5432/sogo/sogo_cache_folder";
  SOGoTimeZone = "Europe/Paris";
  SOGoMailDomain = "deuxfleurs.fr";
  SOGoLanguage = French;
  SOGoAppointmentSendEMailNotifications = YES;
  SOGoEnablePublicAccess = YES;
  SOGoMailingMechanism = smtp;
  SOGoSMTPServer = postfix-smtp.service.prod.consul;
  SOGoSMTPAuthenticationType = PLAIN;
  SOGoForceExternalLoginWithEmail = YES;
  SOGoIMAPAclConformsToIMAPExt = YES;
  SOGoTimeZone = UTC;
  SOGoSentFolderName = Sent;
  SOGoTrashFolderName = Trash;
  SOGoDraftsFolderName = Drafts;
  SOGoIMAPServer = "imaps://dovecot-imaps.service.prod.consul:993/?tlsVerifyMode=none";
  SOGoSieveServer = "sieve://sieve.service.prod.consul:4190/?tls=YES";
  SOGoIMAPAclConformsToIMAPExt = YES;
  SOGoVacationEnabled = NO;
  SOGoForwardEnabled = NO;
  SOGoSieveScriptsEnabled = NO;
  SOGoFirstDayOfWeek = 1;
  SOGoRefreshViewCheck = every_5_minutes;
  SOGoMailAuxiliaryUserAccountsEnabled = NO;
  SOGoPasswordChangeEnabled = YES;
  SOGoPageTitle = "deuxfleurs.fr";
  SOGoLoginModule = Mail;
  SOGoMailAddOutgoingAddresses = YES;
  SOGoSelectedAddressBook = autobook;
  SOGoMailAuxiliaryUserAccountsEnabled = YES;
  SOGoCalendarEventsDefaultClassification = PRIVATE;
  SOGoMailReplyPlacement = above;
  SOGoMailSignaturePlacement = above;
  SOGoMailComposeMessageType = html;

  SOGoLDAPContactInfoAttribute = "displayname";

  SOGoUserSources = (
    {
        type = ldap;
        CNFieldName = displayname;
        IDFieldName = cn;
        UIDFieldName = cn;
        MailFieldNames = (mail, mailForwardingAddress);
        SearchFieldNames = (displayname, cn, sn, mail, telephoneNumber);
        IMAPLoginFieldName = mail;
        baseDN = "ou=users,dc=deuxfleurs,dc=fr";
        bindDN = "{{ key "secrets/email/sogo/ldap_binddn" | trimSpace }}";
        bindPassword = "{{ key "secrets/email/sogo/ldap_bindpw" | trimSpace}}";
        bindFields = (cn, mail);
        canAuthenticate = YES;
        displayName = "Bottin";
        hostname = "ldap://{{ env "meta.site" }}.bottin.service.prod.consul:389";
        id = bottin;
        isAddressBook = NO;
    }
  );
}