Dennis van der Stelt

I care about technology; I care about users more

Community

Email Notifications

News

  • Addicted to Refactor! Pro
    <div class="sideNavItems">

I read...

I Use...

Tags

Recent Posts

Archives

Blog Subscription Form

  • Email Notifications
    Go

Smart usage of localhost as mailserver

Some things are so simple, you'd expect everyone to know these things and use them wisely. Unfortunatly, this isn't always the case, even when it concerns me! ;-)

Take for example mailing in .NET, using your localhost smtp server. How difficult can this be? You get an error that the server is unable to relay your mail, you go to IIS and search in the smtp server properties for relaying, set it up and go. Until at some point, on a server I was using at home, it still would not work, due to some security settings. So to make sure my relaying was not the problem, I threw relaying open for everyone. Resulting in a mail from my ISP that they banned me from using their smtp server, because my server was being used by spammers. The mail I got was sent a few hours before I looked at it. So I wanted to check my mail-queue with Windows Explorer. There were so many files in that directory, that Windows could not handle it and locked up. From that moment on, I've been pretty carefull with my relay settings ;-)

I was thinking about this story when I read Peter van Ooijen his last blog entry, where he explains how to use mail and setup your server for relaying mail. I'll join Peter in the statement he ends his blog with; Use with care!

Comments

Peter's Gekko said:

In a recent post I described how easy it was to turn your website into a spamming tool provided you know...
# April 7, 2006 2:59 AM

Lennard said:

And where is the firewall which block all unwanted connection from the evel internet?

Besides a right configuration (only relay from localhost) also a firewall which prevents connecting to port 25 is needed. A configuration mistake, or a fast-needed-easy-to-relay-for-everybody-because-i-need-to-test mailserver cannot be abused :)
# April 11, 2006 1:55 AM

Dennis van der Stelt said:

I have a sprinkler installation at home, so I don't need a firewall. :)
# April 13, 2006 6:26 AM

Peter's Gekko said:

In a recent post I described how easy it was to turn your website into a spamming tool provided you know...
# April 13, 2006 8:06 AM

EstelaNewton said:

When you are in not good state and have got no cash to get out from that, you would have to take the <a href="http://bestfinance-blog.com">loan</a>. Because it would aid you unquestionably. I take short term loan every year and feel OK just because of that.

# July 13, 2010 5:26 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Please add 5 and 2 and type the answer here: