Question

Exchange 2007 Single Server FQDN issue with SMTP connector

Asked by: ditobot

I have setup a standalone Exchange 2007 SP1 server on a Server 2007 R2 machine. After quite a bit of tinkering I have gotten email flowing in and out and OWA working with a trusted 3rd party certificate.

My problem is that I have been able to change the FQDN that shows up in EHLO/HELO and outgoing mail headers from the local machine name to the external FQDN for my mail server.

So basically anything communicating with my exchange server from the outside sees computername.domain.local instead of mail.domain.com.

My biggest concern is reverse DNS, it looks tacky as well.

I have looked everywhere for a solution and to this point have only found reasons why you can't do this. I know that the issue has to do with having the mailbox role installed on the same server as the hub and client access role. When I use the get-sendconnector command in the Exchange Management Shell it spits out what I want but the local FQDN supercedes it due to the mixed roles on the one machine.

I would imagine that there has to be a work around for this especially with SBS 2008 being out now. I thought I came across something that mentioned setting up a receive connector for the internet and leaving the default receive connector to handle internal communication but I have been unable to install a second receive connector on port 25.

The frustrating thing is this was easily configurable in 2003 under SMTP Virtual Server/Delivery/advanced

Any help would be greatly appreciated.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-09-09 at 15:05:34ID24719766
Tags

Microsoft Exchange 2007

Topic

Exchange Email Server

Participating Experts
1
Points
500
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. SBS SMTP Connector
    Can someone direct me to a walk through for setting up an SMTP connector on a 2003 SBS? I have used the SBS wizard and still can't seem to get email to move off-site...either via DNS or via an SMTP connector to my hosting company's SMTP server. I know that my hosting company...
  2. SMTP Connector
    All, I have migrated to a new Exchange Server from SBS 2003. I was currently running Exchange 2003 on SBS 2003. I then swing migrated to a new Exchange 2003 Server. I've moved almost all of my mailboxes and services. The question that I have is since I was on SBS 2003 an...
  3. smtp connector
    Hello everyone I have a weird problem on my exchange server. In our organisation we have 2 mail servers, 1 exchange (exchange cluster, 2 nodes) en 1 sendmail server. On exchange we have a smtp connector who forwards mail sent from exchange to a unix smtp server, and from the...
  4. SMTP Remote Delivery Queue not appearing
    Moving SBS 2000 w/ Exchange to new DC and copying all settings. In the current server, under Server/Protocols/SMTP/Queues, there are actually 5 queues. In the new installation on the new server, the Remote Delivery queue is missing. I created the SMTP connector and simply nam...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: MesthaPosted on 2009-09-09 at 17:06:19ID: 25296591

You need to make the change on the SEND Connector, not the receive connector.
The receive connector doesn't matter as it is for inbound email only. However that does mean you will "fail" the tests on sites that see how your server announces itself. Exchange 2007 basically has one banner for inbound and one banner for outbound.

The FQDN on the send connector needs to match your PTR record.

Simon.

 

by: ditobotPosted on 2009-09-10 at 10:57:31ID: 25302681

Logically that makes sense, I used the set-sendconnector command to define my FQDN on my send connector and when I use get-sendconnector -identity "sendconnector" | fl
it shows that my FQDN is mail.domain.com not the local computer name. However, the Received: line in the internet header of emails I send out show that it is coming from localcomputer.domain.local instead of the FQDN of the send connector. I know I can use a transport rule to remove that line in the header but I have my reverse DNS setup for mail.domain.net.

Also, when I telnet into my mail server from the outside it shows up as computername.domain.local. The EHLO/HELO response is generated from the receive connector. See link below for verification.

In Exchange 2007 SP1 you can not change the FQDN in the Default receive connector to anything but computername.domain, domain, or $null.
http://technet.microsoft.com/en-us/library/bb690954.aspx

According to some articles I have seen you can create specific receive connector's for internet traffic, but I don't know how to leave the default connector and create another connector using port 25 for the internet since it won't let you create a second connector that manages the same port.

I know I possible have two issues here, but it is difficult for me to tell where my problems are coming from at this point since I only seem to be generating local FQDN info on sent emails and EHLO/HELO telnet sessions.

 

by: MesthaPosted on 2009-09-11 at 01:42:11ID: 25307587

If you telnet in to the machine then you will only see the local server name, because that is all that is valid for INBOUND email.
For outbound email it will show what is set on the Send Connector.

However if you read too far back you will see the internal server name in the headers where the message goes through Transport. That is perfectly acceptable and will not cause the email to be flagged as spam. All the remote servers are worried about is how the connection to them appears.

If you have changed the connector, then ensure that you have restarted the Transport Service for the changes to take effect.

Simon.

 

by: ditobotPosted on 2009-09-11 at 10:51:17ID: 25311838

