Displaying 1 result from an estimated 1 matches for "foobar13".
Did you mean:
foobar1
2020 Oct 20
2
Sieve body test
...in" {
if body :raw :contains "A string" {
# Magic happens here
}
}
It looks like what I need to do is enable and use vnd.dovecot.filter to pipe the message to a script. (Er. | not vnd.dovecot.pipe)
So, if I wanted to transform the message so that the string "foobar13" was changed to "foo-bar-13"
I would add
filter :try "myfoobarfix.sh"
After "magic happens here">
OK so far?
Now, what are the requirements on the executable script? Would it literally be as simple as an executable file that simply said
sed -e ...