SIEVE Vacation Start and End Date
From MsgServerDocWiki
Does SIEVE vacation understand a vacation start and end date?
No, but nothing prevents you from using a different Sieve externsion (specifically currentdate) to control when the vacation action is used. For example:
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."; }
You need to be running Messaging Server 6.3 for this to work; currentdate support is not present in earlier versions. Additional information about the currentdate test can be found in the Internet Draft http://www.ietf.org/internet-drafts/draft-freed-sieve-date-index-06.txt.
Note: The "days" parameter controls the length of time information about any vacation responses that are sent is retained, so that it stops repeated replies. Additional information about the vacation action can be found in RFC 5230.
Categories: FAQ | MTA

