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!

You may also like...

3 Responses

  1. Lennard says:

    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 🙂

  2. I have a sprinkler installation at home, so I don’t need a firewall. 🙂

  3. EstelaNewton says:

    When you are in not good state and have got no cash to get out from that, you would have to take the loan. Because it would aid you unquestionably. I take short term loan every year and feel OK just because of that.

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.