Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 13:21:09 -0400 (EDT)
From:      User Ipt Ian Patrick Thomas <ipthomas_77@yahoo.com>
To:        david@banning.com (David Banning)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sendmail - masquerading user name
Message-ID:  <200105101721.NAA01379@scarlet.my.domain>
In-Reply-To: <20010510122443.A3434@yahoo.com> from David Banning at "May 10, 2001 12:24:43 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
	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
> > 
> > <snip>
> > 
> > ;; 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:<sky_tracker@yahoo.com>
> 250 ok
> >>> RCPT To:<david@banning.com>
> 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




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