Solved

Configuring an SMTP server under Windows Server 2008

Posted on 2010-11-22
1
768 Views
Last Modified: 2012-05-10
Hi All,

Probably very simple but I'm not up on how to ocnfigure SMTP email.  I am moving a web site to another server running Windows Server 2008 and need to re-code the email sending code as this used a web service which is no longer.  I am instead wanting tio use the System.Net.Mail .NEt functionality to send email.  That's the easy bit!

I have aded a Virtual SMTP server in IIS and can access/configure the service using the IIS 6 manager.  My problem is -: how do I actually set this up so that I can send email from .NET.  I understand that I will need to specify a 'from' address in my call to send email and that somehow this must match up with the SMTP server to prevent relay attempts but how?

Is the virtual SMTP service a complete solution for sending email or do I need something else to actually send the email?

If my server is servicing the domain abcde.com I can configure mail.abcde.com to point to the IP address of the server.  Would I then set the 'fully qualified domain name' under SMTP Virtual Server>Advanced to be abcde.com and set the sending email address to 'sender@abcde.com?

Any suggestions on setting this up so that I can at least test the email sending would be most welcome
0
Comment
Question by:ChrisMDrew
[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
1 Comment
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 34199686
The only thing you HAVE to configure under the Default SMTP Virtual Servr Properties is in the Access tab, Relay Restrictions, select the radio button "Only the list below" and add the IP addresses or networks of the machines that you want to be able to send the email. Under the Delivery tab, Advanced button, you can change the fully qualified domain name that the service will identify itself as when sending email.

You can send test emails using blat, which is a free command line emailer available at blat.net. This server shouldn't be used for receiving email, so there isn't anything else you need to do. If this server is part of the abcde.com Active Directory domain, you should have an MX record setup in your AD DNS so it can find where to send email to for abcde.com. It will use DNS to find the mail servers required for delivery to all domains. I only mention it because if you have split brain internal/external DNS for your domain, you may not have the MX record for mail delivery setup on the internal DNS.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

726 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