[Webinar] Streamline your web hosting managementRegister Today


How do I setup a connector between exchange server and SMTP server using same Domain name on each

Posted on 2009-04-29
Medium Priority
Last Modified: 2013-11-30
We recently setup Sharepoint services on a server named 'Sharepoint1', and we have an exchange server 'Mail1'. I would like to setup some kind of connector on "Mail1" so that if an e-mail address is not seen within the exchange environment that it forwards it on to "Sharepoint1".

The reason for this is we have an e-mail address setup on 'Sharepoint1' with the same domain name as the exchange environment. So naturally everything sent to that e-mail address hits 'mail1' via DNS lookups and 'mail1' can't see the e-mail account setup on 'Sharepoint1'.

I had though about possibly rearranging MX records as to include 'Sharepoint1' as a higher weight for the same domain, but thought for easier management it would make more sense to setup something on 'mail1' as to tell it to look to the other server for e-mail accounts it can't find on itself. At the same time I could point mail leaving 'sharepoint1' to 'mail1' which would then handle sending out.

Any suggestions as to how this could be accomplished? My goal is to have a simple setup that's easy to maintain and modify in the future.

Question by:Crossroads305
  • 4
  • 3
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24260939
Which version of Exchange?

In both 2003 and 2007, you need to allow sharepoint to relay emails through your exchnage. 2003 is easy, just add the ip address to the relay tab in smtp virtual server properties. In 2007, you need to create a new connector for this.

Check http://msexchangeteam.com/archive/2006/12/28/432013.aspx

Easiest will be to create an account and mailbox for the sharepoint user, so that when someone sends an email to that address, exchnage will automatically put it in its own mailbox.

Author Comment

ID: 24261396
It's an exchange 2003 environment.

I know how to allow 'sharepoint1' to relay through 'mail1', that's not really an issue.

but for mail going to the e-mail account on sharepoint1, it needs to get to that server. If the account is within exchange that's the account it will go to (obviously), but I need that e-mail to go to the sharepoint server somehow.

So I was thinking something would look to see if that e-mail address existed within the exchange environment, and if it didn't to try and send it to the sharepoint server.

I'm not sure if I'm making sense, or if I'm going about this completely wrong :)
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24261616
Configure Incoming Email Server and it will take care of it.

Check http://rshelton.com/archive/2007/10/05/document-workflow-in-moss-2007-how-to-enable-the-portal.aspx
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.


Author Comment

ID: 24263002
That portion is already configured - but when I try and send an e-mail to the address I have setup within Sharepoint, the e-mail goes to the exchange environment and tells me that the account does not exist.

Something has to tell that e-mail to look at the sharepoint server to deliver that message, and right now nothing inside of exchange tells it to do that. So maybe I'm missing a step, such as configuring a user account within exchange and assigning it the e-mail address I want Sharepoint to pull from, or placing a setting which will forward the e-mail to the sharepoint server when it doesn't find that user within Exchange.
LVL 24

Accepted Solution

Rajith Enchiparambil earned 2000 total points
ID: 24268064
"""So maybe I'm missing a step, such as configuring a user account within exchange and assigning it the e-mail address"""

Yes, you are missing this step. As said above, you need to create an AD account and mailbox for the user, say Sharepoint and give it the email address you want and Sharepoint will do the rest.


Author Comment

ID: 24295745
alright - so here's where I'm at.

I've verified that I can send e-mail to a list within sharepoint by connecting to the Sharepoint server using telnet and sending a test e-mail to the e-mail account I setup on a list.

Next - I created an OU in AD called "sharepoint". I have created a user account within that OU called "announce" and assigned it the same e-mail address I gave the folder in sharepoint.

on the "incoming mail" settings I configured the OU in active directory in which this user account resides.

Now - when I send an e-mail to that user account from outlook the e-mail goes to that users mailbox and not to the list in sharepoint. So this is where my problem is - I need to get that e-mail from exchange to sharepoint. I've been researching the online articles for sharepoint and none of them clearly tell me how to accomplish this.

I'm really surprised that for being a Microsoft product there isn't more AD/Exchange integration support


Author Closing Comment

ID: 31575947
This is the typical way to get this working. Our problem was something specific to the way we were trying to get the notifications to show. This solution would work for someone who's just trying to get the e-mail flow working for sharepoint.

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am posting this in case anyone runs into similar issues that I did, this may save you a lot of grief: Condition: 1. Your NetBIOS domain name contains an ampersand " & " character.  (e.g. AT&T) 2. You've tried to run any Microsoft installation…
There are a few different ways to preview your site before DNS resolves it to your (mt) Media Temple server.  The Plesk platform makes it easy.  See the following guide to learn how.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

611 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question