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/10/01 11:07] – [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 ===== | ||
| Line 49: | Line 53: | ||
|     SOGoTrashFolderName = " |     SOGoTrashFolderName = " | ||
|     SOGoDraftsFolderName = " |     SOGoDraftsFolderName = " | ||
| + |     SOGoJunkFolderName = " | ||
| SOGoIMAPAclConformsToIMAPExt = YES; | SOGoIMAPAclConformsToIMAPExt = YES; | ||
|     SOGoSieveServer = " |     SOGoSieveServer = " | ||
| Line 182: | 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 223: | 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.1380618437.txt.gz · Last modified:  by niccolo
                
                