Re: [Dovecot] sieve discard

2008-09-19 Thread Eugene Gladchenko
Steffen, >> if header >> :matches SK> Do you use regex's, if not :contains or :is may work, too, with less SK> ressources. >> ["To", "Cc", "Bcc", "Reply-To", "In-Reply-To"] >> ["[EMAIL PROTECTED]"] { >> discard; >> stop; >> } >> SK> Do you have the headers of a mail, that got disc

Re: [Dovecot] sieve discard

2008-09-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 19 Sep 2008, Eugene Gladchenko wrote: if header :matches Do you use regex's, if not :contains or :is may work, too, with less ressources. ["To", "Cc", "Bcc", "Reply-To", "In-Reply-To"] ["[EMAIL PROTECTED]"] { discard; sto

Re: [Dovecot] sieve discard

2008-09-18 Thread Jim Horner
> July 23, 2007, Jim Horner wrote: wow a year ago... > I remember it was fixed in 1.0.3 but I've got dovecot-sieve-1.1.5_1 and I'm still using the 1.0 series. But your sieve script looks fine to me. I usually use if anyof ( address :contains ["to", "cc"] ["[EMAIL PROTECTED]"], address

Re: [Dovecot] sieve discard

2008-09-18 Thread Eugene Gladchenko
Jim, July 23, 2007, Jim Horner wrote: JH> Does the keyword/action discard work by default or is there something I have JH> to do in the configuration to get to work... maybe I missed something on JH> http://wiki.dovecot.org/LDA/Sieve JH> I have the following rule: JH> if anyof ( JH> header :

Re: [Dovecot] sieve discard

2007-08-01 Thread Geert Hendrickx
On Wed, Aug 01, 2007 at 03:02:38PM +0300, Timo Sirainen wrote: > sievec and sieved binaries are built only if you use 2) method, because > they need to link with Dovecot's libraries. They can be used to compile and > decompile Sieve scripts. You probably don't need these. According to the Makefile

Re: [Dovecot] sieve discard

2007-08-01 Thread Geert Hendrickx
On Wed, Aug 01, 2007 at 10:52:18AM -0400, Tom Diehl wrote: > I do not know what OS you are packaging for but if you are looking for > rpms, fedora has released rpms that include seive in the same srpm as > dovecot. I took their .src.rpm and rebuilt it on EL4/Centos4 and it spit > out seperate dovec

Re: [Dovecot] sieve discard

2007-08-01 Thread Tom Diehl
On Wed, 1 Aug 2007, Geert Hendrickx wrote: On Wed, Aug 01, 2007 at 03:02:38PM +0300, Timo Sirainen wrote: Or I guess since this hasn't been a problem normally I could just remove it unless it becomes a common problem. Updated the text: Use --with-dovecot= to point to dovecot-config file's dire

Re: [Dovecot] sieve discard

2007-08-01 Thread Geert Hendrickx
On Wed, Aug 01, 2007 at 03:02:38PM +0300, Timo Sirainen wrote: > Or I guess since this hasn't been a problem normally I could just remove > it unless it becomes a common problem. Updated the text: > > Use --with-dovecot= to point to dovecot-config file's directory. > There are two possibilities wh

Re: [Dovecot] sieve discard

2007-08-01 Thread Timo Sirainen
On Wed, 2007-08-01 at 14:46 +0300, Timo Sirainen wrote: > On Wed, 2007-08-01 at 06:51 -0400, Bruce Bodger wrote: > > This comment still remains in the dovecot-sieve "INSTALL"... > > > > "It's also not a good idea to build the plugin against self-compiled > > Dovecot sources, > > but then actuall

Re: [Dovecot] sieve discard

2007-08-01 Thread Timo Sirainen
On Wed, 2007-08-01 at 06:51 -0400, Bruce Bodger wrote: > This comment still remains in the dovecot-sieve "INSTALL"... > > "It's also not a good idea to build the plugin against self-compiled > Dovecot sources, > but then actually use a prebuilt binary package of Dovecot. That > might work > if

Re: [Dovecot] sieve discard

2007-08-01 Thread Bruce Bodger
On Aug 1, 2007, at 6:29 AM, Timo Sirainen wrote: Since the last changes for http://hg.dovecot.org/dovecot-sieve-1.0/ are: Added tag 1.0.2 for changeset 0afb958e7e71 Released v1.0.2. There isn't really anything to be released as v1.0.3. :) Timo, This comment still remains in the dovecot-s

Re: [Dovecot] sieve discard

2007-08-01 Thread Timo Sirainen
On Wed, 2007-08-01 at 08:25 +0200, Nils Vogels wrote: > Hi Timo, > > Timo Sirainen wrote on 23-7-2007 7:13: > > On Mon, 2007-07-23 at 00:52 -0400, Jim Horner wrote: > > > >> Does the keyword/action discard work by default or is there something I > >> have > >> to do in the configuration to ge

Re: [Dovecot] sieve discard

2007-07-31 Thread Nils Vogels
Hi Timo, Timo Sirainen wrote on 23-7-2007 7:13: > On Mon, 2007-07-23 at 00:52 -0400, Jim Horner wrote: > >> Does the keyword/action discard work by default or is there something I have >> to do in the configuration to get to work... >> > > Sorry, looks like I broke this for Dovecot v1.0.2

Re: [Dovecot] sieve discard

2007-07-30 Thread Eugene Gladchenko
Timo, >> Does the keyword/action discard work by default or is there something I have >> to do in the configuration to get to work... TS> Sorry, looks like I broke this for Dovecot v1.0.2. Reject doesn't work for 1.0.2 too. TS> Could you verify that TS> this patch fixes it: http://hg.dovecot.org

Re: [Dovecot] sieve discard

2007-07-23 Thread Jim Horner
On Monday 23 July 2007 01:13:37 Timo Sirainen wrote: > On Mon, 2007-07-23 at 00:52 -0400, Jim Horner wrote: > > Does the keyword/action discard work by default or is there something I > > have to do in the configuration to get to work... > > Sorry, looks like I broke this for Dovecot v1.0.2. Could

Re: [Dovecot] sieve discard

2007-07-22 Thread Timo Sirainen
On Mon, 2007-07-23 at 00:52 -0400, Jim Horner wrote: > > Does the keyword/action discard work by default or is there something I have > to do in the configuration to get to work... Sorry, looks like I broke this for Dovecot v1.0.2. Could you verify that this patch fixes it: http://hg.dovecot.org

[Dovecot] sieve discard

2007-07-22 Thread Jim Horner
Does the keyword/action discard work by default or is there something I have to do in the configuration to get to work... maybe I missed something on http://wiki.dovecot.org/LDA/Sieve I have the following rule: if anyof ( header :contains ["Subject"] ["Test Discard"] ) { discard;