Hi @luisedofon
The message is clear, the domain messaging.microsoft.com
has an MX record defined:
$ dig messaging.microsoft.com mx +noall +ans
messaging.microsoft.com. 2636 IN MX 10 messaging-microsoft-com.mail.protection.outlook.com.
But host messaging-microsoft-com.mail.protection.outlook.com
doesn’t resolve to an IP.
$ dig messaging-microsoft-com.mail.protection.outlook.com a +noall +ans
$ dig messaging-microsoft-com.mail.protection.outlook.com aaaa +noall +ans
And obviously, that’s wrong, that is a Microsoft issue.
Anyway, if those messages are importat to you, edit /etc/exim4/exim4.conf.template
and in block acl_check_rcpt
add this line
accept senders = *@messaging.microsoft.com
Before this one:
require verify = sender
In context:
[...]
deny message = Restricted characters in address
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
accept senders = *@messaging.microsoft.com
require verify = sender
accept hosts = +relay_from_hosts
control = submission
accept authenticated = *
control = submission/domain=
[...]
Once modified, restart exim4:
systemctl restart exim4