Solved

smtp relay configuration in windows 2012

Posted on 2014-10-30
5
291 Views
Last Modified: 2014-10-30
i have a server1(windows 2012) at DMZ network(192.168.1.100) . I need to configure server1(192.168.1.100) SMTP Relay that   server1 can use internal exchange server(172.16.10.110) for sending mail to extern.

can some one help me how can i configure server 1?

Thanks
0
Comment
Question by:apollo-13
[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
  • 3
  • 2
5 Comments
 
LVL 28

Expert Comment

by:Dan McFadden
ID: 40413104
Assuming you have already installed the SMTP feature.  In IIS 6 Manager (because SMTP services are still unchanged since IIS6):

1. right click on the SMTP server and select "Properties"
2. click on the "Delivery" tab
3. click on the "Advanced" button
4. in the "Smart host" field, enter the IP address (172.16.10.110) or name of the destination host
4a. I would also fill in the "Masquerade domain" field with your public domain name (YourDomainName.com)
5. OK all the way out...

Dan
0
 

Author Comment

by:apollo-13
ID: 40413290
Hi Dan
Thank you so much for your information, actually i did all waht you wrote
Still cant sent mail to external, I think i have a other problem ,because i can sent mail internally , i will little bit searching,
0
 
LVL 28

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 40413383
You may have to authorize the DMZ server to be allowed to relay to your internal servers.  So you may have to modify the server at 172.16.10.110 to say allow this server (192.168.1.100) to relay thru me.

You may have to open firewall rules on the server in the DMZ, thru Windows Firewall.

If there is an actual firewall appliance (server) controlling network flow, you might have to open a rule there that defines 25/tcp open inbound from 192.168.1.10 to 172.16.10.110.

Also, is there a process that is building and sending emails locally?  Then you may want to define the local access in the DMZ SMTP service.  Meaning, from where (localhost) something can relay using the DMZ server.

In IIS6 Manager:

1. right click on the SMTP server and select "Properties"
2. click on the "Access" tab
3. click on the "Relay" button
4. leave the "Only the list below" option selected
5. click "Add" and enter the IP address 127.0.0.1 and 192.168.1.100.
6. OK all the way out...

This tells the SMTP Service that a process running locally can relay.  And a process that (for some reason) attaches to the 192.168.1.100 address can also relay.

Dan
0
 

Author Comment

by:apollo-13
ID: 40415021
thanks it works
0
 

Author Closing Comment

by:apollo-13
ID: 40415022
perfect
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Resolve DNS query failed errors for Exchange
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

737 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