Skip to content

Commit 8cc1640

Browse files
author
latham
committed
sieve template updates
1 parent 868e7af commit 8cc1640

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

server/conf/sieve_filter.master

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
require ["fileinto", "regex", "date", "relational", "vacation"];
32

43
<tmpl_if name="cc">
@@ -30,9 +29,9 @@ if header :contains "X-Spam-Flag" "YES" {
3029
stop;
3130
}
3231

33-
if allof(currentdate :value "ge" "date" "<tmpl_var name='start_date'>", currentdate :value "le" "date" "<tmpl_var name='end_date'>") {
32+
if allof(currentdate :value "ge" "iso8601" "<tmpl_var name='start_date'>", currentdate :value "le" "iso8601" "<tmpl_var name='end_date'>") {
3433
vacation :days 1
35-
:subject "Out of office reply"
34+
:subject "<tmpl_var name='autoresponder_subject'>"
3635
<tmpl_var name='addresses'>
3736
"<tmpl_var name='autoresponder_text'>";
3837
}

0 commit comments

Comments
 (0)