1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-16 10:59:53 +02:00
Mailu/dovecot/sieve/before.sieve

11 lines
293 B
Sieve
Raw Normal View History

2016-04-20 21:20:02 +02:00
require ["variables", "vacation", "vnd.dovecot.extdata"];
2016-05-29 15:54:53 +02:00
if string :is "${extdata.reply_enabled}" "1" {
2016-04-20 21:20:02 +02:00
vacation :days 1 :subject "${extdata.reply_subject}" "${extdata.reply_body}";
}
2016-05-29 15:54:53 +02:00
if string :is "${extdata.forward_enabled}" "1" {
redirect "${extdata.forward_destination}";
2016-04-20 21:20:02 +02:00
keep;
}