Solved

Configuring an SMTP server under Windows Server 2008

Posted on 2010-11-22
1
769 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
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…

690 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