Solved

smtp relay configuration in windows 2012

Posted on 2014-10-30
5
301 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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
A procedure for exporting installed hotfix details of remote computers using powershell
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 process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

728 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