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" "<u...@domain.org>" >
You're probably better off using envelope recipient: envelope :is "to" "recipi...@example.org" Regards, Tom
signature.asc
Description: OpenPGP digital signature