Re: [Dovecot] Sieve GUI

2010-06-03 Thread Bradley Giesbrecht


On Jun 2, 2010, at 4:42 AM, Anton Dollmaier wrote:


Hi,


has someone tried this or knows something similar ?


RoundCube in version 0.3 and later supports a plugin system and  
provides actually two different Sieve-plugins, one out of the box,  
the other one is available here:



http://www.tehinterweb.co.uk/roundcube/#pisieverules


This one (sieverules) is based off the out of the box (managesieve)  
plugin and it is the one I chose for the added rules it can produce.


both work and provide a decent GUI with no need to write the sieve- 
syntax directly like the thunderbird-extension.


An example sieve script created by the sieverules plugin shows it  
can't be that bad writing one by hand.


## Generated by RoundCube Webmail SieveRules Plugin ##
require [fileinto];

# rule:[DSPAM]
if anyof (header :contains X-Dspam-Result Spam)
{
fileinto Spam;
stop;
}

// Brad

Re: [Dovecot] Sieve GUI

2010-06-02 Thread Rainer Frey
On Tuesday 01 June 2010 20:10:08 Phil Howard wrote:
 Looks like I will need to do a lot of reading on Sieve and ManageSieve
 to be sure it's safe.  For one thing, I want to turn the vacation
 feature off unless it can cross check a list of valid senders (user
 contacts).

No need to turn it off. It is not turned on, unless you put the directives 
for it in a script.

Rainer


Re: [Dovecot] Sieve GUI

2010-06-02 Thread Rainer Frey
On Tuesday 01 June 2010 20:55:52 Phil Howard wrote:
 frank+lists/dove...@linetwo.net wrote:
  On 6/1/10 2:10 PM -0400 Phil Howard wrote:
  On Tue, Jun 1, 2010 at 13:42, e-frog e-f...@gmx.de wrote:
  This might be helpful:
  
   http://wiki.dovecot.org/ManageSieve/
  
  Right now only time for a quick look.  Looks like yet another server
  with yet another protocol (via port 4190), rather than integrated into
  IMAP as an extension.  I'm doubting all my email clients have support
  for this.
  
  You're wrong on it being another server; it does work within IMAP.  

It is integrated into dovecot (once patched) and does not need to be managed 
as a separate daemon on the server. But it is a separate protocol on a 
different port (traditional default: 2000).

 In the mean time, I just need a short term solution to divert tagged-as-spam
 messages into the INBOX-spam (or something like that) folder.  I'll
 probably just go ahead and write a shim program in C (as easy for me
 as a script is for others) to check for the tag and add the -m option
 to deliver as needed.

This is absolutely unnecessary. Sieve can be used without letting the users 
manage their own scripts. There can be a system wide default script.

Rainer


Re: [Dovecot] Sieve GUI

2010-06-02 Thread Marcio Merlone

Em 01-06-2010 15:45, Frank Cusack escreveu:

(...)you are right in that almost no clients support it.  Mulberry and
thunderbird are the only ones I know of.


Are you talking about the extension on wich you have to write the sieve 
scripts by hand? That is a joke, hope someone creates a decent extension 
for that some day...


--
Marcio Merlone



Re: [Dovecot] Sieve GUI

2010-06-02 Thread Gerhard Waldemair

Am 02.06.2010 um 13:23 schrieb Marcio Merlone:

 Em 01-06-2010 15:45, Frank Cusack escreveu:
 (...)you are right in that almost no clients support it.  Mulberry and
 thunderbird are the only ones I know of.
 
 Are you talking about the extension on wich you have to write the sieve 
 scripts by hand? That is a joke, hope someone creates a decent extension for 
 that some day...
 
 -- 
 Marcio Merlone
 

I have found this: http://smartsieve.sourceforge.net/

has someone tried this or knows something similar ?

Re: [Dovecot] Sieve GUI

2010-06-02 Thread Anton Dollmaier

Hi,


has someone tried this or knows something similar ?


RoundCube in version 0.3 and later supports a plugin system and provides 
actually two different Sieve-plugins, one out of the box, the other one 
is available here:



http://www.tehinterweb.co.uk/roundcube/#pisieverules


both work and provide a decent GUI with no need to write the 
sieve-syntax directly like the thunderbird-extension.


Re: [Dovecot] Sieve GUI

2010-06-02 Thread Wolfgang . Friebel

On Wed, 2 Jun 2010, Anton Dollmaier wrote:


Hi,


has someone tried this or knows something similar ?


RoundCube in version 0.3 and later supports a plugin system and provides 
actually two different Sieve-plugins, one out of the box, the other one is 
available here:



http://www.tehinterweb.co.uk/roundcube/#pisieverules


both work and provide a decent GUI with no need to write the sieve-syntax 
directly like the thunderbird-extension.




I have successfully installed avelsieve http://email.uoa.gr/avelsieve/ as 
addon to squirrelmail http://squirrelmail.org/ and I have an adapted 
websieve http://sourceforge.net/projects/websieve/files/ which was 
developed for Cyrus IMAP and had code that prevented working with dovecot. 
Both tools provide a web interface that does not require knowledge of the 
sieve syntax.


