domain-name-problem-on-sending-email-to-someone@mydomain.com

Joe-Cho joecho at everestkc.net
Fri Feb 7 16:12:26 CST 2003


Thank you Dustin,

I appreciate your input. It seems you don't sleep much until mid-night.
I guess everything works fine at this point with a KCLUG folks last night.
I had to add two things in order make it work for receiving  domain email
address,
for instance him at infosavvy.tech.new.net instead of
him at ns1.infosavvy.tech.new.net

@	IN	A	64.126.95.212
at the zone file /var/named/named_infosavvtech.hosts

and one other thing,

I had to add  this in the sendmail.cf file

Cw infosavvy.tech.new.net around line 85 i

and
I removed the document link as you indicated.
and
one thing I should mention is that I have a alias infosavvy.tech for
infosavvy.tech.new.net
so, it should work both. that's why I have the email address
admin at infosavvy.tech.

Well, one thing finally I completed.

Thank all,

Joe Cho
joecho at everestkc.net
a member of KCLUG

-----Original Message-----
From: owner-kclug at marauder.illiana.net
[mailto:owner-kclug at marauder.illiana.net]On Behalf Of Dustin Decker
Sent: Thursday, February 06, 2003 11:48 PM
To: kclug at kclug.org
Subject: Re:
domain-name-problem-on-sending-email-to-someone at mydomain.com

On Thu, 6 Feb 2003, Joe-Cho wrote:

> I can send out  email ( outbound) to anyone and I receive email through
> only my  email server ns1.infosavvytech.new.net which is my personal mail
> server that I am planning to work on.

Damn, what an ugly subject line.  :)

I did cut and paste on, "ns1.infosavvytech.new.net" in its current
incarnation in your post which is missing a period between infosavvy and
tech.  It didn't resolve of course.

Should prolly be ns1.infosavvy.tech.new.net.
                              ^
Looks better when I try it with the period, appears to resolve:
[dustind at gemini dustind]$ nslookup ns1.infosavvy.tech.new.net
Server:         216.63.17.49
Address:        216.63.17.49#53

Non-authoritative answer:
Name:   ns1.infosavvy.tech.new.net
Address: 64.126.95.212

What is the actual e-mail address you're having problems with?

> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --
> zone "infosavvy.tech.new.net" {
> 	type master;
> 	file "named_infosavvytech.hosts";
> }
> - - - - - - - - - - - - --  - - - - - - - - - - - - - - - - -- - - - - - -
 -
>
> and zone file above /var/named/named_infosavvytech.hosts looks like this:
> - --  -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 -
>  - - - - -
> ;
> ;
> @	86400	IN	SOA	ns1.infosavvy.tech.new.net. joecho.everestkc.net. (
> 		200302064 ; serial
> 		1H	  ; refresh
> 		5M	  ; retry
> 		1W	  ; expiry
> 		1H )    ; minium
> @   86400		IN	NS	ns1.infosavvy.tech.new.net.
> @   86400		IN	NS	ns2.infosavvy.tech.new.net.
> @   86400		IN	MX	10 mail.infosavvy.tech.new.net.
>
> ns1			IN	A	64.126.95.212
> ns2			IN	A	64.126.95.212
> www	                IN      A  	64.126.95.212
> mail			IN	A  	64.126.95.212
> infosavvy.tech.new.net.	IN	CNAME	ns1.infosavvy.tech.new.net.
> infosavvy.tech.		IN	CNAME	ns1.infosavvy.tech.new.net.
[snip]

> > Now, to get mail to come out as somename at mydomain.com.  I don't quite
> > fully understand your problem, are you only successful at sending mail
to
> > this server if you send it to somename at servername.mydomain.com???  If so
> > then you need to set a "CNAME" in your DNS equivicating
> > servername.mydomain.com and mydomain.com.  Kris

Looks more like he might be after either somename at infosavvy.tech.new.net
or somename at tech.new.net.  Clarification will help us Joe, although at
http://www.infosavvy.tech.new.net/ I can see you're looking for
"admin at infosavvy.tech" to be it... with .tech not yet being a real TLD, I
don't see this working.  You need to change the apache information to
reflect what you "really intend" this to be.  Again, let us know, we'll
figure it out and help you along.  My best guess at this point is going to
be username at infosavvy.tech.new.net... so on to what _I_ think yourzone
file might aught to look like.

I think above, the first line of the zone file that reads:

@	86400	IN	SOA	ns1.infosavvy.tech.new.net. joecho.everestkc.net. (

... is pretty ugly, and doesn't seem to define the domain beyond "86400",
but then again, I don't use the "@" in my zone files much and am rusty on
it's use.  (Hrm... cricket book is at the office.)  Pipe in everyone -
does the zone file use the @ to inherit the domain name from the entry
in /etc/named.conf?  How about something like this?

-----------------------------------------------------------------------
infosavvy.tech.new.net.	IN	SOA	ns1.infosavvy.tech.new.net.
joecho.everestkc.net. (
 		200302066 ; incremented for you, feel free to cut/paste
 		1H
 		5M
 		1W
 		1H )

infosavvy.tech.new.net.         IN      A       64.126.95.212
infosavvy.tech.new.net.		IN	NS	ns1.infosavvy.tech.new.net.
infosavvy.tech.new.net.		IN	NS	ns2.infosavvy.tech.new.net.
infosavvy.tech.new.net.		IN	MX	10 mail.infosavvy.tech.new.net.
infosavvy.tech.new.net.		IN	MX	20 get.ANOTHER.mailserver.here

ns1			IN	A	64.126.95.212
ns2			IN	A	get.ANOTHER.name.server.here
mail			IN	A  	64.126.95.212
www	                IN      CNAME   infosavvy.tech.new.net.
-----------------------------------------------------------------------

Stuff your zone files accordingly, with whichever of these suggestions you
see fit.  Restart named.  ("service named restart")

In /etc/mail/local-host-names add entries such as:
infosavvy.tech.new.net
mail.infosavvy.tech.new.net
ns1.infosavvy.tech.new.net

Then restart sendmail. ("service sendmail restart")

Get rid of "http://www.infosavvy.tech.new.net/manual/" on your site, or
google will send folks to look up documentation on Apache to your site
and eat your bandwidth.

Provided you're using ns1.infosavvy.tech.new.net for resolution (in
/etc/resolv.conf) you will likely deliver mail to
mail.infosavvy.tech.new.net right away if sent to
"user at infosavvy.tech.new.net".  Folks out in the world won't likely do it
this way for 24 hours if they've cached what you currently have out there
given your current TTL of 86400.  If they've not looked it up, it will
prolly work - try it from hotmail or something.

Hope this helps - my coffe is finally wearing off, and I've no idea if
this will be coherent now...

Dustin
--
*-----------------------------------*
| Dustin Decker                     |
| dustind at moon-lite.com       *-----------------------------------------*
| http://www.dustindecker.com |  "Youth -- not a time of life but a     |
| Moon-Lite Computing         |  state of mind... a predominance of     |
| 913.579.7117                |  courage over timidity, of the appetite |
*-----------------------------|  for adventure over the love of ease."  |
                              |                                         |
                              |   -- Robert F. Kennedy                  |
                              *-----------------------------------------*




More information about the Kclug mailing list