Aleksander Machniak
2013-08-02 b2c5869fe24eff81a92bc233bfef374bdb7afc31
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";