The websieve version is however hacked in a way that it does work in a 
Kerberos environment only, i.e. no password dialog but Kerberos auth 
instead. It requires the perl modules Authen::Krb5, Mail::IMAPClient,

Net::ManageSieve, Authen::SASL, Authen::SASL::Cyrus and MIME::Base64.
It is not ready for public distribution, but I could make the present code 
available if someone is interested.


--
Wolfgang Friebel   Deutsches Elektronen-Synchrotron DESY
Phone/Fax:  +49 33762 77372/216Platanenallee 6
Mail: Wolfgang.Friebel AT desy.de  D-15738 Zeuthen  Germany


Re: [Dovecot] Sieve GUI

2010-06-02 Thread Andy Dills
On Wed, 2 Jun 2010, Gerhard Waldemair wrote:

 
 Am 02.06.2010 um 13:23 schrieb Marcio Merlone:
 
  Em 01-06-2010 15:45, Frank Cusack escreveu:
  (...)you are right in that almost no clients support it.  Mulberry and
  thunderbird are the only ones I know of.
  
  Are you talking about the extension on wich you have to write the sieve 
  scripts by hand? That is a joke, hope someone creates a decent extension 
  for that some day...
  
  -- 
  Marcio Merlone
  
 
 I have found this: http://smartsieve.sourceforge.net/
 
 has someone tried this or knows something similar ?

Judging from the screenshots, it's pretty clearly a ripoff of Ingo from 
Horde, which I'm currently testing and am pretty happy with.

http://www.horde.org/ingo/

Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---


[Dovecot] Sieve GUI

2010-06-01 Thread Gerhard Waldemair

Is there à GUI for sieve.

I don't have installed Squrielmail, but won't like to manage the  
Rules per ssh


Re: [Dovecot] Sieve GUI

2010-06-01 Thread Phil Howard
On Tue, Jun 1, 2010 at 13:07, Gerhard Waldemair gerh...@waldemair.com wrote:
 Is there à GUI for sieve.

 I don't have installed Squrielmail, but won't like to manage the Rules per
 ssh

I would hope there would be a way to put Sieve scripts in place via
IMAP itself.  Otherwise I won't be able to do that on my server (since
there won't be system user accounts for mail users ... it's one
system user virtual here).


Re: [Dovecot] Sieve GUI

2010-06-01 Thread Seth Mattinen
On 6/1/10 10:24 AM, Phil Howard wrote:
 On Tue, Jun 1, 2010 at 13:07, Gerhard Waldemair gerh...@waldemair.com wrote:
 Is there à GUI for sieve.

 I don't have installed Squrielmail, but won't like to manage the Rules per
 ssh
 
 I would hope there would be a way to put Sieve scripts in place via
 IMAP itself.  Otherwise I won't be able to do that on my server (since
 there won't be system user accounts for mail users ... it's one
 system user virtual here).


One word: managesieve

~Seth


Re: [Dovecot] Sieve GUI

2010-06-01 Thread William Blunn

On 01/06/2010 18:07, Gerhard Waldemair wrote:

Is there à GUI for sieve.

I don't have installed Squrielmail, but won't like to manage the 
Rules per ssh




I have never used it myself, but there would appear to be some useful 
things here:


A thingy for Dovecot which should allow Sieve configurations to be 
managed remotely

http://wiki.dovecot.org/LDA/Sieve#ManageSieve_server

An add-on for Thunderbird which appears to talk the required protocol
https://addons.mozilla.org/en-US/thunderbird/addon/2548/

Bill



Re: [Dovecot] Sieve GUI

2010-06-01 Thread e-frog
On 01.06.2010 19:24, wrote Phil Howard:
 On Tue, Jun 1, 2010 at 13:07, Gerhard Waldemair gerh...@waldemair.com wrote:
 Is there à GUI for sieve.

 I don't have installed Squrielmail, but won't like to manage the Rules per
 ssh
 
 I would hope there would be a way to put Sieve scripts in place via
 IMAP itself.  Otherwise I won't be able to do that on my server (since
 there won't be system user accounts for mail users ... it's one
 system user virtual here).

This might be helpful:

 http://wiki.dovecot.org/ManageSieve/



Re: [Dovecot] Sieve GUI

2010-06-01 Thread Phil Howard
On Tue, Jun 1, 2010 at 13:42, e-frog e-f...@gmx.de wrote:

 This might be helpful:

  http://wiki.dovecot.org/ManageSieve/

Right now only time for a quick look.  Looks like yet another server
with yet another protocol (via port 4190), rather than integrated into
IMAP as an extension.  I'm doubting all my email clients have support
for this.

Looks like I will need to do a lot of reading on Sieve and ManageSieve
to be sure it's safe.  For one thing, I want to turn the vacation
feature off unless it can cross check a list of valid senders (user
contacts).


Re: [Dovecot] Sieve GUI

