Link to home
Start Free TrialLog in
Avatar of Matrix1000
Matrix1000

asked on

SBS Setup - Email Doesn't work

I've gone through the Internet Connection Wizzard like 4 times and I still can't email to work properly. I'm not sure if its ISA server, DNS or something I'm not doing in the setup correctly or what. :(

1. I've registered a valid domain name e.g. mycompany.com, created 2 NS servers with the address of my servers external interface.
2. I've added ns1.mycompany.com and ns2.mycompany.com to the dns records on the server itself in the 'mycompany.com' Forward lookup.
3. I've pointed my domain name using those 2 NS servers.
4. I used that domain name when running the Internet conneciton Wizzard. (mycompany.com)
5. I've added an MX record to the forward lookup zone for mycompany.com on the server.
6. I can send email to anyone but they Cannot send email back to me.

I've tried deleting all my DNS servers and only using 192.168.1.1 (localhost)  I"ve tried adding DNS servers of my ISP, etc etc. I've even disable the firewall (ISA Server) and it still doesn't work!

What am I missing?
Avatar of mattridings
mattridings

Quick question on this statement:

1. I've registered a valid domain name e.g. mycompany.com, created 2 NS servers with the address of my servers external interface.

When you say your servers external interface....you mean your valid internet IP address right?

****EDITED CONTENT****.  It sounds like it's nothing more than a DNS or port issue.

Matt Ridings
MSR Consulting
It's a simple one...but check to make sure your domain name (as in you@domainname.com) is spelled correctly in your exchange configuration.
Also, double check you don't have an extra "www" at the beginning of your email domain name.
These were 2 problems I encountered - which were my fault - as configured in the "Configure Email and Internet Connection Wizard"
SOLUTION
Avatar of Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I wasn't worried about his privacy JB, just his security.

I think I must be missing a post here though?  I see all of JB's responses in regards to hosting a public dns on sbs server, but I don't show any posts before that from the asker stating that's what they did?

Didn't know about the email thing, though it would have been nicer if you had just removed the email address instead of my content.


Matrix1000:  Post your domain if you like, I can certainly troubleshoot your dns that way but understand if you don't want to post it.

Since I can't post exact details without it though just insure that you have an external DNS server, with at least one A record pointing at your SBS locations valid internet IP address (i.e. not a invalid internal IP address), and a MX record pointing to that A record for mail.  Depending upon your configuration that could be your router's IP address, or conceivably your SBS servers external NIC address if it is directly connected to your ISP without going through another router.  Make sure your registrar has it's NS records set to point to your external DNS server(s).

Once you've got that set go to http://www.dnsreport.com/ and enter your external domain name into the mail test first and run that.  That'll tell you where the rest of the internet thinks its supposed to send your mail.  If that is wrong then run the dns report, and find which sectors of information are wrong or post info back here and we'll straighten it out.  If the mail test points to your correct IP address though then you likely have a port issue at the firewall/ISA level.


Matt Ridings
MSR Consulting
Avatar of Matrix1000

ASKER

Thanks for the Help and Information!

I've actually got 4 other businesses on my network (I work at an ISP) that are trying to re-adjust to an IP scheme change that are having the same issue that I am and I'm trying to find out the RIGHT way to set up SBS to send and recieve email.

I followed this tutorial

 http://www.12c4pc.com/sbs2k3/sbs2k3-n2.htm (with a direct broadband connection - with a public ip on the WAN interface)

1. I did not enter any valid DNS servers and later deleted them from the "ServerName > Properties > Fowarders" tab in DNSmgmt because I was told this would complicate DNS resolution internally for some reason.

2. I did enable the Firewall and also 'Enable Internet e-mail' etc..

3. In the 'Email Domain Name' I did enter my domain name in the form of  'mycompany.com'

4. My internal domain is mycompany.local and ended up like ServerNetBiosName1.mycompany.local

Is this the right process then...

1. Follow the procecess outlined in the tutorial .... http://www.12c4pc.com/sbs2k3/sbs2k3-n2.htm
2. Register the domain used in the setup with say...GoDaddy.com such as 'mycompany.com'
3. At GoDaddy.com Create 2 Name Servers 'NS' such as NS1.mycompany.com pointing to my servers public IP address.
4. At GoDaddy.com point my domain name to those 2 Name Servers. so 'mycompany.com's nameservers are ns1.mycompany.com and ns2.mycompany.com
5. UHHH Whats next? Is this right?
6. Get my ISP (ME) to add MX records that point mycompany.com to my servers public IP?
7. Do something to ISA server to allow incoming emails

When I look at the applicaton log files I see these when I try to test mail from Gmail to my account at me@mycompany.com.

A non-delivery report with a status code of 5.4.0 was generated for recipient rfc822;me@AnExternalEmailAccount.com (Message-ID <2AE3F12D6CF8344BA1CF0C56D7E1094357A9@myservername1.mycompany.local>).  
Causes: This message indicates a DNS problem or an IP address configuration problem  
Solution: Check the DNS using nslookup or dnsq. Verify the IP address is in IPv4 literal format.
For more information, click http://www.microsoft.com/contentredirect.asp.

Sorry for being such a noob at this.
Are you saying that you're running an ISP off an SBS?

I'm totally lost with your theory of running a PUBLICLY AVAILABLE DNS ZONE FILE on your SBS!!!

Please explain.

Jeff
TechSoEasy
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Matt,

Thanks for straightening that out in a way that makes sense.  I totally agree.

Jeff
TechSoEasy
Thanks!!!!!!

TechSoEasy, I work at an ISP but we are trying to use SBS for our 'internal' network server and email server for internal use only e.g. support stuff and internal stuff only. We have a dedicated Free BSD server for mail for clients and DNS.

I've decided to wipe my server again tomorrow and start from scratch with the info you guys provided.

Thanks Again!