Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 22:46:06 +0100
From:      Hexren <me@hexren.net>
To:        freebsd-questions@freebsd.org
Subject:   Sendmail host lookup problem
Message-ID:  <4939268274.20050206224606@hexren.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I have a LAN in the 192.168.0 range. I am trying to send mail from
192.168.0.78 (gc-infra.steenbuck.net) to 192.168.0.29
(bettchen.steenbuck.net).
This leeds to 550 errors. "Host unknown (Name server: bettchen.steenbuck.net: host not found)"

192.168.0.29 is also acting as my DNS Server. Both machines have correct (or so I hope) entries in the nameserver. I can dig their names and
"dig -x" their pointers. Be aware of the fact
that I am not the owner of steenbuck.net and just tell my own machines
that I am because I like the name.

Interestingly adding "192.168.0.29 bettchen bettchen.steenbuck.net" to /etc/hosts
solves my problem.

I sniffed the network and gc-infra does the same in both cases. It
asks DNS for the IP of bettchen and gets it. Only when bettchen is in
/etc/hosts it then sends the mail otherwise not.

I've googled around a bit and searched the list and found similiar
problems:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/068127.html
Only I do not have any kind if W2K in my LAN. And the DNS
server is FreeBSD (BIND).

I am lost. Has anybody an idea how I can investigate further into my
problem.

Thanks
Hexren


Attachments:
maildmp_dns    :ethereal compatible dump without target host
(bettchen) in /etc/hosts

maildmp_hosts  :ethereal compatible dump with target host
(bettchen) in /etc/hosts
[-- Attachment #2 --]
ò*BRR.0;".*EDN@$N50tgc-infra	steenbucknet*BZ!.*.0;"Ev@N5bUttgc-infra	steenbucknetQ&ns
hostmaster'p $Q*B"``.0;".*ERN@NĻ5>ugc-infra	steenbucknet	steenbucknet*B#.*.0;"E@N5Ļptugc-infra	steenbucknet	steenbucknet#Q&ns#
hostmaster#'p $Q*B$RR.0;".*EDN@!N[50@vgc-infra	steenbucknet*BS&.*.0;"Eu@N5[aKvgc-infra	steenbucknetNnsD*BSRR.0;".*EDN@ N50wbettchen	steenbucknet*BwV.*.0;"Ev@N5b>Nwbettchen	steenbucknetQ&ns
hostmaster'p $Q*BWRR.0;".*EDN@N50xbettchen	steenbucknet*BX.*.0;"Eu@N5axbettchen	steenbucknetnsD
[-- Attachment #3 --]
òLBH
RR.0;".*EDM@PN50SZgc-infra	steenbucknetLBt
.*.0;"Ev@#N5bASZgc-infra	steenbucknetQ&ns
hostmaster'p $QLB+
``.0;".*ERM@@NT5>S[gc-infra	steenbucknet	steenbucknetLB
.*.0;"E@N5TpS[gc-infra	steenbucknet	steenbucknet#Q&ns#
hostmaster#'p $QLB
RR.0;".*EDM@MN50S\gc-infra	steenbucknetLB&
.*.0;"Eu@"N5aS\gc-infra	steenbucknetNnsDLBg
RR.0;".*EDM@LN50sS]bettchen	steenbucknetLB
.*.0;"Ev@ N5b!S]bettchen	steenbucknetQ&ns
hostmaster'p $QLB
RR.0;".*EDM@KNo50uS^bettchen	steenbucknetLB
.*.0;"Eu@ N5oaS^bettchen	steenbucknetnsDNBNN.0;".*E@M@@k5N/Rf
NBNN.*.0;"E@@@_N/Rf}b
|NB<BB.0;".*E4M@@k@N/Rf<
|NBNN.*.0;"E@@@VN۴qNL
|NB<<.0;".*E(M@@kJNq۴NMPRNB.*.0;"E@@N/Rfם
|220 bettchen.steenbuck.net ESMTP Sendmail 8.13.1/8.13.1; Sun, 6 Feb 2005 21:51:26 +0100 (CET)
NB	BB.0;".*E4M@@k=N/RfN;
|NBζ__.0;".*EQM@@kN/RfN
|EHLO gc-infra.steenbuck.net
NB33.*.0;"E%@@oN/NRf
|250-bettchen.steenbuck.net Hello gc-infra.steenbuck.net.0.168.192.in-addr.arpa [192.168.0.78] (may be forged), pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
NB{tt.0;".*EfM@@k	N/Rf?E
|MAIL From:<root@gc-infra.steenbuck.net> SIZE=402
NBBxx.*.0;"Ej@@'N/?RfZ
|250 2.1.0 <root@gc-infra.steenbuck.net>... Sender ok
NBoo.0;".*EaM@@k
N/Rfu"
|RCPT To:<root@bettchen.steenbuck.net>
DATA
NB.*.0;"E@@N/uRf+
|250 2.1.5 <root@bettchen.steenbuck.net>... Recipient ok
354 Enter mail, end with "." on a line by itself
NB.0;".*EM@@hN/Rf
|Received: from gc-infra.steenbuck.net (localhost [127.0.0.1])
	by gc-infra.steenbuck.net (8.13.1/8.13.1) with ESMTP id j16KpO8X029079
	for <root@bettchen.steenbuck.net>; Sun, 6 Feb 2005 20:51:25 GMT
	(envelope-from root@gc-infra.steenbuck.net)
Received: (from root@localhost)
	by gc-infra.steenbuck.net (8.13.1/8.13.1/Submit) id j16KpOHw029078
	for root@bettchen.steenbuck.net; Sun, 6 Feb 2005 21:51:24 +0100 (CET)
	(envelope-from root)
Date: Sun, 6 Feb 2005 21:51:24 +0100 (CET)
From: Charlie Root <root@gc-infra.steenbuck.net>
Message-Id: <200502062051.j16KpOHw029078@gc-infra.steenbuck.net>
To: root@bettchen.steenbuck.net
Subject: test

test
NBO
BB.*.0;"E4@@YN/Rf6
|NBO
EE.0;".*E7M@@k5N/Rf
|.
NB-e
zz.*.0;"El@@ N/RfqJ
|250 2.0.0 j16KpQgt000868 Message accepted for delivery
NB5g
HH.0;".*E:M@@k1N/Rf
|QUIT
NB{
ww.*.0;"Ei@@"N/Rf
|221 2.0.0 bettchen.steenbuck.net closing connection
NB{
BB.0;".*E4M@@k6N/RfM6S
|NB|
BB.*.0;"E4@@VN/MRf6S
|NB
BB.*.0;"E4@@UN/MRf6R
|NBF
BB.0;".*E4M@@k5N/RfN6S
|

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4939268274.20050206224606>