Hi, In our email server, I want to add following domain Error we get in maillog is following <EOSEXCH.CPIPL.CO.IN>: Helo command rejected: Host not found; I want to add EOSEXCH.CPIPL.CO.IN domain as a white list domain Shall I add one entry in etc/resolve or /etc/hosts?
That domain does not exist in name service. Code: $ host EOSEXCH.CPIPL.CO.IN Host EOSEXCH.CPIPL.CO.IN not found: 3(NXDOMAIN) I do not see how it could work as e-mail domain, except internally in your LAN if you set it up in internal name service. If there is a name server that can resolve that domain, add that name server to /etc/resolv.conf. If that is not a domain but a FQDN hostname, add that hostname to /etc/hosts. Then the host with that line in /etc/hosts can resolve that hostname to IP number.
Depends on your postfix configuration. I can only guess, but you have some kind of helo restriction in place. To whitelist, you could do: Code: smtpd_helo_restrictions = check_helo_access hash:/etc/postfix/check_helo_access permit_mynetworks permit_sasl_authenticated /etc/postfix/check_helo_access emailsecurity.domain.com sender_white_list I doubt that it works right out of the box, because this depends on your other configuration. The postfix manual will help you. [edit] after reading your post again, it could be that this is not what you actually want. You said something about "adding a new domain". Can you explain better what you want to achieve?
The exact error line is like this Jan 5 03:59:02 linode postfix/smtpd[12785]: connect from autodiscover.eospower.com[182.76.82.211] Jan 5 03:59:04 linode postfix/smtpd[12785]: NOQUEUE: reject: RCPT from autodiscover.eospower.com[182.76.82.211]: 450 4.7.1 <EOSEXCH.CPIPL.CO.IN>: Helo command rejected: Host not found; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<EOSEXCH.CPIPL.CO.IN> Since the EOSEXCH.CPIPL.CO.IN is not resolving, my postfix is not accepting the emails from them. Their IT administrator says it is resolving from everywhere except your email server. They have setup local DNS server They are not able to fix it after lot of explanations and I dont want to loose my client because he is not able to receive emails from eospower. So I am adding a fixed domain-ip combination in my system, so that postfix can receive emails.
They are wrong, its not resolving. But you can't do anything about that. Sounds good. I have shown you how to do that. Alternatively you can weaken your helo restrictions to allow invalid hosts: http://www.postfix.org/postconf.5.html#smtpd_helo_restrictions Negative side effect could be more spam
I have also added record in helo_access /^EOSEXCH\.CPIPL\.CO\.IN$/ PERMIT /^182\.76\.82\.211$/ PERMIT