CentOS Linux Server Guide

iRedMail  Customization - Solving Recipient address rejected: Domain not Found issue

 

There was issue faced by one of my customer where most of the emails could not be send properly and rejected by iRedMail.

 

Recipient address rejected: Domain not found

 

I found out the error was generated due to some dns resolving issue of my ISP.  Let us investigate further

vi /etc/postfix/main.cf

 

Go to the line smtpd_recipient_restrictions under main.cf. You can remove all values highlighted as below

smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_ recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_ unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_una uth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname , check_policy_service inet:127.0.0.1:10031

 

My setting for smtpd_recipient_restrictions is as below:

smtpd_recipient_restrictions =  permit_mynetworks, permit_sasl_authenticated, reject_una uth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname , check_policy_service inet:127.0.0.1:10031

 

Now restart the postfix services and try to sent again

 service postfix restart

 

Back to Step by Step Guide on CentOS Linux Postfix Mail Server



Copyright 2011 http://www.1a-centosserver.com All Rights Reserved

All trademarks are the property of their respective owners.

Contact Us | Terms of Use | Privacy Policy