Re: sieve vacation with start and end date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Adam Tauno Williams <awilliam@xxxxxxxxxxxxx>:

> On Sun, 2014-12-28 at 10:20 +0100, Marcus Schopen wrote:
>> does sieve vacation understand a start and end date? Something like this
>> does not work:
>> -------
>> require ["date", "relational", "vacation"];
>> if allof(currentdate :value "ge" "date" "2007-06-30",
>>          currentdate :value "le" "date" "2007-07-07")
>> { vacation :days 7  "I'm away during the first week in July."; }
>> -------
>> System: cyrus 2.4.12 on Ubuntu 12.04 LTS
>
> It may or may not;  depends on what extensions/plugins are activated in
> your SIEVE.  Is the above documented syntax from somewhere?
>
> Horde's Ingo application uses regular expressions to match dates in
> order to implement vacation start/end.  I believe date matching in SIEVE
> is a relatively recent thing, and I am not sure to what level it is
> implemented [anywhere].
>
Cyrus sieve does not have the date extension. I wish it did. :)

Regards,
Ken


----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux