Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
8cc16404
Commit
8cc16404
authored
Nov 04, 2011
by
latham
Browse files
sieve template updates
parent
868e7aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/conf/sieve_filter.master
View file @
8cc16404
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'>";
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment