Displaying 4 results from an estimated 4 matches for "rfc5173".
2018 Nov 15
2
Sieve notify variables not working with body?
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
2018 Nov 16
1
Sieve notify variables not working with body?
...gt; 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/2018111...
2018 Nov 16
0
Sieve notify variables not working with body?
...ot;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.
2018 Sep 19
3
[Sieve] Matches on body content - looking for working example
I have tried to do something like
if body :content ["multipart"] :matches ["Original-Message-ID" ?*?] { set "Original_Message_ID" "${0}"; }
but instead getting Original Message ID I?m getting value from previous match which was
if envelope :matches "From" "*" { set "sender" "${0}"; }
Is there any example of working