That is good to know, I was scrambling trying to figure out how I could get an Edge server running. Shouldn't I see my external FQDN somewhere in the header for a sent message though? If not how would I test that outside sources are getting the FQDN of my external address through my Send Connector?

 

by: MesthaPosted on 2009-09-11 at 10:58:43ID: 25311924

You don't need an Edge.
The external FQDN should be seen in the first line that was received by the recipient's server. Something like


Received: from your.server.example ([123.123.123.123]) by their.server with Microsoft SMTPSVC(6.0.3790.3959); Fri, 11 Sep 2009 18:56:26 +0100

Simon.

 

by: ditobotPosted on 2009-09-11 at 12:51:10ID: 25312930

That is the problem the External FQDN is nowhere to be found in the header. I know that the send connector is set to send the external FQDN because when I use the 'get-sendconnector -identity "sendconnector" | fl ' command it lists my external FQDN under the FQDN field. I have restarted the transport service and rebooted my machine and still no dice.

Any suggestions besides using the set-sendconnector to get the fqdn to show up.

Here is a copy of a header wtih the following:

mali.recipient.com being the recipients FQDN
70.167.x.x is my Exchange servers external IP Address
localserver.localdoamin.local is the local address of my server which is where I would expect to see my external FQDN

Microsoft Mail Internet Headers Version 2.0
Received: from psmtp.com ([64.18.2.129]) by mail.recipeintdomain.com with Microsoft SMTPSVC(6.0.3790.1830);
       Fri, 11 Sep 2009 12:27:27 -0700
Received: from source ([70.167.x.x]) (using TLSv1) by exprod7mx171.postini.com ([64.18.6.14]) with SMTP;
      Fri, 11 Sep 2009 19:27:26 GMT
Received: from localserver.localdomain.local ([fe80::3da6:2766:10dc:8d1e]) by
 localserver.localdomain.local ([fe80::3da6:2766:10dc:8d1e%11]) with mapi; Fri,
 11 Sep 2009 12:09:08 -0700
From: recipient Stowe <sender@localdomaintech.net>
To: recipient Stowe <recipient@recipeintdomain.com>
Date: Fri, 11 Sep 2009 12:08:53 -0700
Subject: RE: Test
Thread-Topic: Test
Thread-Index: AQHKMkXFr7lB3Y/tdUWA6FXVK95L05DQKuwwgAGXI/g=
Message-ID: <E0C0961D73A5344B965FA497645E2162069EC45F@localserver.localdomain.local>
References: <E0C0961D73A5344B965FA497645E2162069EC45E@localserver.localdomain.local>,<16F3E409255BF14888B4C1BE0BF5F3B30E1231@recipientServer.recipientdomain.local>
In-Reply-To: <16F3E409255BF14888B4C1BE0BF5F3B30E1231@recipientServer.recipientdomain.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative;
      boundary="_000_E0C0961D73A5344B965FA497645E2162069EC45Flocalservermatch_"
MIME-Version: 1.0
X-pstn-neptune: 0/0/0.00/0
X-pstn-levels:     (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
X-pstn-settings: 3 (1.0000:1.0000) s cv gt3 gt2 gt1 r p m c
X-pstn-addresses: from <sender@localdomaintech.net> [41/2]
Return-Path: sender@localdomaintech.net
X-OriginalArrivalTime: 11 Sep 2009 19:27:27.0108 (UTC) FILETIME=[E57E7440:01CA3315]

--_000_E0C0961D73A5344B965FA497645E2162069EC45Flocalservermatch_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

--_000_E0C0961D73A5344B965FA497645E2162069EC45Flocalservermatch_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


--_000_E0C0961D73A5344B965FA497645E2162069EC45Flocalservermatch_--

 

by: MesthaPosted on 2009-09-12 at 10:00:19ID: 25317094

What is between Exchange and the internet?

This line is correct and to be expected:

Received: from localserver.localdomain.local ([fe80::3da6:2766:10dc:8d1e]) by
 localserver.localdomain.local ([fe80::3da6:2766:10dc:8d1e%11]) with mapi; Fri,
 11 Sep 2009 12:09:08 -0700

Are you a Postini customer?
This is the line where the FQDN should show.

Received: from source ([70.167.x.x]) (using TLSv1) by exprod7mx171.postini.com ([64.18.6.14]) with SMTP;
      Fri, 11 Sep 2009 19:27:26 GMT

Otherwise delete the Send Connector and create it fresh.

Simon.

 

by: ditobotPosted on 2009-09-12 at 18:01:19ID: 25318565

Thanks Mestha,

The recipient account I was using to check my header information uses a SPAM filtering service, so apparently my mail server must have been pulled out of the message that was passed on from their servers to the end mail server.

Everything looks good.

Thanks,

Randy

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...