[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • Last Modified:

Configure a IIS SMTP server to forward emails to a email domain.

We have a small departmental mail server sitting on the LAN which hosts a mail domain internally.  

We also have an internal mail relay server running on IIS server.  

Is it possible to configure this IIS SMTP mail relay server to forward emails to the email domain on the departmental mail server?  If yes, would you please advise?

Many Thanks.
0
nav2567
Asked:
nav2567
2 Solutions
 
MaheshArchitectCommented:
You could use below free Product for relaying messages
http://emailrelay.sourceforge.net/
0
 
Simon Butler (Sembee)ConsultantCommented:
No need for any kind of third party product.
Just add the domain to the list in IIS server, enable the option to allow relaying for the domain and then enter a smart host of the IP address of the mail server.

Simon.
0
 
kevinhsiehCommented:
How is the IIS SMTP configured to route mail right now? Does it use a small host? If it doesn't use a smart host then it uses DNS. If it does use a smart host configure another smart host as Simon recommends. My suggestion is to create an MX record in your internal DNS for the domain. DNS MX records is the standard way to tell mail servers where to route mail.

If you server is mail.internaldomain.local, and email goes to Mary@internaldomain.local, there needs to be a DNS record in the internaldomain.local zone

Internal domain.local in MX mail.internaldomain.local. 10

Which states for the domain internaldomain.local, Internet, mail exchanger, deliver to mail.localdomain.local with priority 10. You also need to have an A record for mail.localdomain.local, not a CNAME (alias).
0
 
nav2567Author Commented:
Thanks, everyone. I use the mx record approach and it works.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now