Improve company productivity with a Business Account.Sign Up

x
?
Solved

Using IIS7 SMTP to relay on Windows Web 2008

Posted on 2013-06-11
2
Medium Priority
?
524 Views
Last Modified: 2013-07-03
Hello,

I build and host a variety of web applications. As you would expect most  of these have scripts that result in system generated email. Historically I gave routed this through a mail account that we host on an external server, as I had previously left the relay open and found that our server was hijacked by the president of Kenya sending mass emails....

Yesterday our provider that supplies us with the external email account set in place hourly limits on  the number of emails that can be sent. (The nature of our business results in a lot of subscribed to system generated emails being sent) So immediately we ran into issues...

One solution to resolve this would be to start using our IIS7 SMTP to start relaying the emails again.

So my question, is how to do this, without making the server venerable, also I probably need to have the inbox empty on a schedule..

Sorry but I probably need a dummies guide..

Thank you
0
Comment
Question by:garethtnash
2 Comments
 
LVL 9

Accepted Solution

by:
TazDevil1674 earned 2000 total points
ID: 39237041
You can set SMTP to only accept Relay requests from certain IPs within your company network.

See http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/configure-smtp-e-mail-in-iis-7-and-above which shows hwoto check that 'localhost' is in the relay list - you can add in a single IP if the emails come from a specific server, or a range of IPs etc if the messages are generated from any machine...
0
 

Author Closing Comment

by:garethtnash
ID: 39296887
Thank you (Sorry its taken a few weeks)
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this article, we will discuss how you can secure Active Directory using free tools, and how you can choose a safe and secure Active Directory security auditing tool.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

589 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