Implement a start date filter for autoreply, fixes #362

This commit is contained in:
kaiyou
2018-09-27 22:45:16 +02:00
parent 91349d62ee
commit fcad52b145
6 changed files with 41 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ if exists "X-Virus" {
}
if allof (string :is "${extdata.reply_enabled}" "1",
currentdate :value "ge" "date" "${extdata.reply_startdate}",
currentdate :value "le" "date" "${extdata.reply_enddate}")
{
vacation :days 1 :subject "${extdata.reply_subject}" "${extdata.reply_body}";