From owner-freebsd-questions Wed Aug 4 13:24:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from P1M11.prime.net.ua (P1M11.prime.net.ua [195.64.229.43]) by hub.freebsd.org (Postfix) with ESMTP id CFF3115436 for ; Wed, 4 Aug 1999 13:23:55 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by andyo.prime.net (8.9.3/8.9.3) with ESMTP id XAA00702; Wed, 4 Aug 1999 23:04:25 +0300 (EET DST) Message-ID: <37A89CC1.535DCE10@prime.net.ua> Date: Wed, 04 Aug 1999 23:04:19 +0300 From: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA=20=F7=2E=20=EF=CC=C5=CA=CE=C9=CB?= (Andy V. Oleynik) Reply-To: andyo@prime.net.ua Organization: =?koi8-r?Q?=ED=2D=E9=CE=C6=CF?= X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) X-Accept-Language: ru, uk, en MIME-Version: 1.0 To: Dan Lazin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail no longer relaying, now giving me 'Host unknown' error References: <010001bede46$9e273840$ba9cb8a1@dan> <37A82369.3DC4068C@prime.net.ua> <00d901bedea3$26539540$ba9cb8a1@dan> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is DNS or resolver problem. Dan Lazin wrote: > I've forced sendmail to queue the mail. I then sent it one message to my > user account (which, as usual, still got to me after the queue-process) and > another to my geocities account via the 'booty' alias. I then ran sendmail > with flags -q -v -t as suggested. The output is below. Any ideas why the > name server is returning this response? It happens with any alias on the > server that references to an external address. My suspicion is that sendmail > is querying the local named, which shouldn't be running (I'm using my > upstream DNS instead, which insists that all of these domains exist), and is > likely broken if it is. How do I check that? > > I've also just sent a message straight to bootymasta@geocities.com from pine > (via telnet off the problem machine), and it also returned a message saying > that mail2b.geo.yahoo.com could not be found. What is sendmail doing? > > esther# /usr/sbin/sendmail -q -v -t > Running LAA01785 (sequence 1 of 2) > ... aliased to bootymasta@geocities.com > bootymasta@geocities.com... Connecting to mail.geocities.com. via esmtp... > bootymasta@geocities.com... Connecting to mail1b.geo.yahoo.com. via esmtp... > bootymasta@geocities.com... Connecting to mail1a.geo.yahoo.com. via esmtp... > bootymasta@geocities.com... Connecting to mail2a.geo.yahoo.com. via esmtp... > bootymasta@geocities.com... Connecting to mail2b.geo.yahoo.com. via esmtp... Well, resolver got the MX records for geocities.com and this is strange that U couldnt connect to any of mailexchangers. Could U tcpdump ur telnet on 25 port to any of them using domainnames and IPs that I supplied below: mail.geocities.com internet address = 209.1.224.30 mail.geocities.com internet address = 209.1.224.29 mail.geocities.com internet address = 209.1.224.139 mail.geocities.com internet address = 209.1.224.42 mail.geocities.com internet address = 209.1.224.138 mail.geocities.com internet address = 209.1.224.44 mail??.geo.yahoo.com internet address = 206.251.17.77 (last 4 have the same IP). > > bootymasta@geocities.com... Host unknown (Name server: > mail2b.geo.yahoo.com.: host not found) Well, now U should check ur resolver&bind configuration. If U run local bind U have to have /etc/resolve.conf smth like this: domain ur.isp.domain.name nameserver [127|10|192|177].0.0.1 195.64.229.1 if no local bind- just: domain ur.isp.domain.name nameserver 195.64.229.1 then use nslookup to query ur bind and check answers. for this purpose man nslookup will help U. > > ... Connecting to local... > 220 esther.su.ualberta.ca LMTP ready > >>> LHLO esther.su.ualberta.ca > 250-esther.su.ualberta.ca > 250-8BITMIME > 250-ENHANCEDSTATUSCODES > 250 PIPELINING > >>> MAIL From:<> > 250 2.5.0 ok > >>> RCPT To: > 250 2.1.5 ok > >>> DATA > 354 go ahead > >>> . > 250 2.1.5 dan OK > ... Sent > > Running LAA01783 (sequence 2 of 2) > >>> RSET > 250 2.0.0 ok > ... Using cached LMTP connection for local... > >>> MAIL From: BODY=7BIT > 250 2.5.0 ok > >>> RCPT To: > 250 2.1.5 ok > >>> DATA > 354 go ahead > >>> . > 250 2.1.5 dan OK > ... Sent > Closing connection to local > >>> QUIT > 221 2.0.0 bye > Local mail goes well. > > ----- Original Message ----- > From: Andy V. Oleynik > To: Dan Lazin > Cc: > Sent: Wednesday, August 04, 1999 5:26 AM > Subject: Re: sendmail no longer relaying, now giving me 'Host unknown' error > > > It's difficult to say what is the problem. I recommend U > > to force sendmail on ur relay-server to just queue the mail. > > Then send mail from ur home (it will be queued). Then > > run sendmail -q -v -t to process queue and see what's > > going on. Or try to telnet from ur home/relay PC to > > geocities port 25 and walk through SMTP session and > > again see what's going on. U may send the results here > > to let guys analize them for U. I think ur sendmail's m4 > > macro file would be helpfull too. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Andy V. Oleynik (When U aim for perfection, U discover it's a moving target ö80) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message