?
Solved

How to set up the MX record and SMTP Configuration

Posted on 2014-03-19
7
Medium Priority
?
506 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 20

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 405 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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
LVL 20

Assisted Solution

by:Peter Hutchison
Peter Hutchison earned 405 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

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.

Question has a verified solution.

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

This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
This video discusses moving either the default database or any database to a new volume.
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…
Suggested Courses
Course of the Month5 days, 10 hours left to enroll

589 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