Solved

Configuring an SMTP server under Windows Server 2008

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

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…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now