[Sieve] Matches on body content - looking for working example

Adam Raszkiewicz araszkiewicz at medallies.com
Wed Sep 19 22:54:06 EEST 2018


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 :matches matching-type with body?

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180919/11816ce3/attachment-0001.html>


More information about the dovecot mailing list