On 18.03.21 22:21, Durga Prasad Malyala wrote:
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.
does that domain have A 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,
this has to be "check_sender_access pcre:/etc/postfix/no_a_record.pcre". however, you can put abc-dfgh.co.in to /etc/postfix/access, you don't need pcre for that. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. I wonder how much deeper the ocean would be without sponges.