Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-11-10 Thread Stephan Bosch
Edgar Fuß schreef: Oh yes sorry, indeed ./configure generates dovecot-config.in from dovecot-config.in.in (been a while since I looked at this). Upon executing 'make' it is transformed into the definitive dovecot-config using the following make rule (Makefile.am in top Dovecot source dir):

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-11-10 Thread Edgar Fuß
> Oh yes sorry, indeed ./configure generates dovecot-config.in from > dovecot-config.in.in (been a while since I looked at this). Upon > executing 'make' it is transformed into the definitive dovecot-config > using the following make rule (Makefile.am in top Dovecot source dir): Yes, after (p

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-11-10 Thread Stephan Bosch
Edgar Fuß wrote: Dovecot needs to be compiled first for this to work. Yes, of course. If Dovecot is compiled, Dovecot's top source directory should contain the dovecot-config file (as explained below). Strange that it is missing at your end. The dovecot-config file is produced upon executin

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-11-10 Thread Edgar Fuß
> Dovecot needs to be compiled first for this to work. Yes, of course. > The dovecot-config file is produced upon executing ./configure. Not with me. I get a dovecot-config.in generated from dovecot-config.in.in during configure and a .../lib/dovecot/dovecot-config installed during install. > Th

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-11-10 Thread Stephan Bosch
Edgar Fuß wrote: Finally, after little more than a year, I finished the first release of the new Sieve implementation for Dovecot. Great! I immediately tried to put this into pkgsrc, but ... The compilation procedure is identical to the cmusieve plugin (http://wiki.dovecot.org/LDA/Sieve). I

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-11-10 Thread Edgar Fuß
> Finally, after little more than a year, I finished the first release of > the new Sieve implementation for Dovecot. Great! I immediately tried to put this into pkgsrc, but ... > The compilation procedure is identical to the cmusieve plugin > (http://wiki.dovecot.org/LDA/Sieve). I cannot see

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-10-29 Thread seriv
Thank you Timo, it was my mistake. In 'plugin {}' section line 'sieve = /var/sievescripts/%n/sieve' worked for both cmusieve and sieve plugins. Command 'fileinto "INBOX/foo/bar"' with private namespace configuration you proposed - also worked in both plugins. I suspected that they have different

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-10-29 Thread sergey ivanov
Hi Stephan, I've tried dovecot-sieve cmusieve with at the same place. As I can see, both problems I've though to be in libsieve, actually are that of dovecot. Both plugins do not expand variables like %n, %h, %u. But just filename works, - if I've set --- sieve = sievescript --- then both have used

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-10-29 Thread sergey ivanov
Hi Stephan, I've tried dovecot-sieve cmusieve with at the same place. As I can see, both problems I've though to be in libsieve, actually are that of dovecot. Both plugins do not expand variables like %n, %h, %u. But just filename works, - if I've set --- sieve = sievescript --- then both have used

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-10-29 Thread Timo Sirainen
On Wed, 2008-10-29 at 20:31 +0100, Stephan Bosch wrote: > sergey ivanov schreef: > > Hi Stephan, > > Thank you for quick fix. I've built it (from changeset > > 646:747107b816dc) and it looks like working with dovecot-1.2. > > I'm doing some testing before put it into Sisyphus repository > > (http:/

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-10-29 Thread Stephan Bosch
sergey ivanov schreef: Hi Stephan, Thank you for quick fix. I've built it (from changeset 646:747107b816dc) and it looks like working with dovecot-1.2. I'm doing some testing before put it into Sisyphus repository (http://en.altlinux.org). What I saw - it does not recognize lines like: --- siev

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-10-28 Thread Stephan Bosch
[EMAIL PROTECTED] schreef: Hi Stephan, I had a problem while compiling 0.1.0 libsieve with gcc3.4. --- /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments --- I propose a patch: Hmm, you are ri

Re: [Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-10-28 Thread seriv
Hi Stephan, I had a problem while compiling 0.1.0 libsieve with gcc3.4. --- /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments --- I propose a patch: $ cat dovecot-1.2-libsieve-gcc34.patch diff

[Dovecot] First release (v0.1.0) of the new Sieve implementation for Dovecot v1.2

2008-10-23 Thread Stephan Bosch
Hello Dovecot users, Finally, after little more than a year, I finished the first release of the new Sieve implementation for Dovecot. The main reason for rewriting the Sieve engine is to provide more reliable script execution and to provide better error messages to users and system administ