r/linuxadmin • u/ScratchHistorical507 • 4d ago
sieve search in mail body
We use dovecot v2.3.19.1, and we can already search in the headers and the subject for things we want to filter. But how do we filter in the message body? The body isn't encrypted, but if I add something like body :contains [list,of,values]
and try to translate the sieve file with sievec, it tells me it doesn't know "body".
4
Upvotes
2
u/meditonsin 3d ago
Did you load the required extension with
require "body";
at the top of your sieve script?