1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/dovecot/sieve/before.sieve
2016-05-29 15:54:53 +02:00

11 lines
293 B
Sieve

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