From owner-freebsd-questions Thu May 10 10:22:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id A4BFA37B424 for ; Thu, 10 May 2001 10:22:10 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust249.tnt15.buffalo.ny.da.uu.net [63.57.105.249]) by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA10692; Thu, 10 May 2001 10:22:09 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id NAA01379; Thu, 10 May 2001 13:21:48 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105101721.NAA01379@scarlet.my.domain> Subject: Re: sendmail - masquerading user name In-Reply-To: <20010510122443.A3434@yahoo.com> from David Banning at "May 10, 2001 12:24:43 pm" To: david@banning.com (David Banning) Date: Thu, 10 May 2001 13:21:09 -0400 (EDT) Cc: freebsd-questions@freebsd.org Operating-System: FreeBSD X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm getting Deferred: No route to host when trying to use the smtp.mail.yahoo.com relay service. It seems this may be a problem with my DNS or how this name is getting resolved by sendmail. I am using a cache-only DNS on my local box. Here are my resolv.conf entries. nameserver 127.0.0.1 nameserver 207.217.120.83 nameserver 207.217.77.82 The last two are DNS's used by earthlink customers, the first of course is my box. I do have cache only name server I set up using the info in the Complete FreeBSD. Here is localhost.rev. @ IN SOA scarlet.my.domain. root.scarlet.my.domain. ( 20010428 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS scarlet.my.domain. 1 IN PTR localhost.my.domain. The appropriate parts of named.conf are ... forwarders { 207.217.120.83; 207.217.77.82; 127.0.0.1; }; and ... zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; Lynx works for all the websites I need to go to so it seems that the cache only name server is working. I can also send mail without a problem through earthlink's smtp relay. This problem really has me stumped, but it seems like a solution is just around the corner. Ian As told by, David Banning > > If you want the SMTP service, look up the MXesv for the domain: > > > > [rasputin@dogma rasputin]$ dig yahoo.com mx > > > > > > > > ;; ANSWER SECTION: > > yahoo.com. 21m17s IN MX 1 mx3.mail.yahoo.com. > > yahoo.com. 21m17s IN MX 9 mta-v6.mail.yahoo.com. > > yahoo.com. 21m17s IN MX 1 mx1.mail.yahoo.com. > > yahoo.com. 21m17s IN MX 1 mx2.mail.yahoo.com. > > > > > > Telnet to port 25 (smtp) opens a session to tthe smtp port of the mailserver. > > Since that's how your mail client sends mail, you need to be > > able to hit port 25 to send mail. > > This is helpful. Thanks. > > > Although I doubt a web-based mail service > > would let you send mail through them like that. Then again... > > works for me... > bash-2.03$ mail -v david@banning.com > Subject: test > test message > EOT > > david@banning.com... Connecting to smtp.mail.yahoo.com via relay... > 220 smtp014.mail.yahoo.com ESMTP > >>> EHLO d.tracker > 250-smtp014.mail.yahoo.com > 250-PIPELINING > 250 8BITMIME > >>> MAIL From: > 250 ok > >>> RCPT To: > 250 ok > >>> DATA > 354 go ahead > >>> . > 250 ok 989510681 qp 88007 > david@banning.com... Sent (ok 989510681 qp 88007) > Closing connection to smtp.mail.yahoo.com > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message