ftimme
2012-05-30 2cb1563f63386b35a69e460051aa9b4a2851d104
server/conf/sieve_filter.master
@@ -1,9 +1,8 @@
require ["fileinto", "regex", "date", "relational", "vacation"];
require ["fileinto", "regex", "vacation"];
<tmpl_if name="cc">
# Send a copy of email to
redirect "<tmpl_var name='cc'>";
keep;
</tmpl_if>
<tmpl_if name="move_junk" op="==" value="y">
@@ -17,6 +16,8 @@
<tmpl_var name='custom_mailfilter'>
keep;
<tmpl_if name="autoresponder" op="==" value="y">
#################################################################
# Autoreply
@@ -28,11 +29,8 @@
  # Stop here so that we do not reply on spams
  stop;
}
if allof(currentdate :value "ge" "iso8601" "<tmpl_var name='start_date'>", currentdate :value "le" "iso8601" "<tmpl_var name='end_date'>") {
vacation  :days 1
  :subject "<tmpl_var name='autoresponder_subject'>"
  <tmpl_var name='addresses'>
  :subject "Out of office reply"
  # :addresses ["test@test.int", "till@test.int"]
  "<tmpl_var name='autoresponder_text'>";
}
</tmpl_if>
</tmpl_if>