From d39d155d1bdbb741e3b4d141374042d91b95bb49 Mon Sep 17 00:00:00 2001 From: kevinowino869 Date: Fri, 21 Mar 2025 07:13:47 +0100 Subject: [PATCH] Upload files to "/" --- sogo.template.twig | 60 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 sogo.template.twig diff --git a/sogo.template.twig b/sogo.template.twig new file mode 100644 index 0000000..1193420 --- /dev/null +++ b/sogo.template.twig @@ -0,0 +1,60 @@ +{# DO NOT MODIFY THIS FILE. ALL CHANGES WILL BE OVERWRITTEN. #} +{% autoescape false %} +{ + SOGoLanguage = English; + SOGoTimeZone = UTC; + SOGoFirstDayOfWeek = 0; + SOGoMailMessageCheck = manually; + SOGoMailAuxiliaryUserAccountsEnabled = YES; + SOGoMemcachedHost = "{{ memcachedHost }}"; + SOGoRefreshViewCheck = every_5_minutes; + + WOWorkersCount = {{ maxWorkers }}; + SOGoMaximumMessageSizeLimit = {{ messageLimit }}; + SxVMemLimit = {{ memoryLimit }}; + + SOGoAppointmentSendEMailNotifications = NO; + SOGoPasswordChangeEnabled = NO; + + SOGoProfileURL = "mysql://{{ user }}:{{ password | url_encode }}@{{ host }}:{{ port }}/{{ db }}/sogo_user_profile"; + OCSFolderInfoURL = "mysql://{{ user }}:{{ password | url_encode }}@{{ host }}:{{ port }}/{{ db }}/sogo_folder_info"; + OCSSessionsFolderURL = "mysql://{{ user }}:{{ password | url_encode }}@{{ host }}:{{ port }}/{{ db }}/sogo_sessions_folder"; + OCSEMailAlarmsFolderURL = "mysql://{{ user }}:{{ password | url_encode }}@{{ host }}:{{ port }}/{{ db }}/sogo_alarms_folder"; + OCSStoreURL = "mysql://{{ user }}:{{ password | url_encode }}@{{ host }}:{{ port }}/{{ db }}/sogo_store"; + OCSAclURL = "mysql://{{ user }}:{{ password | url_encode }}@{{ host }}:{{ port }}/{{ db }}/sogo_acl"; + OCSCacheFolderURL = "mysql://{{ user }}:{{ password | url_encode }}@{{ host }}:{{ port }}/{{ db }}/sogo_cache_folder"; + + SOGoUserSources = + ( + { + type = sql; + id = plesk; + viewURL = "mysql://{{ user }}:{{ password | url_encode }}@{{ host }}:{{ port }}/{{ db }}/sogo_users_view"; + canAuthenticate = YES; + isAddressBook = YES; + userPasswordAlgorithm = ssha512; + DomainFieldName = "domain"; + } + ); + + SOGoMailingMechanism = smtp; + SOGoSMTPServer = "smtp://localhost:25/?tls=YES&tlsVerifyMode=allowInsecureLocalhost"; + SOGoSMTPAuthenticationType = PLAIN; + + SOGoSentFolderName = "{{ imapPrefix }}Sent"; + SOGoTrashFolderName = "{{ imapPrefix }}Trash"; + SOGoDraftsFolderName = "{{ imapPrefix }}Drafts"; + SOGoJunkFolderName = "{{ imapPrefix }}Spam"; + SOGoIMAPServer = "imaps://localhost:143/?tls=YES&tlsVerifyMode=allowInsecureLocalhost"; + SOGoIMAPAclConformsToIMAPExt = NO; + SOGoMailCustomFromEnabled = YES; + SOGoAppointmentSendEMailNotifications = YES; + +{% if hasSieve %} + SOGoSieveServer = "sieve://localhost:4190/?tls=YES&tlsVerifyMode=allowInsecureLocalhost"; + SOGoForwardEnabled = YES; + SOGoVacationEnabled = YES; + SOGoSieveScriptsEnabled = YES; +{% endif %} +} +{% endautoescape %}