Sieve notify variables not working with body?

Bambero bambero at gmail.com
Fri Nov 16 00:54:06 EET 2018


Hi,

I want to send notification like this:

if body :text :matches "*" {
           notify :importance "3"
               :message "[NOTIFY] ${1}"
               "mailto:test at example,com";
}

The notification works but the variable ${1} seems to be empty.

But in this case:

if header :matches "Subject" "*" {
           notify :importance "3"
               :message "[NOTIFY] ${1}"
               "mailto:test at example,com";
}

Everything works correct.

Regards,
Bambero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20181115/298a621e/attachment-0001.html>


More information about the dovecot mailing list