mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-02-24 07:53:04 +08:00
13 lines
376 B
Sieve
13 lines
376 B
Sieve
require ["enotify", "fcc", "mailbox", "editheader", "imap4flags"];
|
|
|
|
if header :matches "Subject" "*TPS*" {
|
|
notify :message "It's time to file your TPS report."
|
|
:fcc "Notifications" :create
|
|
"mailto:sms_gateway@remote.org?subject=It's%20TPS-o-clock";
|
|
|
|
deleteheader "Subject";
|
|
addheader "Subject" "${1}**censored**${2}";
|
|
setflag "$seen";
|
|
}
|
|
|
|
keep;
|