Industry guru Dave Taylor offers free tech support on a wide variety of technical and business topics, including HTML, Apple iPhone, online advertising, Cascading Style Sheets, Web design, management, Unix, Linux, search engine optimization, online dating, Mac OS X, shell script programming and Microsoft Windows.

Quick check for an open mail relay

If you're like me, you are getting an ever-increasing flow of spam into your mailbox. What you might not realize, however, if you're a Unix or Linux system administrator, is that you might be part of the problem! In general terms, electronic mail servers (so called "mail transport agents" or MTAs) are only intended to accept mail either to be directly delivered to someone on the system or being sent from somene on the system.

Dave's Answer:

With the expansion of email topographies and more complex configurations, though, most email servers now accept mail from 'trusted sources', other systems that can relay messages through the server to another remote destination. Usually not a big deal, but if you configure things incorrectly, you can leave your system open, making your mail system an open relay, which is very bad: spammers find it and then start pouring their thousands of email messages through your server.

How do you know if your mail server is an open relay?

It turns out that there's a very nice - and very simple - tool to test just this thing. Go to the command line in a shell and type:

telnet relay-test.mail-abuse.org
The results will indicate if you have a problem or not. And if you do have a problem, deal with it immediately! There's lots of good information at openrbl.org to get you started.


Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon    

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments
Rather amazingly, there are no comments on this article yet.

I have something to say, now that you mention it, but ...
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you for all your efforts on this Web site by buying you a cup of coffee!

I do have a comment, now that you mention it!











Remember personal info?


Please note that I will never send you any unsolicited email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.








Ask Dave Taylor: The iPhone App: Advertisement



Follow me on Twitter @DaveTaylor

Search
Find just the answers you seek from among our 2300+ free tech support articles by using our Lijit search engine.


Linux Journal: Free Issue!

Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Book Links
© 2002 - 2010 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.