This commit is contained in:
Zhang Huangbin 2021-07-17 18:22:24 +08:00
parent e41e00b9c5
commit 0e21c2ed7b
2 changed files with 24 additions and 24 deletions

View File

@ -1,16 +1,25 @@
# Why no sieve support (Vacation, Forwarding) in SOGo Groupware
The situation:
The situations:
* If you chose to install both Roundcube webmail and SOGo Groupware during
iRedMail installation, sieve support is enabled in only Roundcube webmail.
* If you chose to install SOGo Groupware and no Roundcube, sieve support
is enabled out of box.
is enabled in SOGo out of box.
The syntax/format of sieve rules generated by them is not compatible
The syntax/format of sieve rules generated by them are not compatible
with each other, so iRedMail enables sieve support in Roundcube webmail and
disables it in SOGo.
!!! warning "Pitfalls you should know"
* On SOGo web UI, the sieve rules are read from its SQL database directly,
not get from managesieve server. So if you modify the sieve rules by
editing the sieve file on file system manually, you will lose the
modification next time you update sieve rules from SOGo web UI.
* SOGo stores sieve rules in its SQL database first, then dump the rules to
mail server (by managesieve service listening on `127.0.0.1:4190`).
If you want to enable sieve support in SOGo, please enable parameters below
(by removing the comment mark `//` at the beginning of lines below) in SOGo
config file (`/etc/sogo/sogo.conf`):
@ -22,14 +31,5 @@ config file (`/etc/sogo/sogo.conf`):
SOGoForwardEnabled = YES;
```
!!! warning "Pitfalls you should know"
* On SOGo web UI, the sieve rules are read from its SQL database directly,
not get from managesieve server. So if you modify the sieve rules by
editing the sieve file on file system manually, you will lose the
modification next time you update sieve rules from SOGo web UI.
* SOGo stores sieve rules in its SQL database first, then dump the rules to
mail server (by managesieve service listening on `127.0.0.1:4190`).
To disable sieve support in Roundcube, you can simply remove plugin name
`managesieve` from its config parameter `$config['plugins'] =`.

View File

@ -16,25 +16,16 @@
<span>iRedMail</span>
</a>
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="why-no-sieve-support-vacation-forwarding-in-sogo-groupware">Why no sieve support (Vacation, Forwarding) in SOGo Groupware</h1>
<p>The situation:</p>
<p>The situations:</p>
<ul>
<li>If you chose to install both Roundcube webmail and SOGo Groupware during
iRedMail installation, sieve support is enabled in only Roundcube webmail.</li>
<li>If you chose to install SOGo Groupware and no Roundcube, sieve support
is enabled out of box.</li>
is enabled in SOGo out of box.</li>
</ul>
<p>The syntax/format of sieve rules generated by them is not compatible
<p>The syntax/format of sieve rules generated by them are not compatible
with each other, so iRedMail enables sieve support in Roundcube webmail and
disables it in SOGo.</p>
<p>If you want to enable sieve support in SOGo, please enable parameters below
(by removing the comment mark <code>//</code> at the beginning of lines below) in SOGo
config file (<code>/etc/sogo/sogo.conf</code>):</p>
<pre><code> SOGoSieveServer = sieve://127.0.0.1:4190/?tls=YES;
SOGoSieveScriptsEnabled = YES;
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
</code></pre>
<div class="admonition warning">
<p class="admonition-title">Pitfalls you should know</p>
<ul>
@ -46,6 +37,15 @@ config file (<code>/etc/sogo/sogo.conf</code>):</p>
mail server (by managesieve service listening on <code>127.0.0.1:4190</code>).</li>
</ul>
</div>
<p>If you want to enable sieve support in SOGo, please enable parameters below
(by removing the comment mark <code>//</code> at the beginning of lines below) in SOGo
config file (<code>/etc/sogo/sogo.conf</code>):</p>
<pre><code> SOGoSieveServer = sieve://127.0.0.1:4190/?tls=YES;
SOGoSieveScriptsEnabled = YES;
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
</code></pre>
<p>To disable sieve support in Roundcube, you can simply remove plugin name
<code>managesieve</code> from its config parameter <code>$config['plugins'] =</code>.</p><div class="footer">
<p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>