Double Dkim Setup

I have checked that as well in MX tool box

Ok.

So 1

  1. The order should not affect validation of your signatures.
  2. You may want to look at using the DKIM helper. Configuring DKIM Signing - KumoMTA Docs

That can make it a lot easier to manage signing, including triple signing.

the order is affecting the signature in the Outlook

which I have tested

I have used that as well but the result is same

(no key for signature) is not an error related to signing order, unless you have actually re-ordered the signatures and seen the error go away, which I assume you have not yet done since you were asking about how to change the signing order.

That said, if your tests say this is dependent on signing order, then you simply need to reverse the calls to dkim_sign. Personally I’d work with signer1, signer2, signer3 rather than re-defining the signer multiple times.

ok :ok_hand: thanks let me try that

@yearning-hyena @free-spirited-yorksh thank you so much guys for your help

It works as I was expecting

Good to hear.

Sorry for distributing you again

Just one help required what should I pass in the from_header()

as my domain is not coming properly

can u help me in this

What do you intend to sign on? All three signing the same domain? One based on the from header and two fixed to other domains?

All the domain should be different, one based on from header and two from the different domain