5:bbad5ebb65c0
Anton Shestakov <engored@ya.ru>, Mon, 04 Feb 2019 04:02:28 +0000
(none)

previous change 4:4e3995a38015

99notify.sieve

Permissions: -rw-r--r--

Other formats: Feeds:
require ["vnd.dovecot.pipe", "copy", "variables"];
if address :matches :all ["to", "cc"] ["john*@example.com", "nospam@example.com"] {
if header :matches "from" "*" { set "from" "${1}"; }
if header :matches "subject" "*" { set "subject" "${1}"; }
pipe :copy :try "xmpp-headline.sh" ["${from}", "${subject}"];
}