Question Locked

Unable to Recieve SMTP mail in Exchance 2003

0 helpful
18 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have read every SMTP related post here that I can find and I'm still not figuring this problem out.

I have an SBS2003 box with Exchange 2003. I have an SMTP connector running, my MX records are setup at godadd.com. I think the MX records are correct. I am unable to recieve inbound mail, but can send mail just fine. Inbound messages are bounced back with a message regarding being unable to maintain an SMTP connection to the server. I am unable to telnet on port 25 to the server from the internet, LAN, or even the server itself. Windows firewall is disabled. I'm truly at a loss.

Any help would be greatly appreciated.

18 replies

by cg it

This wizard will configure SBS for email. IF you did run the CIECW wizard, then verify that your MX record points to your public IP address which your server connects to the internet from. Also make sure port 25 on your perimeter firewall fowards port 25 SMTP traffic to your SBS box external interface.

typically MX records are .com 10.

by njeske

i'm pretty sure my mx records are done correctly. i have an A Record for mail.irisremote.com. then an MX record sending mail to mail.irisremote.com. this is all done through my interface at godaddy.com. port 25 is forwarded in my firewall to the internal IP of my server.

i have also run the wizzard within SBS for configuring internet and email.

by cg it

SBS domain for Exchange is .com/org/net so when you run the CIECW wizard and it asks for your public domain name, you put in .com you don't use aliases, CNAMEs or child domains. you can have Aliases, CNAMEs like VPN.yourdomain.com or ftp.yourdomain.com but you cant put those in the domain name box during CIECW wizard. It's the FQDN that goes there.

your domain name registar should reference the DNS servers that are authoritative for your domain name. If this is godaddy.com, then you need them to provide an Alias record that says mail for .com = your public IP address because MX records are nothing more that saying if it's mail then send it to the IP address of this domain name.

So, if you don't host your own web site for your domain name but go daddy does, [or any other web hosting company] and they also provide DNS service for your domain name, then they have to create a MX record with a static address which points mail to your public address [which also should be static]. If they don't then email will go to the public address that your web site goes to and not your SBS box.

by cg it

you typically don't manually configure it. If anything, trying to manually configure stuff on the box typically breaks somethings.

If you reinstalled Exchange component of the SBS installation, then you have to rerun the CIECW wizard. If you don't the SBS box will not work the way its supposed to work. Just doing a reinstall without running the CIECW will not get exchange to work properly for sending and receiving SMTP mail. The reason for this is that SBS uses the .local extension for it's domain name. the .local extension is not a valid public extension. So, when you run the CIECW wizard, it asks for the public domain name and configures DNS, AD and Exchange to work properly with the public domain name extension when the local domain extension is .local

I will say this, if you followed the best practices for installation of SBS by using the wizards on the "Things to do" page of the system management console, SBS works.

If you didn't follow the best practices installation by not using the wizards to configure your SBS box, or did not complete the configuration tasks on the "Things to do" page in the System Management Console, then SBS will give you problems. Often those problems can be fixed by simply rerunning the installation of componenets and setup wizards. No real manual configuration is necessary.

by njeske

Ok, so I re-ran the CIECW. Ran through all the options. It gives me errors when trying to configure the firewall, and when trying to configure email. It doesn't tell me what happened to cause the error, so I have no idea what's going on. Is there an error log somewhere, or something I can to allow the configuration to complete properly?

thanks for all your help so far btw. i really appreciate it.

by jacemg

If the SBS2003 is not accepting a local telnet request from a client on the same subnet, then the problem is probably a AV/Security Suite blocking port 25 by default. Which AV are you using? I've noticed this happening alot with Trend Micro Internet Security.

by njeske

i'm not using any security software at the moment.

by dumphrey

smtp connector is set to accept connections for anyone (or at least your subnet?) and that its using port 25 (it can be changed).
I would walk through the basics of the Exchange set up again just to be sure.
1) Server IP and connection settings.
2) Recipient Update policy
3) Protocol settings (and default smtp connector)
4) restart all exchange services

Also netstat and
netsh firewall show port opening
If you get a response, the firewall is on, if it says "this service has not been started," your all good.
netsh
>diag
show mail /v

will show you if exchange thinks port 25 is open or not.

by njeske

i think that's what i've got setup on both SBS and GoDaddy. when i ran the CIECW, i put in irisremote.com for the domain name, which is correct. we host both our website and our email. I have an A record setup at godaddy for mail.irisremote.com that points to my public IP. I then have my MX record pointed to mail.irisremote.com.

exchage is setup to use @irisremote.com which is correct. and go daddy has an MX record that points to mail.irisremote.com which points to our public IP (71.83.99.42).

by cg it

you don't need an A record that says mail.irisremote.com or a CNAME record that says the same thing.

you need an A record that says irisremote.com = IP address XXX.XXX.XXX.XXX

you need a MX record that say irisremote.com10.irisremote.com {[which means mail for irirsremote.com goes to irisremote.com whose IP address is XXX.XXX.XXX.XXX because the A record says so]}

you can create aliases but you don't need to or really want to for SMTP mail which is hosted on a SBS box.

Both of those must be on the name server which is authoritative for your FQDN [which your domain registar lists as authoritative for the domain name].

If you have a 3rd party hosting your public DNS servers which are authoritative for your domain name, then they need to make entries on their DNS servers.

by njeske

ok... i re-installed both IIS and Exchange over the weekend following the instructions in the MS knowledgebase. I am now able to telnet to mail.irisremote.com on port 25. However, as soon as i try to type anything i immediately return to my C:\ prompt. i never get a 220 response from the server. any suggestions?

by dumphrey

the install? Double check all your connection settings, they can be a PITA.

by njeske

all of what you suggested looks good, but one thing. when i do that last part with the "show mail /v" on my server console, i get the message "Default Outlook Express Mail

by cg it

normally with the 1 NIC configuration, the Windows Server 2003 firewall is turned off. this is the default setting for 1 NIC.

I'm going to recommend that you go through the getting started with SBS 2003 guide.

here's a link:

http://technet2.microsoft.com/WindowsServerSolutions/SBS/en/library/05bed2f7-d197-49fb-b720-b46b1cda37441033.mspx?mfr=true

Appendix C Network Configuration Settings has the manual settings for the Windows firewall.

by njeske

i have two NICs in the server, but only one is being used, and that's the option i select when prompted during the CIECW process. since i only have 1 NIC, the windows firewall is disabled. i am not having the CIECW try to configure my router via uPNP since I've already setup port forwards myself.

i am more concerned about it erroring out during the email configuration step since that's what i'm having trouble with. other internet services on the server such as web sites and ftp are functioning normally.

by njeske

i finally gave up and just started the whole server build over from scratch. this time everything is working great. not sure why smtp gave me so many issues the first time around, but it's all good now. thanks for all the suggestions.

This discussion is closed to new replies.