[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

WSS 3.0 Setup MX Record and SMTP Connector

Posted on 2010-11-17
11
Medium Priority
?
1,228 Views
Last Modified: 2012-05-10
Dear All,

I am trying to set-up incoming e-mail to my sharepoint. X1 Exchange 2003 SP2 server and another sharepoint server. I have got the sharepoint working with AD but my missing link is the MX Record and SMTP connector.

Exchange server is called Smart3 (192.168.0.26)
Sharepoint Server is called Smart2 (192.168.0.25)

1, I am unclear as to the MX host or child domain, Fully qualified name.?

2, I think the Forward all mail is [192.168.0.25] (Bridgehead = smart3) and connected routing group sharepoint.smartsystems.co.uk (Which is my Sharepoint settings.

Help please i know i am close but i can create address and it works in Exchange but when i e-mail it i get a Hard DNS error.?

Thanks
Adam
0
Comment
Question by:smartsyatton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 8

Expert Comment

by:jfletchster
ID: 34155789
Are you configuring a single email address as a recipient of email in sharepoint i.e. sharepoint@domain.com?
Do you have the SMTP Service installed in IIS on the Sharepoint server i have a guide on my blog for setting up a single email address drop box for sharepoint i will link when i find it.
0
 
LVL 1

Author Comment

by:smartsyatton
ID: 34155854
I have a Single e-mail address, my current problem is DNS error as below.


Your message did not reach some or all of the intended recipients.

      Subject:      sharepoint test
      Sent:      17/11/2010 15:37

The following recipient(s) cannot be reached:

      IT Support IT Documents on 17/11/2010 15:38
            The e-mail system was unable to deliver the message, but did not report a specific reason.  Check the address and try again.  If it still fails, contact your system administrator.
            < pcl-ipout01.plus.net #5.0.0 smtp; 5.1.2 - Bad destination host 'DNS Hard Error looking up sharepoint.smartsystems.co.uk (MX):  NXDomain' (delivery attempts: 0)>
0
 
LVL 8

Expert Comment

by:jfletchster
ID: 34155912
Basicly if i remember corrently you need to specify a direct email in the address space for the connector so only that email address gets delivered to that smart host.
So you should have a min of 2 SMTP connectors
One for all * email accounts and one for sharepoint@domain.co.uk (the sharepoint SMTP connector needs a smarthost)
Set the smart host IP address in [ ] if it has a static address or use the FQDN of the Sharepoint server
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 1

Author Comment

by:smartsyatton
ID: 34155954
Yup 100%, just done that and the share point SMTP bounced the e-mail back so i missed something there, getting closer though.


Your message did not reach some or all of the intended recipients.

      Subject:      test
      Sent:      17/11/2010 15:46

The following recipient(s) cannot be reached:

      IT Support IT Documents on 17/11/2010 15:46
            A configuration error in the e-mail system caused the message to bounce between two servers or to be forwarded between two recipients.  Contact your administrator.
            <smartsystems.local #5.3.5>
0
 
LVL 8

Expert Comment

by:jfletchster
ID: 34156343
OK couple more things to check it looks like your smtp server is then trying to send the email back to the exchange server. So you need to give the server a email address to accept email.
Make sure the SMTP server on sharepoint has anonymous relay from exchange server allowed and that there is a user set up on the Sharepoint server in Computer Manager > Users and Groups > sharepointemailuser > give this user the email address for the drop. Then the SMTP server will keep the email instead of forward it on.

Then just config your sharepoint site to check for the email adress. you may need to check sharepoint service account as read write access of the SMTP drop box location/folder
0
 
LVL 1

Author Comment

by:smartsyatton
ID: 34156447
Every bit closer, I have the SMTP connector set and working from the exchange server to the sharepoint server.

send an e-mail to sharepoint with an address thats set-up in exchange by sharepoing and the e-mail hits the queue folder on sharepoint and give this message.

Your message did not reach some or all of the intended recipients.

      Subject:      fghfghgfhfghgfhfg
      Sent:      17/11/2010 16:23

The following recipient(s) cannot be reached:

      IT Support IT Documents on 17/11/2010 16:23
            The destination server for this recipient could not be found in Domain Name Service (DNS).  Please verify the email address and retry.  If that fails, contact your administrator.
            <smart2.smartsystems.local #5.4.0>


Last bit to overcome i think.
0
 
LVL 8

Expert Comment

by:jfletchster
ID: 34160166
Ok the domain of the email needs to exisit on your DNS server i.e.
sharepointuser@sharepointdomain.com (Sharepoint Drop box email address)
So on the primary DNS server that the exchange server uses to resolve too you need a DNS Zone for the domain sharepointdomain.com
In that zone you need a A reocrd pointing to the sharepoint server i.e. mail.sharepointdomain.com 1.1.1.1
you also need an MX record for sharepointdomain.com pointing to FQDN mail.sharepointdomain.com
0
 
LVL 8

Expert Comment

by:jfletchster
ID: 34163848
Here is the article I blogged about some time ago, I reposted it so you can check it out and see if it helps.
http://www.desperatedog.co.uk/?p=58
0
 
LVL 1

Author Comment

by:smartsyatton
ID: 34164033
Hi Jfletchster,

That was very helpful and i have 99% done but i still have a problem. what i have got that works.

1, SMTP on sharepoint is ok, 2, AD OU is ok when i add a email option in sharepoint is appears in the AD container and then in the Exchange address book.
3, SMTP Exchange connector is ok, when i send a e-mail to the sharepoint i get the below message.


Your message did not reach some or all of the intended recipients.

      Subject:      
      Sent:      18/11/2010 14:05

The following recipient(s) cannot be reached:

      Sales Department Shared Documents on 18/11/2010 14:05
            The destination server for this recipient could not be found in Domain Name Service (DNS).  Please verify the email address and retry.  If that fails, contact your administrator.
            <smart2.smartsystems.local #5.4.0>

5, i see the Queue folder date modified on Sharepoint server change with the e-mail arrival but the drop folder has not changed ever, should the drop folder have a File in it for the e-mail relay info.

I am guessing the e-mail should hit the drop folder first but mines seems to goto the Queue folder and then System Administrator message.

WHAT AM I MISSING.

Thanks a lot for your help in this, much appreciated.
0
 
LVL 8

Accepted Solution

by:
jfletchster earned 2000 total points
ID: 34164208
Basicly the message is arriving at the Sharepoint server and the SMTP server on the Sharepoint server is trying to deliver it to the right place.
Have you put the domain in the SMTP server in IIS on the Sharepoint Server?
Open IIS > Expand Server > Expand SMTP Virtual Server > Click 'Domains' > Right Click Default domain and edit to the domain of the sharepoint email recipent (the bit after the @ symbol)

Depending on how you have it config, you may need to create a user on the Local Sharepoint Server in Computer Manager. I cant quite remember.
Right Click My Computer > Manage > Local Users & Groups > Users > Add new User
When you have created this user, open its properties there should be a Email Address Section enter the email address of the sharepoint recipent. So that the SMTP server thinks that it needs to deliver it locally.
0
 
LVL 1

Author Closing Comment

by:smartsyatton
ID: 34164425
A1, what a guy. Thank-you so very much
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
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 antispam), the admini…

649 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