Hi
Thenx for replay
Bill I have seperate setup like

1)one serve for outgoing
2)one server for incomming + dovecot cluster

W dniu 10.09.2024 o 18:07, Bill Cole via Postfix-users pisze:

On 2024-09-10 at 08:05:21 UTC-0400 (Tue, 10 Sep 2024 14:05:21 +0200)
natan via Postfix-users <[email protected]>
is rumored to have said:

    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";
    }

All of that should only apply on incoming messages, as dovecot and its sieve tool are only involved in final local delivery and IMAP.

    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

How are you configured that you are passing locally-submitted mail through sieve? That shouldn't be possible...


    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 -- [email protected]
    To unsubscribe send an email to [email protected]


    [email protected]  [email protected]
    (AKA @[email protected] and many *@billmail.scconsult.com addresses)
    Not Currently Available For Hire

_______________________________________________
Postfix-users mailing list [email protected]
To unsubscribe send an email [email protected]

--
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to