Handle vacation messages properly

master
Pierre Jaury 9 years ago
parent 080985fb56
commit dbbad49f66

@ -1,10 +1,10 @@
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}";
}
if ${extdata.forward_enabled} {
if string :is "${extdata.forward_enabled}" "1" {
redirect "${extdata.forward_destination}";
keep;
}

Loading…
Cancel
Save