Solved

How to set up the MX record and SMTP Configuration

Posted on 2014-03-19
7
486 Views
Last Modified: 2014-04-13
I have two questions regarding my Exchnage 2010 configuration
Brief description
I have one Mail Server (that house my mail store)
I have one Client Access Server that is also my Hub Transport Server
I use Barracuda 400 application as my Edge Transport Server

1st question:  Do I set my MX record for DNS to point to my Barracuda System or should it point to the Mail serve or Hub Tranport Server.

2nd question:   I have applications running on now Exchange Severs that need to send email out external.  I tried configuring a send connector for those network ip but it does not seem to work.   Should I have them configure to send out email via BarracudaSystem?
0
Comment
Question by:mobot
  • 4
  • 2
7 Comments
 
LVL 19

Expert Comment

by:Peter Hutchison
ID: 39940034
Your MX record should point to your Edge Transport server. This will look after incoming and outgoing mail to a from your main Exchange systems.

I would set up a new 'Receive Connector' on Hub transport server with a list of IPs of the application servers that need to send to it. The existing send connectors will look after sending out email to external users.
0
 
LVL 19

Assisted Solution

by:R--R
R--R earned 135 total points
ID: 39940038
Normally the MX is pointed to the companys firewall. Which was then natted to the Exchange server.
Point MX record to Barracuda 400 & then configure Barracuda 400 to relay mails to Hub transport server.

Check this from http://exchangeserverpro.com to create connector for application to send emails via exchange server.

http://exchangeserverpro.com/how-to-configure-a-relay-connector-for-exchange-server-2010/
0
 

Author Comment

by:mobot
ID: 39941113
This is the weirdest thing I have tried what you but have suggested and the applications still cannot relay through my sever.   My configuration

Hub Tranport
  Receive Connectors - Custom
      Allow2Relay
           General - FQDN is correct
            Network - Receive mail from remote sever - 172.16.0.0/24 and 172.16.19.191
            Authentication - Transport Layer Security (check); I had even check Basis Authentication
              Permission Groups - none check and had tried it with Anonymous users checked

They still cannot send email, what am I missing
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 19

Assisted Solution

by:Peter Hutchison
Peter Hutchison earned 135 total points
ID: 39941829
How does the application connect? Does it use a username and password to connect to Exchange, to enable relay the user should have a mailbox (even if its empty), you cannot use a plain Ad a/c. Then you need at least Basic Authentication.

If no username and password, then you need to use Anonymous connection, if sending external mail, then you need to apply more permissions to your Connector to allow it:

# set-relay-access.ps1
Param($name)
Get-ReceiveConnector $name | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
0
 

Accepted Solution

by:
mobot earned 0 total points
ID: 39942535
It is connecting without an user account and password.   I will try to the set relay setting to see if that fixes the problem.   Thank you.
0
 

Author Comment

by:mobot
ID: 39943545
Also, I can get it to relay if explictly add an i.p. address but it does not work if try to use the network with CIDR mask.  For example 172.16.0.0/22
0
 

Author Closing Comment

by:mobot
ID: 39997115
It solved all but one problem where I still have to put in individual ip address of devices needing to relay an email message.
0

Featured Post

Problems using Powershell and Active Directory?

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

828 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