Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Name or service unknown

Status
Not open for further replies.

unixfreak

ISP
Oct 4, 2003
632
GB
Hi,
I'm a pussled by this message and rejecting most emails from correctly setup email systems:

Sep 15 09:26:16 localhost postfix/smtp[4554]: warning: no MX host for test.com has a valid A record
Sep 15 09:26:16 localhost postfix/smtp[4554]: 01D14F0: to=<test@test.com>, relay=none, delay=1, status=bounced ([test.com.s200b2.psmtp.com]: Name or service not known)

I've upgraded Debian (hence gone from 2.1.4 to 2.1.5) and is using the same config file. Why is this happening?

Cheers
 

Also, if I enable 'reject_unknown_client', which worked previously, I get:

Sep 15 09:32:50 localhost postfix/smtpd[4600]: NOQUEUE: reject: RCPT from unknown[207.126.144.85]: 450 Client host rejected: cannot find your hostname, [207.126.144.85]; from=<henrik.morsing@camelotinteractive.com> to=<henrik@morsing.cc> proto=SMTP helo=<psmtp.com>

for pretty much any client sending even though I get:

emil:/etc/postfix# dig -x 207.126.144.85

; <<>> DiG 9.2.4 <<>> -x 207.126.144.85
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54841
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 0

;; QUESTION SECTION:
;85.144.126.207.in-addr.arpa. IN PTR

;; ANSWER SECTION:
85.144.126.207.in-addr.arpa. 14400 IN PTR s200aog1.obsmtp.com.

;; AUTHORITY SECTION:
144.126.207.in-addr.arpa. 14400 IN NS ns7.ns.postini.com.
144.126.207.in-addr.arpa. 14400 IN NS ns1.ns.postini.com.
144.126.207.in-addr.arpa. 14400 IN NS ns2.ns.postini.com.
144.126.207.in-addr.arpa. 14400 IN NS ns4.ns.postini.com.
144.126.207.in-addr.arpa. 14400 IN NS ns5.ns.postini.com.
144.126.207.in-addr.arpa. 14400 IN NS ns6.ns.postini.com.

;; Query time: 528 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Sep 15 09:33:21 2005
;; MSG SIZE rcvd: 197

 

This is getting stupid. Me and a friend both upgraded Debian 3.0 to 3.1 which means an upgrade from postfix 2.1.4 to 2.1.5. We both immidiately ran into the same problem which was 'private/policy' not working. The problems then extended for me only, to the mail server rejecting everything if I set 'reject_unknown_sender' because it couldn't lookup IP addresses and it also complained about 'no MX servers having an A record'. Neither of these claims are true.

I have now upgraded to 2.2 to get rid of these bugs but it hasn't fixed any of them.

Has no-one experienced these issues? What could they be caused by?

Thanks in advance
 
Your problems appear to be DNS related. One idea: are you running postfix chrooted? If so, have you copied /etc/resolv.conf into the jail?
 

Thanks but it's not in a jail and it's nothing related to DNS itself. Postfix 2.1.5 and 2.2 both have an issue with reverse DNS. What it is I don't know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top