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 [2021/05/24 15:45] – [Demone sogod] niccolodoc:appunti:linux:so:sogo [2024/10/14 15:55] (current) – [Session timeout] niccolo
Line 268: Line 268:
     {RawResponse = "{}"; result = 0; }     {RawResponse = "{}"; result = 0; }
 </code> </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.1621863952.txt.gz · Last modified: 2021/05/24 15:45 by niccolo