Thomas Bruederli
2014-06-04 3412e50b54e3daac8745234e21ab6e72be0ed165
plugins/managesieve/tests/src/parser_enotify_b
@@ -1,6 +1,6 @@
require ["enotify","envelope","variables"];
# rule:[from]
if envelope :all :matches "from" "*"
if envelope :matches "from" "*"
{
   set "env_from" " [really: ${1}]";
}
@@ -10,7 +10,7 @@
   set "subject" "${1}";
}
# rule:[from notify]
if address :all :matches "from" "*"
if address :matches "from" "*"
{
   set "from_addr" "${1}";
   notify :message "${from_addr}${env_from}: ${subject}" "mailto:alm@example.com";