Commit 402bb36d authored by marknl's avatar marknl
Browse files

FS#1681 - Out-of-Office too early - UNTESTED!

I've NOT tested this fix, but i think it should be fine.
Someone with Dovecot, please test.
parent cf03c664
require ["fileinto", "regex", "vacation"];
require ["fileinto", "regex", "date", "relational", "vacation"];
<tmpl_if name="cc">
# Send a copy of email to
......@@ -29,8 +29,11 @@ if header :contains "X-Spam-Flag" "YES" {
# Stop here so that we do not reply on spams
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'>";
......@@ -113,6 +113,12 @@ class maildeliver_plugin {
// Move junk
// Set autoresponder start date
// Set autoresponder end date
// Autoresponder
Supports Markdown
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