Koozali.org: home of the SME Server

Sieve and ManageSieve

Offline Bud

  • *
  • 487
  • +0/-0
Sieve and ManageSieve
« on: November 28, 2014, 12:41:12 PM »
guys please help

i am trying to understand how to install sieve and managesieve

i have had a look at Sogo and Sieve " http://forums.contribs.org/index.php/topic,50892.0.html " but do not want to install Sogo.

any help greatly appreciated  :)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Sieve and ManageSieve
« Reply #1 on: November 28, 2014, 01:02:27 PM »
https://wikit.firewall-services.com/doku.php/smedev/dovecot

do it at your own risk and report any issue to firewall-services' crew

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Sieve and ManageSieve
« Reply #2 on: November 28, 2014, 01:17:32 PM »
Do you use sme9 or sme8 ?

for sme9 we are talking of integrate managesieve with roundecube, a bug is opened http://bugs.contribs.org/show_bug.cgi?id=8697

Thanks to Mats to bring us the code.
« Last Edit: November 28, 2014, 01:19:28 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline mats

  • *
  • 20
  • +0/-0
Re: Sieve and ManageSieve
« Reply #3 on: November 28, 2014, 02:19:48 PM »
Quick recap from my notes (assuming you are on SME 9 and using RoundCube for webmail is an option for you - no idea if/how it works with horde/ingo):

1. install smeserver-dovecot-extras according to http://wiki.contribs.org/Dovecot-extras
2. install smeserver-roundcube according to http://wiki.contribs.org/RoundCube#For_SME9


EDIT 2014-11-29: new version of smeserver-roundcube (1.1-4) released today already includes managesieve, so the following steps are no longer necessary (see also http://bugs.contribs.org/show_bug.cgi?id=8697#c15 ). Simply do a
Code: [Select]
yum --enablerepo=stephdl upgrade smeserver-roundcube and you should be set.


3. add "managesieve" to the list of roundcube plugins in SME configuration database, eg.:

- first check which plugins are already enabled by default:

Code: [Select]
config getprop roundcube PluginsList
- then add managesieve plugin to the list if it is not already in there:

Code: [Select]
config setprop roundcube PluginsList `config getprop roundcube PluginsList`,managesieve
4. Until it is eventually integrated in the roundcube contrib, get the latest version of the custom template script for the managesieve-plugin configuration which is attached to http://bugs.contribs.org/show_bug.cgi?id=8697 , and place it in the corresponding folder:

Code: [Select]
tar xvfz config.inc.php.tar.gz
mkdir -p /etc/e-smith/templates-custom/opt/roundcube/plugins/managesieve
mv config.inc.php/ /etc/e-smith/templates-custom/opt/roundcube/plugins/managesieve/
expand-template /opt/roundcube/plugins/managesieve/config.inc.php

5. In the roundcube settings for every user, there should now be a new item "Filter". If you need a seperate roundcube settings panel for vacation messages, there's also an option near the bottom of the config.inc.php file that can be changed accordingly :-)

PS.: Be aware of http://bugs.contribs.org/show_bug.cgi?id=8694 if you have smeserver-mailsorting installed; this may break sieve functionaity as well.
« Last Edit: November 29, 2014, 10:41:14 PM by mats »

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Sieve and ManageSieve
« Reply #4 on: November 28, 2014, 03:14:56 PM »
Thanks mats.

I believe that we can push a new package this week-end with your code but like you said it is only for sme9.

The sme8 version of dovecot is too old and need to be updated by a workable hack of daniel.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!