|
|
@ -6,6 +6,7 @@ require "mailbox";
|
|
|
|
require "imap4flags";
|
|
|
|
require "imap4flags";
|
|
|
|
require "regex";
|
|
|
|
require "regex";
|
|
|
|
require "relational";
|
|
|
|
require "relational";
|
|
|
|
|
|
|
|
require "date";
|
|
|
|
require "comparator-i;ascii-numeric";
|
|
|
|
require "comparator-i;ascii-numeric";
|
|
|
|
require "vnd.dovecot.extdata";
|
|
|
|
require "vnd.dovecot.extdata";
|
|
|
|
require "vnd.dovecot.execute";
|
|
|
|
require "vnd.dovecot.execute";
|
|
|
@ -24,6 +25,8 @@ if exists "X-Virus" {
|
|
|
|
stop;
|
|
|
|
stop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if string :is "${extdata.reply_enabled}" "1" {
|
|
|
|
if allof (string :is "${extdata.reply_enabled}" "1",
|
|
|
|
|
|
|
|
currentdate :value "le" "date" "${extdata.reply_enddate}")
|
|
|
|
|
|
|
|
{
|
|
|
|
vacation :days 1 :subject "${extdata.reply_subject}" "${extdata.reply_body}";
|
|
|
|
vacation :days 1 :subject "${extdata.reply_subject}" "${extdata.reply_body}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|