Hi
Is avilable to run thats setup use postfix+milter ?

For test I run thats setup:
1)enable addheaders on dovecot
2)create special rules in sieve like:
if allof (header :contains "return-path" "@domain.ltd",
          header :contains "Received" "domai",
          header :contains "X-HEADERS" "domain")
{
    if header :matches "Subject" "*" {
        set "subject" "${1}";
    }
    deleteheader "Subject";
    addheader :last "Subject" "[INT] ${subject}";
    addheader "X-INFO" "email INT";
}

When sending mail my smtp adds the header "X-HEADERS domain"

3)other options I create a milter....

all works fine with options 2 or options 3 but ........

The problem is with DKIM signing when I try to reply to a message and the external recipient has DMARC verification

If I have a p=none policy in DMARC it works correctly but if p=reject it is known - the message is rejected due to an error for DKIM Because DKIM also signs the subject and it is changed by sieve

For the time being I have only left tagging the addheader header itself and I leave it on the mail client side (e.g. label)

Is there another way ?
Or is it such a stupid idea that it is worth abandoning?


--

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to