Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

setup a Windows 2012 R2 IIS SMTP relay Server to relay emails to and from exchange 2013

Posted on 2015-01-19
9
Medium Priority
?
349 Views
Last Modified: 2015-02-11
We've setup a Windows 2012 R2 server  as a SMTP relay server ( which is a spam Filter server )to get the emails first and then forward all emails over to our Exchange 2013 server. Our Exchange 2013 setup consists of a Mailbox and CAS server role. We have emails successfully going out, but the problem is we are not getting emails in. The emails don't appear in the "badmail" or "pickup" folders on the SMTP relay server. Please tell us what are we missing, thanks.

SC,
0
Comment
Question by:rsleem
[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
  • 2
9 Comments
 
LVL 7

Expert Comment

by:dsnegi_25dec
ID: 40559069
that is right send will work But receive will not work.

you need MX record for that...Better is go with EDGE server your problem will sort there.
0
 

Author Comment

by:rsleem
ID: 40559113
We already have a MX record at our Public  internet domain registrar and web hosting company.
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40560186
You need to configure the server with remote domains, then set it up to allowing relaying to those domains and then set the domains to use a smart host - the smart host being your internal Exchange server.

Hopefully the software you are using on top can do recipient validation, if not then you are setting yourself up for backscatter blacklisting.

Simon.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:rsleem
ID: 40561212
Thank you for the post. We did configure remote domains on the Windows 2012 SMTP server and added the smart host(within the [ ] )IP address of our internal Exchange 2013 server.
0
 

Author Comment

by:rsleem
ID: 40561213
Do we make the relay within the receiver connector on the CAS or the Mailbox server or both to allow the SMTP server to forward the emails?
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40561436
The relay setting is on the IIS server, nothing to do with Exchange.

Simon.
0
 

Author Comment

by:rsleem
ID: 40562040
We have narrowed it down to the firewall. We can telnet from the windows 2012 SMTP relay server on port 25 to the internal exchange 2013 server. We can telnet to the Exchange 2013 server on port 25, and we connect to the SMTP relay server and send an email which gets to a mailbox on the exchange server. The problem is when we try to perform a telnet on port 25 from outside to the public MX record or public mail IP address, then the telnet fails. It seems like the firewall isn't passing the traffic thru. We have port 25 open and pointed to the SMTP relay server instead of the Exchange 2013 server. If we point the traffic back to the Exchange 2013 server then it works. We can send out fine from the Exchange 2013 server thru to the SMTP relay server out.
0
 

Accepted Solution

by:
rsleem earned 0 total points
ID: 40595030
We ended up installing the GFI email filter on the Exchange 2013 Mailbox server.
0
 

Author Closing Comment

by:rsleem
ID: 40602734
We could not get the SMTP relay server to work with relaying emails over to the exchange 2013, so we just installed the GFI ME 2015 unto the Exchange 2013 server.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
To show how to create a transport rule 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 >> Rules tab.:  To cr…
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…

664 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