LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-15-2017, 07:28 AM   #1
lq_win
Member
 
Registered: Jul 2015
Posts: 66

Rep: Reputation: Disabled
Question 450 4.7.1 Client host rejected: cannot find your hostname


Hello All,

My postfix server is behind nat (10.100.100.6 <> 202.1.2.3)
my ip masquerade is 202.7.8.9

mydomain.com PTR address is 202.7.8.9
and mail.mydomain.com PTR address is 202.7.8.9

why I am unable to send email to a domain (ie. otherdomain.com)
with the following bounced back message:

This is the mail system at host mail.mydomain.com

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The mail system

<someone@otherdomain.com>: host mail.otherdomain.com[101.a.b.c] said: 450 4.7.1 Client
host rejected: cannot find your hostname, [202.1.2.3] (in reply to RCPT
TO command)

please help..

thanks a lot in advance

Regards
Win
 
Old 11-15-2017, 08:00 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Likely because it found your 202.1.2.3 as your mail server and did NOT find a PTR back to a name for that IP. A lot of sites these days reject mail coming from IPs that have no PTR records. Some even reject if they consider the reverse as "generic" which is the default for many reverse lookups. You need to put in a PTR that is specific to the purpose of this IP.
Is 202.1.2.3 what you have in your MX record?
Do you have a PTR for 202.1.2.3?
 
Old 11-15-2017, 08:33 AM   #3
lq_win
Member
 
Registered: Jul 2015
Posts: 66

Original Poster
Rep: Reputation: Disabled
202.1.2.3 had PTR but this problem already solved .. by configuring my mikrotik


chain=srcnat action=src-nat to-addresses=202.1.2.3
src-address-list=10.100.100.6
out-interface=[WAN Interface]
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] postfix client host rejected ilvista Linux - Server 2 12-23-2018 06:59 AM
Client Host Rejected (Postfix) for Mynetworks on 587 deathsfriend99 Linux - Server 2 10-01-2014 02:04 PM
450 4.7.1 Client host rejected: cannot find your hostname,[XXX.XXX.XX.XX] Hermes101 Linux - Newbie 1 02-11-2014 04:21 AM
nVidia: client 6 rejected from local host johnny2 Linux - Hardware 0 02-01-2005 04:09 PM
Postfix error: Client host rejected: cannot find your hostname. olegarr Linux - Networking 2 06-28-2003 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration