Commit 8cc16404 authored by latham's avatar latham
Browse files

sieve template updates

parent 868e7aff
require ["fileinto", "regex", "date", "relational", "vacation"];
<tmpl_if name="cc">
......@@ -30,9 +29,9 @@ if header :contains "X-Spam-Flag" "YES" {
stop;
}
if allof(currentdate :value "ge" "date" "<tmpl_var name='start_date'>", currentdate :value "le" "date" "<tmpl_var name='end_date'>") {
if allof(currentdate :value "ge" "iso8601" "<tmpl_var name='start_date'>", currentdate :value "le" "iso8601" "<tmpl_var name='end_date'>") {
vacation :days 1
:subject "Out of office reply"
:subject "<tmpl_var name='autoresponder_subject'>"
<tmpl_var name='addresses'>
"<tmpl_var name='autoresponder_text'>";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment