Dear All,

I am managing an email infrastructure running with the below.
    Rocky Linux 8.7 (Green Obsidian) 4.18.0-425.3.1.el8.x86_64
    postfix-3.5.8-4.el8.x86_64
    dovecot-2.3.16-3.el8.x86_64
    dovecot-pigeonhole-2.3.16-3.el8.x86_64
In reality there are more packages installed and configured. But I limited my enumeration above to what I think is relevant. I will be happy to provide more details if needed and/or requested.

Here is my problem, or at least on what I need help/guidance/assistance.
I have a virtual alias that forward emails to supp...@example.com to my inbox tshimanga.mink...@example.com.
That works fine as I can see those emails in my INBOX.
And I want those emails to be moved in INBOX/support with a local sieve rule.
For that I have the below that works.
    # rule:[support]
    if allof (header :is "to" "supp...@example.com")
    {
        fileinto :create "INBOX/support";
    }

The problem is that the above sieve rule seems not enough to catch email where supp...@example.com is not the "To" fields, as with cases of "Cc:" or "Bcc:".

In the log of postfix, I can see lines with "... postfix/lmtp ... orig_to=<supp...@example.com> ...". The problem I am facing is that "orig_to" is not part of the headers postfix/lmtp (in reality dovecot/lmtp process) can see in order to apply on it a sieve rule.

Any suggestions on how I can also sieve filter those emails ?

Regards,

Tshimanga

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to