Using IIS7 SMTP to relay on Windows Web 2008

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
garethtnashAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TazDevil1674Connect With a Mentor Commented:
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
 
garethtnashAuthor Commented:
Thank you (Sorry its taken a few weeks)
0
All Courses

From novice to tech pro — start learning today.