Displaying 1 result from an estimated 1 matches for "tehdomain".
Did you mean:
newdomain
2020 Oct 20
2
Sieve body test
I have an email where I need to edit the body. I know this is generally a bad idea, but in this case I need to do it. The email comes in automatically every week or two, and so I thought that SIEVE would be the way to go.
if header :contains "from" "theaddress at tehdomain" {
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 "fo...