Re: A few new Pigeonhole features

2016-04-14 Thread Stephan Bosch



Op 14-4-2016 om 12:46 schreef Matthias Lay:

On Thu, 14 Apr 2016 12:22:22 +0200
Stephan Bosch  wrote:



I am not sure what you mean exactly. Can you clarify?



sure,

at the moment, if I am using a script like this

fileinto :copy "myspecialplace"

in lda sieve, the hardlinking is not working the mail gets duplicated on
the FS, as far as I can see.

So if the sieve is acting on an already saved mail, I guess it would be
hard linked?


Not sure. I should test that. As far as I know, Dovecot does that 
implicitly if possible.


Regards,

Stephan.


Re: A few new Pigeonhole features

2016-04-14 Thread Matthias Lay
On Thu, 14 Apr 2016 12:22:22 +0200
Stephan Bosch  wrote:


> 
> I am not sure what you mean exactly. Can you clarify?
>


sure,

at the moment, if I am using a script like this

fileinto :copy "myspecialplace"

in lda sieve, the hardlinking is not working the mail gets duplicated on
the FS, as far as I can see.

So if the sieve is acting on an already saved mail, I guess it would be
hard linked?



Regards Matze


Re: A few new Pigeonhole features

2016-04-14 Thread Stephan Bosch



Op 14-4-2016 om 12:08 schreef Matthias Lay:

On Thu, 7 Apr 2016 15:44:04 +0200
Stephan Bosch  wrote:



- Recently, I implemented support for the "imapsieve" extension in
Sieve and its IMAP counterpart (https://tools.ietf.org/html/rfc6785).
This is now in the Pigeonhole master branch. This allows running
Sieve scripts at IMAP activity, rather than at delivery. There are
also facilities for the familiar sieve_before/sieve_after
administrator scripts. The documentation is currently only in th


this sounds great!
I guess this will work with dovecot hardlinks on sieve copying in
contrast to lda sieve?


I am not sure what you mean exactly. Can you clarify?

Regards,

Stephan.


Re: A few new Pigeonhole features

2016-04-14 Thread Matthias Lay
On Thu, 7 Apr 2016 15:44:04 +0200
Stephan Bosch  wrote:


> 
> - Recently, I implemented support for the "imapsieve" extension in
> Sieve and its IMAP counterpart (https://tools.ietf.org/html/rfc6785).
> This is now in the Pigeonhole master branch. This allows running
> Sieve scripts at IMAP activity, rather than at delivery. There are
> also facilities for the familiar sieve_before/sieve_after
> administrator scripts. The documentation is currently only in th


this sounds great! 
I guess this will work with dovecot hardlinks on sieve copying in
contrast to lda sieve?


Greetz Matze



> sources and not on the wiki:
> 
> https://raw.githubusercontent.com/dovecot/pigeonhole/master/doc/plugins/imapsieve.txt
> 
> - Yesterday, I implemented online trace debugging for Sieve scripts: 
> i.e., directly during delivery rather than only using the sieve-test 
> tool. This is also supported for the IMAPSIEVE feature discussed
> above. This is documented in the INSTALL file:
> 
> https://github.com/dovecot/pigeonhole/blob/master/INSTALL#L522
> 
> 
> 
> In other news, I started a specification for a new Sieve feature that 
> allows using the IMAP SPECIAL-USE attributes from Sieve scripts:
> 
> https://tools.ietf.org/html/draft-bosch-sieve-special-use-00
> 
> There is no implementation yet.
> 
> 
> Any comments, suggestions or bug reports are welcome.
> 
> Regards,
> 
> Stephan.


A few new Pigeonhole features

2016-04-07 Thread Stephan Bosch

Hi,

A few new Pigeonhole features that enthusiasts can experiment with:

- Recently, I implemented support for the "imapsieve" extension in Sieve 
and its IMAP counterpart (https://tools.ietf.org/html/rfc6785). This is 
now in the Pigeonhole master branch. This allows running Sieve scripts 
at IMAP activity, rather than at delivery. There are also facilities for 
the familiar sieve_before/sieve_after administrator scripts. The 
documentation is currently only in the sources and not on the wiki:


https://raw.githubusercontent.com/dovecot/pigeonhole/master/doc/plugins/imapsieve.txt

- Yesterday, I implemented online trace debugging for Sieve scripts: 
i.e., directly during delivery rather than only using the sieve-test 
tool. This is also supported for the IMAPSIEVE feature discussed above. 
This is documented in the INSTALL file:


https://github.com/dovecot/pigeonhole/blob/master/INSTALL#L522



In other news, I started a specification for a new Sieve feature that 
allows using the IMAP SPECIAL-USE attributes from Sieve scripts:


https://tools.ietf.org/html/draft-bosch-sieve-special-use-00

There is no implementation yet.


Any comments, suggestions or bug reports are welcome.

Regards,

Stephan.