User Tools

Site Tools


doc:appunti:linux:so:sogo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:so:sogo [2014/01/20 16:25] – [Tuning] niccolodoc: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 ''/etc/apache2/conf-enabled/sogo.conf'' richiede il rewrite in modo che funzionino i **%%/.well-known/caldav/%%** e **%%/.well-known/carddav/%%**.
  
 ===== Demone sogod ===== ===== Demone sogod =====
Line 49: Line 53:
     SOGoTrashFolderName = "INBOX/Trash";     SOGoTrashFolderName = "INBOX/Trash";
     SOGoDraftsFolderName = "INBOX/Drafts";     SOGoDraftsFolderName = "INBOX/Drafts";
 +    SOGoJunkFolderName = "INBOX/Spam";
     SOGoIMAPAclConformsToIMAPExt = YES;     SOGoIMAPAclConformsToIMAPExt = YES;
     SOGoSieveServer = "sieve://localhost:4190/?tls=YES";     SOGoSieveServer = "sieve://localhost:4190/?tls=YES";
Line 246: Line 251:
  
 Con l'opzione **//Il telefono ha la precedenza//**, le modifiche fatte sul telefono (aggiunta foto, aggiunta campi, modifiche) vengono propagate sul server. Tuttavia alcuni campi inseriti nel telefono non compaiono sul server, ad esempio i campi nickname e note. Con l'opzione **//Il telefono ha la precedenza//**, le modifiche fatte sul telefono (aggiunta foto, aggiunta campi, modifiche) vengono propagate sul server. Tuttavia alcuni campi inseriti nel telefono non compaiono sul server, ad esempio i campi nickname e note.
 +
 +===== Filtri Sieve =====
 +
 +Per attivare il risponditore automatico (vacation) e l'inoltro  si deve ipostare nella sezione principale di **/etc/sogo/sogo.conf**:
 +
 +<file>
 +SOGoVacationEnabled = YES;
 +SOGoForwardEnabled = YES;
 +</file>
 +
 +Dopo aver riavviato il servizio, nella sezione //Impostazioni// => //Posta// della webamil SOGo compaiono le schede **Risponditore automatico** e **Inoltro**. Può capitare che quando si cerca di salvare le nuove impostazioni si ottiene il popup di errore **Servizio temporaneamente non disponibile**, che corrisponde all'errore in **/var/log/sogo/sogo.log**:
 +
 +<code>
 +sogod [32518]: <0x...[SOGoSieveManager]> Could not login 'username@example.org' on Sieve server:
 +    <0x...[NGSieveClient]: socket=<NGActiveSSLSocket[0x...]: mode=rw address=(null)>>:
 +    {RawResponse = "{}"; result = 0; }
 +</code>
 +
 +È possibile anche abilitare una sezione per **filtri Sieve generici** basati su //oggetto//, //mittente// o //destinatario// con possibili azioni: //scarta//, //inoltra//, //sposta in//, ecc. È sufficiente impostare in **/etc/sogo/sogo.conf**:
 +
 +<file>
 +SOGoSieveScriptsEnabled = YES;
 +</file>
 +
 +L'impostazione può essere fatta a livello generale oppure per il singolo dominio (se la configurazione sfrutta la sezione **domains**).
 +
 +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/sieve/sogo.sieve**.
 +
 +===== 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 "your.site" as an application for mailto links?**; this is because the SoGO Javascript executes a **window.navigator.registerProtocolHandler()** call. If you are annoyed by this request you can disable it at least in Firefox by visiting the **about:config** URL and changing **network.protocol-handler.external.mailto** to **false**.
 +
 +===== 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;
 +</code>
 +
 +<code>
 +systemctl restart sogo.service
 +</code>
 +
 +This hack will upgrade the field **c_value** from **character varying(255)** to **character varying(4096)** (using the PostgreSQL backend).
 +
 +See this [[https://www.mail-archive.com/users@sogo.nu/msg31265.html|SoGO mailing list message]].
  
doc/appunti/linux/so/sogo.1390231556.txt.gz · Last modified: 2014/01/20 16:25 by niccolo