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 discarded, and and those, that SK

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

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

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

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 the

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 actually use a

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=path to point to dovecot-config file's directory. There are two possibilities

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=path to point to dovecot-config file's

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 dovecot

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,

[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;