Implement auto-forward and auto-reply
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
require ["variables", "vacation", "vnd.dovecot.extdata"];
|
||||
|
||||
if string :is "${extdata.reply_subject}" "" {
|
||||
|
||||
} else {
|
||||
vacation :days 1 :subject "${extdata.reply_subject}" "${extdata.reply_body}";
|
||||
}
|
||||
|
||||
if string :is "${extdata.forward}" "" {
|
||||
|
||||
} else {
|
||||
redirect "${extdata.forward}";
|
||||
keep;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user