From owner-freebsd-questions Thu May 10 11:23:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp010.mail.yahoo.com (smtp010.mail.yahoo.com [216.136.173.30]) by hub.freebsd.org (Postfix) with SMTP id B9B7A37B422 for ; Thu, 10 May 2001 11:23:28 -0700 (PDT) (envelope-from sky_tracker@yahoo.com) Received: from unknown (HELO d.tracker) (216.191.74.227) by smtp.mail.vip.sc5.yahoo.com with SMTP; 10 May 2001 18:23:10 -0000 X-Apparently-From: Received: (from david@localhost) by d.tracker (8.11.3/8.11.3) id f4AEJPJ04931; Thu, 10 May 2001 14:19:26 GMT (envelope-from david) Date: Thu, 10 May 2001 14:18:35 +0000 From: David Banning To: User Ipt Ian Patrick Thomas Cc: freebsd-questions@freebsd.org Subject: Re: getting smtp sendmail working Message-ID: <20010510141834.A4808@yahoo.com> Reply-To: David Banning References: <20010510122443.A3434@yahoo.com> <200105101721.NAA01379@scarlet.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200105101721.NAA01379@scarlet.my.domain>; from ipthomas_77@yahoo.com on Thu, May 10, 2001 at 01:21:09PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ian - I am really in the dark here. When _I_ got setup, I followed the cheat sheets, got help from others and it works. Each time I do it it seems to take less time, but to be honest I am really do not understand the significance of these entries. But if you fix your problems like I do with a little trial-and-error handy work.. here are my samples of what you showed me. I _also_ have cache-only DNS on my machine. At least I _think_ it's working. I really don't know. Lynx works for me fine but I don't know how that means the caching is working. I gave my machine the name d.tracker because I ran into some DNS problems with the single name "tracker" On Thu, May 10, 2001 at 01:21:09PM -0400, User Ipt Ian Patrick Thomas wrote: > 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 Mine says nameserver 216.13.85.13 nameserver 207.181.101.4 > > 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. Mine says; $TTL 3600 @ IN SOA d.tracker. root.d.tracker. ( 20000924 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS d.tracker. 1 IN PTR localhost.d.tracker. > > The appropriate parts of named.conf are ... > > forwarders { > 207.217.120.83; 207.217.77.82; 127.0.0.1; > }; Mine; forwarders { 127.0.0.1; }; > > and ... > > zone "0.0.127.IN-ADDR.ARPA" { > type master; > file "localhost.rev"; > }; Mine; 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