Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using IIS7 SMTP to relay on Windows Web 2008

Posted on 2013-06-11
2
Medium Priority
?
521 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

926 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