SpamAssassin
A practical guide to integration and configuration

Packt Publishing


 

HOME > CHAPTER 3

Chapter 3;
Open Relays

Initially, the Internet was used by a very trusting community. Sites were open, with information freely available and shared. Passwords and user accounts were shared and even publicized. Email servers accepted emails from any source and sent them towards their destination. Nowadays, the ethos of the Internet has changed. Information is no longer shared as freely, and user accounts and passwords are guarded. It is rare to find a server that will take email from an unknown user and forward it on. This is a direct consequence of spam and the cost and risks associated with it.

Spam has become such a problem that ISPs terminate the accounts of spammers when they are reported. Consequently, spammers search for open relays, which are email servers that allow unknown or unauthenticated users to send emails. Once discovered, spammers use these mail servers to send spam emails. This approach prevents spam from being traced to its true source.

Running an open relay has serious implications for a system administrator. The server may become listed on one or more Open Relay Blacklists (ORBLs). Once listed on an ORBL, emails from a server could be rejected as spam by other systems. In addition, the Internet connection may be suspended or terminated by the supplier if the open relay is not closed as soon as possible after notification.

Fortunately, all the popular Mail Transfer Agents (MTAs) can easily be configured to prevent them being used as an open relay. The MTAs discussed in this book—Sendmail, Postfix, Exim, and qmail—default to this behavior when installed afresh. If an older version of these MTAs is installed, the default configuration may not be secure. If the configuration of an MTA has been altered, an open relay may have been inadvertently created.

  • Chapter 3: Table of Contents:

    • Email Delivery

    • Open Relay Tests

      • Automated Open Relay Testers

      • Manual Open Relay Testing

    • MTA Configurations

      • Sendmail

        • Sendmail Versions 8.9 and Above

        • Sendmail Versions Below 8.9

      • Postfix

        • The mynetworks Configuration Directive

        • The relay_domains Configuration Directive

      • Exim

        • Exim Configuration Parameters

      • qmail

    • Summary

BOOK DETAILS
  Paperback, 220 pages
Released: Sept 2004
ISBN: 1904811124
Author: Alistair McDonald
 
 

TABLE OF CONTENTS

Intro
1. Introducing Spam
2. Spam and Anti-Spam Techniques
3. Open Relays
4. Protecting Email Addresses
5. Detecting Spam
6. Installing SpamAssassin
7. Configuration Files
8. Using SpamAssassin
9. Bayesian Filtering
10. Look and Feel
11. Network Tests
12. Rules
13. Improving Filtering
14. Performance
15. Housekeeping and Reporting
16. Building an Anti-Spam Gateway
17. Email Clients
18. Choosing other Spam Tools
Appendix A
Index

 




View the book details
on PacktPub.com

 

 

  This website is owned and maintained by Packt Publishing Ltd, 2004. All rights reserved. Terms and Conditions