2010-06-01 Thread Frank Cusack

On 6/1/10 2:10 PM -0400 Phil Howard wrote:

On Tue, Jun 1, 2010 at 13:42, e-frog e-f...@gmx.de wrote:


This might be helpful:

 http://wiki.dovecot.org/ManageSieve/


Right now only time for a quick look.  Looks like yet another server
with yet another protocol (via port 4190), rather than integrated into
IMAP as an extension.  I'm doubting all my email clients have support
for this.


You're wrong on it being another server; it does work within IMAP.  But
you are right in that almost no clients support it.  Mulberry and
thunderbird are the only ones I know of.  However, there are web clients
that work and given that sieve scripts are rarely modified it probably
isn't too hard to justify forcing your user to go to a web page; much
more possible than forcing them to change mail readers.


Looks like I will need to do a lot of reading on Sieve and ManageSieve
to be sure it's safe.  For one thing, I want to turn the vacation
feature off unless it can cross check a list of valid senders (user
contacts).


Not possible.  You'd have to implement your own customized support
for that.

-frank


Re: [Dovecot] Sieve GUI

2010-06-01 Thread Phil Howard
On Tue, Jun 1, 2010 at 14:45, Frank Cusack
frank+lists/dove...@linetwo.net wrote:
 On 6/1/10 2:10 PM -0400 Phil Howard wrote:

 On Tue, Jun 1, 2010 at 13:42, e-frog e-f...@gmx.de wrote:

 This might be helpful:

  http://wiki.dovecot.org/ManageSieve/

 Right now only time for a quick look.  Looks like yet another server
 with yet another protocol (via port 4190), rather than integrated into
 IMAP as an extension.  I'm doubting all my email clients have support
 for this.

 You're wrong on it being another server; it does work within IMAP.  But
 you are right in that almost no clients support it.  Mulberry and
 thunderbird are the only ones I know of.  However, there are web clients
 that work and given that sieve scripts are rarely modified it probably
 isn't too hard to justify forcing your user to go to a web page; much
 more possible than forcing them to change mail readers.

The RFC describes otherwise ... e.g. a new protocol, which would
connect to a new daemon.  An extension to an Email client can still
connect over to port 4190 to do the ManageSieve thing.

Doing that via a web site, which can also support a few canned scripts
or script options, probably is a better route.  But our internal web
server is still on the to-do list, so that's gonna wait, here.  In the
mean time, I just need a short term solution to divert tagged-as-spam
messages into the INBOX-spam (or something like that) folder.  I'll
probably just go ahead and write a shim program in C (as easy for me
as a script is for others) to check for the tag and add the -m option
to deliver as needed.


 Looks like I will need to do a lot of reading on Sieve and ManageSieve
 to be sure it's safe.  For one thing, I want to turn the vacation
 feature off unless it can cross check a list of valid senders (user
 contacts).

 Not possible.  You'd have to implement your own customized support
 for that.

I guess for now I'll be leaving this out.  I don't want to be a
vacation backscatter source.


Re: [Dovecot] Sieve GUI

2010-06-01 Thread Frank Cusack

On 6/1/10 2:55 PM -0400 Phil Howard wrote:

mean time, I just need a short term solution to divert tagged-as-spam
messages into the INBOX-spam (or something like that) folder.  I'll
probably just go ahead and write a shim program in C (as easy for me
as a script is for others) to check for the tag and add the -m option
to deliver as needed.


seems like it'd be much easier to have a sieve_before script.  i imagine
that's what most dovecot installations are doing.  deliver -m is
implemented via sieve anyway.

-frank


Re: [Dovecot] Sieve GUI

2010-06-01 Thread Timo Sirainen
On ti, 2010-06-01 at 12:02 -0700, Frank Cusack wrote:
 deliver -m is implemented via sieve anyway. 

No. You can use deliver -m without having Sieve installed at all.




Re: [Dovecot] Sieve GUI

2010-06-01 Thread Frank Cusack

On 6/1/10 8:10 PM +0100 Timo Sirainen wrote:

On ti, 2010-06-01 at 12:02 -0700, Frank Cusack wrote:

deliver -m is implemented via sieve anyway.


No. You can use deliver -m without having Sieve installed at all.




That's not how Stephan (?) explained the interaction of -m and sieve
filters to me.  But I guess I misunderstood.


Re: [Dovecot] Sieve GUI

2010-06-01 Thread Timo Sirainen
On ti, 2010-06-01 at 12:22 -0700, Frank Cusack wrote:
 On 6/1/10 8:10 PM +0100 Timo Sirainen wrote:
  On ti, 2010-06-01 at 12:02 -0700, Frank Cusack wrote:
  deliver -m is implemented via sieve anyway.
 
  No. You can use deliver -m without having Sieve installed at all.
 
 
 
 That's not how Stephan (?) explained the interaction of -m and sieve
 filters to me.  But I guess I misunderstood.

Well, yeah, if you do have sieve enabled then it has some interaction
with Sieve. But if you don't have sieve, it's implemented by deliver
internally.