doc:appunti:linux:so:sogo
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:so:sogo [2013/09/27 17:31] – [Demone sogod] niccolo | doc:appunti:linux:so:sogo [2024/10/14 15:55] (current) – [Session timeout] niccolo | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| * ldap-utils | * ldap-utils | ||
| * phpldapadmin | * phpldapadmin | ||
| + | |||
| + | Moduli Apache necessari | ||
| + | |||
| + |   * **rewrite** - Il file di configurazione ''/ | ||
| ===== Demone sogod ===== | ===== Demone sogod ===== | ||
| + | |||
| + | **ATTENZIONE** alla sintassi del file di configurazione! Dalla versione 1.3.16 (Debian Wheezy) alla version 2.0.7 (Debian Jessie) cambiano cose sostanziali, | ||
| Una volta installato il pacchetto Debian e con l' | Una volta installato il pacchetto Debian e con l' | ||
| Line 40: | Line 46: | ||
|     OCSEMailAlarmsFolderURL = " |     OCSEMailAlarmsFolderURL = " | ||
| - | SOGoAppointmentSendEMailNotifications = YES; | ||
| SOGoMailingMechanism = smtp; | SOGoMailingMechanism = smtp; | ||
| - |     SOGoSMTPServer = 127.0.0.1; | + |     SOGoSMTPServer = " | 
| - | SOGoSentFolderName = Sent; | + | |
| - | SOGoTrashFolderName = Trash; | + | |
| - | SOGoDraftsFolderName = Drafts; | + | |
|     SOGoIMAPServer = " |     SOGoIMAPServer = " | ||
| - |      | + |      | 
| + |     SOGoSentFolderName  | ||
| + |     SOGoTrashFolderName = "INBOX/Trash"; | ||
| + |     SOGoDraftsFolderName = "INBOX/Drafts"; | ||
| + |     SOGoJunkFolderName  | ||
| SOGoIMAPAclConformsToIMAPExt = YES; | SOGoIMAPAclConformsToIMAPExt = YES; | ||
| + |     SOGoSieveServer = " | ||
| SOGoVacationEnabled = YES; | SOGoVacationEnabled = YES; | ||
| SOGoForwardEnabled = YES; | SOGoForwardEnabled = YES; | ||
| Line 55: | Line 62: | ||
| SOGoMailMessageCheck = manually; | SOGoMailMessageCheck = manually; | ||
| SOGoMailAuxiliaryUserAccountsEnabled = NO; | SOGoMailAuxiliaryUserAccountsEnabled = NO; | ||
| + | SOGoAppointmentSendEMailNotifications = YES; | ||
| // Append the domain name to the c_uid to obtain an unique UID. | // Append the domain name to the c_uid to obtain an unique UID. | ||
| Line 179: | Line 187: | ||
| DELETE FROM sogo_user_profile WHERE c_uid = ' | DELETE FROM sogo_user_profile WHERE c_uid = ' | ||
| </ | </ | ||
| + | ===== Tuning ===== | ||
| + | |||
| + | Le seguenti valutazioni sono state fatte su una installazione di **circa 30 utenti**. | ||
| + | |||
| + | La parte più onerosa pare il numero di processi **imapd** contemporaneamente in esecuzione. Empiricamente risultano circa tre connessioni contemporanee per utente (client Mozilla Thunderbird). Poichè tutti gli utenti erano mascherati dietro un singolo indirizzo IP, in **''/ | ||
| + | |||
| + | < | ||
| + | MAXDAEMONS=200 | ||
| + | MAXPERIP=100 | ||
| + | </ | ||
| + | |||
| + | Un altro problema è sui child eseguiti da **'' | ||
| + | |||
| + | < | ||
| + | PREFORK=32 | ||
| + | </ | ||
| + | |||
| + | Il demone **'' | ||
| + | |||
| + | < | ||
| + | max_connections = 100 | ||
| + | </ | ||
| + | |||
| ===== LDAP Addressbook ===== | ===== LDAP Addressbook ===== | ||
| Line 220: | Line 251: | ||
| Con l' | Con l' | ||
| + | |||
| + | ===== Filtri Sieve ===== | ||
| + | |||
| + | Per attivare il risponditore automatico (vacation) e l' | ||
| + | |||
| + | < | ||
| + | SOGoVacationEnabled = YES; | ||
| + | SOGoForwardEnabled = YES; | ||
| + | </ | ||
| + | |||
| + | Dopo aver riavviato il servizio, nella sezione // | ||
| + | |||
| + | < | ||
| + | sogod [32518]: < | ||
| + |     < | ||
| + |     {RawResponse = " | ||
| + | </ | ||
| + | |||
| + | È possibile anche abilitare una sezione per **filtri Sieve generici** basati su // | ||
| + | |||
| + | < | ||
| + | SOGoSieveScriptsEnabled = YES; | ||
| + | </ | ||
| + | |||
| + | L' | ||
| + | |||
| + | I filtri possono essere creati e gestiti dalla webmail: **Preferenze** => **Posta** => **Filtri**. In un sistema con Dovecot Sieve i filtri per ciascun utente vengono salvati in **$HOME/ | ||
| + | |||
| + | ===== Add SoGO as an application for mailto links ===== | ||
| + | |||
| + | Whenever you login into the SoGO webmail, the browser my ask you if you want to **Add " | ||
| + | |||
| + | ===== Session timeout ===== | ||
| + | |||
| + | After upgrading SoGO from **5.0.1** to **5.8.0** (e.g. by upgrading from **Debian 11 Bullseye** to **Debian 12 Bookworm**) the webmail session exipres in a few minutes, despite user activity. This is a known bug cause by a datbase table being not be properly updated. | ||
| + | |||
| + | To fix the problem you can drop the faulty table from the SQL prompt and restart the SoGO service; the table will be re-created with the corrected structure: | ||
| + | |||
| + | <code sql> | ||
| + | DROP TABLE sogo_sessions_folder; | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | systemctl restart sogo.service | ||
| + | </ | ||
| + | |||
| + | This hack will upgrade the field **c_value** from **character varying(255)** to **character varying(4096)** (using the PostgreSQL backend). | ||
| + | |||
| + | See this [[https:// | ||
doc/appunti/linux/so/sogo.1380295873.txt.gz · Last modified:  by niccolo
                
                