Re: [PATCH 0/4] Add VACATION :seconds support

2012-05-09 Thread Bron Gondwana
On Wed, May 09, 2012 at 12:08:53PM +1000, Greg Banks wrote: On Tue, May 8, 2012, at 01:52 PM, Bron Gondwana wrote: On Tue, May 8, 2012, at 01:50 PM, Philipp Hahn wrote: Hello, Am Dienstag 08 Mai 2012 13:07:04 schrieb Bron Gondwana: On Tue, May 8, 2012, at 11:54 AM, Philipp

Re: Add VACATION :seconds support

2012-05-09 Thread Philipp Hahn
Hello, Am Dienstag 08 Mai 2012 13:47:46 schrieb Дилян Палаузов: Extending sieve_listextensions() probably requires adding vacation-seconds in sieve_extensions in lib/imapoptions. There is one small problem: vacation-seconds contains a dash, which config2header converts verbatim into the

[PATCHv2 0/4] Add VACATION :seconds support

2012-05-09 Thread Philipp Hahn
Hello, some time ago I implemented RFC 6131 http://tools.ietf.org/html/rfc6131, which adds a variante of the VACATION extension supporting seconds instead of days. The original patch was for version 2.2.x and implemented a draft version. I introduced a new OP-code, which uses seconds instead of

[PATCHv2 4/4] Make min/max VACACTION response configurable

2012-05-09 Thread Philipp Hahn
Add imapoptions to change the minimum and maximum allowed time interval between consecutive vacation responses. The defaults are still 3 and 90 days, which are too high for the vacation-seconds extension. Blindly lowering the limit might be problematic for high traffic sites. Signed-off-by:

[PATCHv2 1/4] config2header: Replace invalid characters

2012-05-09 Thread Philipp Hahn
The sieve extension 'vacation-seconds' contains a dash, which is not an allowed character for C identifiers [A-Z_a-z][0-9A-Z_a-z]*. Replace all other characters by _ when generating IMAP_ENUMs. Signed-off-by: Philipp Hahn h...@univention.de --- tools/config2header |7 ++- 1 files

Re: [PATCHv2 4/4] Make min/max VACACTION response configurable

2012-05-09 Thread Philipp Hahn
Hello, Am Dienstag 08 Mai 2012 08:52:18 schrieb Philipp Hahn: diff --git a/sieve/sieve_interface.h b/sieve/sieve_interface.h index 35bb88f..18515dd 100644 --- a/sieve/sieve_interface.h +++ b/sieve/sieve_interface.h @@ -84,7 +84,7 @@ typedef int sieve_get_body(void *message_context, const

Libtool and Support for Shared Libraries

2012-05-09 Thread Дилян Палаузов
Hello, I wanted to upload a new branch for testing libtool/shared libraries functionality, but something went wrong and the 13 commits were uploaded on top of 'master' instead of creating a separate branch. I am sorry for the surprises this might cause. Anyway... I have updated