Hello friends, A govt mail sender is relaying mails through one of the servers mail-vi1eur05on2047.outbound.protection.outlook.com or mail-eopbgr1380070.outbound.protection.outlook.com or some similar sounding server - but I am getting the error "Sender address rejected: Domain not found exception" in my mail server. I have checked this and the sender domain does not have a MX record. This is a Govt Body and they are not responding to any mails we tried through their abuse ID and their website etc. We are desperate and so How do I whitelist this domain as an exception as we desperately need the OTP mail sent by this Govt body.
The sender domain has - a special character as well in their domain like abc-dfgh.co.in. after googling I created a file called no_a_record.pcre with the following contents. smsupp...@abc-dfgh.co.in /^.*abc-dfgh.co.in$/ OK also added in main.cf. ... smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access, pcre:/etc/postfix/no_a_record.pcre, reject_unknown_sender_domain however it is not working. Can someone please help. Thanks DP <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>