opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cyrus-devel@lists.andrew.cmu.edu 9 May 2012 • 4:26PM -0400

Re: Add VACATION :seconds support
by Greg Banks

REPLY TO AUTHOR
 
REPLY TO GROUP






On Wed, May 9, 2012, at 10:07 AM, Philipp Hahn wrote:
> 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 enum-name
> IMAP_ENUM_SIEVE_EXTENSIONS_VACATION-SECONDS.
> I can either use an underscore in the list of extensions or patch
> config2header to replace '[^_0-9A-Za-z]' with '_'. Opinions?

I'd go with your second option.  Both '-' and '_' work in keys, I see no
reason for  '-' not to work in values.

--
Greg.

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.