Re: [SOGo] sieve backwards not compatible.

2016-06-06 Thread Zhang Huangbin

> On Jun 6, 2016, at 6:38 PM, Rainer Ruprechtsberger 
> (rruprechtsberger+s...@volkshilfe-ooe.at)  wrote:
> 
> Still on SOGo 2.x, is this a new feature of the SOGo 3.x web interface?

This is a sieve feature.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] sieve backwards not compatible.

2016-06-06 Thread Rainer Ruprechtsberger
Hello,

I'd like to see this feature very much, please explain how you achieved
this:

> However, I solved some of my issues with this by creating a separate
> sieve file for other connected sieve/managesieve clients (like
> Thunderbird Out of Office plugin or Thunderbird Sieve Plugin) and
> including it within the ACTIVE sogo sieve file as follows (sogo sieve
> script file acts as master file and must be the active one):
> 
> /require ["include"];/
> /include :personal "OutOfOfficeScriptFile";/

Still on SOGo 2.x, is this a new feature of the SOGo 3.x web interface?

/r

-- 
Rainer Ruprechtsberger
Volkshilfe Oberösterreich
IT
4020 Linz, Glimpfingerstrasse 48
Tel.: +43 732 3405 123
Mobil.: +43 676 8734 1123

ZVR Zahl: 064371505

Volkshilfe. Wir sind für die Menschen da.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] sieve backwards not compatible.

2016-06-03 Thread "T.B."



Am 03.06.2016 um 15:39 schrieb Zhang Huangbin (z...@iredmail.org):

On Jun 3, 2016, at 8:24 PM, Christian Eichert (c...@zp1.net)  
wrote:

How can tell SOGo to show the new version of the sogo.sieve file from the 
server ?

If i understand how sieve works in SOGo:

-) SOGo stores sieve rules in SQL db, export all sieve rules to sieve server.
-) SOGo doesn't read sieve rules from sieve server. so it's impossible to 
migrate sieve rules from other server by simply copying sieve rule files to 
file system.

This is bad design, because you cannot manage sieve rules in other apps via 
standard managesieve service. for example, Roundcube webmail with its official 
plugin 'managesieve'.

Wish this design could be changed someday.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).



I also think this is not a good design and this needs a better solution.

However, I solved some of my issues with this by creating a separate 
sieve file for other connected sieve/managesieve clients (like 
Thunderbird Out of Office plugin or Thunderbird Sieve Plugin) and 
including it within the ACTIVE sogo sieve file as follows (sogo sieve 
script file acts as master file and must be the active one):


   /require ["include"];/
   /include :personal "OutOfOfficeScriptFile";/

/

/Description here: 
http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Include_scripts



Kind regards

TB/
/
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] sieve backwards not compatible.

2016-06-03 Thread Zhang Huangbin

> On Jun 3, 2016, at 8:24 PM, Christian Eichert (c...@zp1.net)  
> wrote:
> 
> How can tell SOGo to show the new version of the sogo.sieve file from the 
> server ?

If i understand how sieve works in SOGo:

-) SOGo stores sieve rules in SQL db, export all sieve rules to sieve server.
-) SOGo doesn't read sieve rules from sieve server. so it's impossible to 
migrate sieve rules from other server by simply copying sieve rule files to 
file system.

This is bad design, because you cannot manage sieve rules in other apps via 
standard managesieve service. for example, Roundcube webmail with its official 
plugin 'managesieve'.

Wish this design could be changed someday.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] sieve backwards not compatible.

2016-06-03 Thread Christian Mack
Hello

Am 03.06.2016 um 14:24 schrieb Christian Eichert (c...@zp1.net):
> 
> I noticed that the Filters in Sieve in *SOGo *2.x are not working as I
> supposed.
> 
> Its possible that this is a feature not a bug or that its just that I am
> doing something wrong.
> 
> If You write a Filter in *SOGo *Web Client and then change the
> *sogo.sieve* file on the server with another sieve editor, the *SOGo
> *Web client is ignoring the modification and even shows a version of the
> *sogo.sieve* file that is simply wrong.
> 
> How can tell *SOGo *to show the new version of the *sogo.sieve* file
> from the server ?
> 
> 

SOGo does ignore all changes made outside of SOGo.
This also is true for already existing scripts when enabling SIEVE in SOGo.
This is by design, as parsing sieve scripts is a lot of work.

See also
https://sogo.nu/bugs/view.php?id=1392
https://sogo.nu/bugs/view.php?id=3636


Kind regards,
Christian Mack
-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] sieve backwards not compatible.

2016-06-03 Thread Christian Eichert

Hello Folks

I noticed that the Filters in Sieve in *SOGo *2.x are not working as I 
supposed.


Its possible that this is a feature not a bug or that its just that I am 
doing something wrong.


If You write a Filter in *SOGo *Web Client and then change the 
*sogo.sieve* file on the server with another sieve editor, the *SOGo 
*Web client is ignoring the modification and even shows a version of the 
*sogo.sieve* file that is simply wrong.


How can tell *SOGo *to show the new version of the *sogo.sieve* file 
from the server ?



greetings from Germany.

Christian



smime.p7s
Description: S/MIME Cryptographic Signature