Sieve notify variables not working with body?

Stephan Bosch stephan at rename-it.nl
Fri Nov 16 15:53:39 EET 2018



Op 15-11-2018 om 23:54 schreef Bambero:
> Hi,
>
> I want to send notification like this:
>
> if body :text :matches "*" {
>            notify :importance "3"
>                :message "[NOTIFY] ${1}"
>                "mailto:test at example <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 <mailto:test at example>,com";
> }
>
> Everything works correct.

https://tools.ietf.org/html/rfc5173#section-6

Use the extracttext extension instead:

https://tools.ietf.org/html/rfc5703#section-7

Regards,

Stephan.


More information about the dovecot mailing list