Mailing List Archive

failed key import from office365
Hi,
I have problem with duplicate emails from office 365, when domain of sender
isn't properly configured.
When sender has some problem with DKIM or SPF record i have warning in exim
"PDKIM: d=[domain].onmicrosoft.com s=selector1-[domain]-onmicrosoft-com
[failed key import].
I have control = dkim_disable_verify
Email is delivered to reciver, but microsoft's smtp servers send this email
next time, every 15 minutes (always from different smpt ip address).

Of course, everything is ok, when domain is correct. Both with DKIN
configured or without but with good SPF record.

Does anyone have any idea how to solve this problem, because many companies
are switching to 365 and making mistakes in dns configuration?

Regards, Edytka.


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: failed key import from office365 [ In reply to ]
On 16/07/2020 11:13, Edyta Sapijaszko via Exim-users wrote:
> When sender has some problem with DKIM or SPF record i have warning in exim
> "PDKIM: d=[domain].onmicrosoft.com s=selector1-[domain]-onmicrosoft-com
> [failed key import].
> I have control = dkim_disable_verify

The two of those shouldn't go together. Are you certain that control
is active for these mails?

> Email is delivered to reciver, but microsoft's smtp servers send this email
> next time, every 15 minutes (always from different smpt ip address).

Either they're not seeing our acceptance of the message (possibly thanks
to the time we're spending trying to load the DKIM key from DNS),
or (much less likely) we have a bug.
--
Cheers,
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/