marknl
2011-09-13 402bb36d8b36991174508cef4093896823668b61
server/conf/sieve_filter.master
@@ -1,5 +1,5 @@
require ["fileinto", "regex", "vacation"];
require ["fileinto", "regex", "date", "relational", "vacation"];
<tmpl_if name="cc">
# Send a copy of email to
@@ -29,8 +29,11 @@
  # Stop here so that we do not reply on spams
  stop;
}
if allof(currentdate :value "ge" "date" "<tmpl_var name='start_date'>", currentdate :value "le" "date" "<tmpl_var name='end_date'>") {
vacation  :days 1
  :subject "Out of office reply"
  <tmpl_var name='addresses'>
  "<tmpl_var name='autoresponder_text'>";
}
</tmpl_if>