27 Feb
2016
27 Feb
'16
1:53 a.m.
On 26-02-16 21:44, Yannik Sembritzki wrote:
Hi everyone,
I am looking for a way to check which mailbox an email is being delivered to in a global sieve filter.
After not being able to find some kind of variable that is populated by dovecot automatically, I tried to use the
Delivered-To
header. I tried a check like this:header :is "delivered-to" "<user@domain.org>"
You're probably better off using envelope recipient:
envelope :is "to" "recipient@example.org"
Regards, Tom