Handle vacation messages properly

master
Pierre Jaury 8 years ago
parent 080985fb56
commit dbbad49f66

@ -1,10 +1,10 @@
require ["variables", "vacation", "vnd.dovecot.extdata"]; require ["variables", "vacation", "vnd.dovecot.extdata"];
if ${extdata.reply_enabled} { if string :is "${extdata.reply_enabled}" "1" {
vacation :days 1 :subject "${extdata.reply_subject}" "${extdata.reply_body}"; vacation :days 1 :subject "${extdata.reply_subject}" "${extdata.reply_body}";
} }
if ${extdata.forward_enabled} { if string :is "${extdata.forward_enabled}" "1" {
redirect "${extdata.forward_destination}"; redirect "${extdata.forward_destination}";
keep; keep;
} }

Loading…
Cancel
Save