sendmail Cookbook and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$4.14 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
More Buying Choices
Have one to sell? Sell yours here
sendmail Cookbook
 
 
Start reading sendmail Cookbook on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

sendmail Cookbook [Paperback]

Craig Hunt (Author)
4.7 out of 5 stars  See all reviews (6 customer reviews)

List Price: $44.95
Price: $32.81 & this item ships for FREE with Super Saver Shipping. Details
You Save: $12.14 (27%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $19.79  
Paperback $32.81  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

Cookbook December 22, 2003

More often than not, the words "sendmail configuration" strike dread in the hearts of sendmail and system administrators--and not without reason. sendmail configuration languages are as complex as any other programming languages, but used much more infrequently--only when sendmail is installed or configured. The average system administrator doesn't get enough practice to truly master this inscrutable technology.

Fortunately, there's help. The sendmail Cookbook provides step-by-step solutions for the administrator who needs to solve configuration problems fast. Say you need to configure sendmail to relay mail for your clients without creating an open relay that will be abused by spammers. A recipe in the Cookbook shows you how to do just that. No more wading through pages of dense documentation and tutorials and creating your own custom solution--just go directly to the recipe that addresses your specific problem.

Each recipe in the sendmail Cookbook outlines a configuration problem, presents the configuration code that solves that problem, and then explains the code in detail. The discussion of the code is critical because it provides the insight you need to tweak the code for your own circumstances.

The sendmail Cookbook begins with an overview of the configuration languages, offering a quick how-to for downloading and compiling the sendmail distribution. Next, you'll find a baseline configuration recipe upon which many of the subsequent configurations, or recipes, in the book are based. Recipes in the following chapters stand on their own and offer solutions for properly configuring important sendmail functions such as:

  • Delivering and forwarding mail
  • Relaying
  • Masquerading
  • Routing mail
  • Controlling spam
  • Strong authentication
  • Securing the mail transport
  • Managing the queue
  • Securing sendmail
sendmail Cookbook is more than just a new approach to discussing sendmail configuration. The book also provides lots of new material that doesn't get much coverage elsewhere--STARTTLS and AUTH are given entire chapters, and LDAP is covered in recipes throughout the book. But most of all, this book is about saving time--something that most system administrators have in short supply. Pick up the sendmail Cookbook and say good-bye to sendmail dread.

Frequently Bought Together

sendmail Cookbook + sendmail, 4th Edition + DNS and BIND (5th Edition)
Price For All Three: $93.19

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • sendmail, 4th Edition $30.00

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • DNS and BIND (5th Edition) $30.38

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

Review

"If you are looking for a companion to a mission-critical sendmail instal, the 'other' bat book is the one for you. If you want to be able to set up and do a few cool things with your own mailserver, this is all you will need. It's written by Craig Hunt too, so you know it's going to be easy to read and accurate." - Nick Veitch, Linux Format, July

About the Author

Craig Hunt has worked with computer systems for the last twenty years, including a stint with the federal government as both a programmer and systems programmer. He joined Honeywell to work on the WWMCCS network in the days before TCP/IP, back when the network used NCP. After Honeywell, Craig went to work for the National Institute of Standards and Technology. He's still there today and is currently the leader of the Network Engineering Group. Craig is the author of TCP/IP Network Administration and other O'Reilly books.


Product Details

  • Paperback: 408 pages
  • Publisher: O'Reilly Media; 1st edition (December 22, 2003)
  • Language: English
  • ISBN-10: 0596004710
  • ISBN-13: 978-0596004712
  • Product Dimensions: 9.3 x 6.9 x 1 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #719,847 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

6 Reviews
5 star:
 (4)
4 star:
 (2)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (6 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

9 of 9 people found the following review helpful:
4.0 out of 5 stars Not for amatuers, April 30, 2004
This review is from: sendmail Cookbook (Paperback)
This is definitely a book for systems administrators. You won't learn the basics about sendmail, or get an introduction. This book is for folks who generally know sendmail, but are having specific issues with it.

The first chapter has a lot of very specific fixes for a bunch of operating system specific issues. After that the solutions become a bit more general.

The two standout chapters are chapter four, on relaying, and chapter six on spam filtering. Both of these have great introductions and in-depth techincal descriptions, with effective graphics, covering the topics.

I recommend this book for systems administrators and for people actively using with sendmail.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 7 people found the following review helpful:
5.0 out of 5 stars A must have for anyone who administers sendmail, August 26, 2004
This review is from: sendmail Cookbook (Paperback)
Working with sendmail can be very challenging at times; while the documentation for it is very complete, finding real-life use-cases can be tough and messing up a configuration is very easy. Fortunately the sendmail authors and community adopted the m4 language to help make building and managing sendmail configurations less painful (I remember having bad dreams about sendmail configuration language when I started learning it). Even with m4, understanding what goes where when and why in a sendmail configuration file can be a real challenge.

O'Reilly helped we mere mortals out tremendously with the publication of "Sendmail: The Definitive Guide," a book that helped demystify and clarify many of sendmail's inner-workings and configuration options. Even with this book, it was still hard to answer real-life use case questions, like how to enable SMTP AUTH for sendmail, how do I use LDAP with sendmail, how do I use sendmail to accept email for multiple domains in a virtual hosting environment, how do I use blackhole list services?

Enter "Sendmail Cookbook." This clear, easy to read, well-indexed book contains a wealth of useful recipies that make previously difficult to figure out tasks quite easy. The book is organized in typical Cookbook fashion; each chapter or section stands on it's own, and if it does require knowledge of other sendmail configuration topics, the section includes cross-references to other relevant recipies and references to appropriate sections in the "Sendmail: The Definitive Guide" book, which is a nice additional feature.

This cookbook starts with recipies that step the reader through building and installing sendmail, with sections on configuring the build so that sendmail compiles with SSL/STARTTLS support, LDAP support, and SASL support. Chapters that follow deal with everything from enabling and configuring SMTP AUTH, to securing sendmail itself, to controlling spam. Recipies use m4 whenever possible and only dip into the sendmail configuration language when necessary, another feature I found very impressive.

I own quite a few O'Reilly books; this is one of a small number that I enjoy just picking up and flipping to a random page and reading; I always find something that I either didn't know or had forgotten. I wish I had this book seven years ago when I was struggling to learn the basics of sendmail configuration and administration; I might have more hair left if I had! I highly recommend this book to anyone who works with sendmail, be that daily administration or occassional troubleshooting.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 22 people found the following review helpful:
5.0 out of 5 stars A Much Easier Way to Handle Sendmail, December 30, 2003
This review is from: sendmail Cookbook (Paperback)
The first killer application of the Internet was email. For over twenty years, the most common program used to handle this was sendmail, written by Eric Allman. Over this time, sendmail has become a fully fledged language, with a very inelegant syntax. To learn how this, you need the book "Sendmail" by Costales and Allman.

The basic problem is that twenty years of ever increasing complexity in mail handling has created concomitant complexity in sendmail. For system adminstrators, the sendmail configuration files are probably the most complicated things they have to understand and maintain.

The rub is that most sysadmins have many duties, and little time to thoroughly read the above book. What is needed is a crib sheet, that lets you quickly solve very common sendmail configuration issues. Wherein the need for this book. Hunt takes a pragmatic approach. He tells you enough to handle these common issues. Sometimes, this comes at a slight cost. For example, he never really fully explains the the sendmail class notation. For a rigorous explanation, you still need Allman's book. But as a practical matter, you probably not that curious about the notation anyway. Hunt's approach may solve your problems quicker!

An interesting aspect of this Cookbook is that it shows the recent evolution of sendmail, as seen in the subtitle at the top of the cover, "Spam-Fighting". Sysadmins who dealt with sendmail from 5 years ago or earlier will recall nothing pertaining to antispam techniques.

But just as email was the first killer application, the second killer application was the browser, starting in 1992-3. The third killer application was spam, often viewed via the second application. In the last 5 years, spam has grown amazingly. So much so that it has been debated on the floors of the US Parliament! It has gotten to the point that some alarmists are even claiming that this third killer app might be crippling the first app!

Well, this Cookbook has several sections, including an entire chapter, focussed on various antispam techniques, like procmail parsing, or hooking up to Real Time Block Lists like spamhaus.org. The efficacy of such methods may vary widely, but you do get a choice. Though none of these currently appear to offer a truly effective countermeasure. You are still getting tons of spam, aren't you?

Perhaps some genius in the not too distant future can help us!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews




Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
routing mail, controlling spam, solution add, performance tuning, address masquerading, blocking spam, wrotethebook com, sendmail book, mail delivery triple, blackhole list service, sendmail schema, relaying privileges, mailer esmtp canonify input, sendmail source code distribution, alana smiley, mail routing address, local canonify input, canonify returns, address alana, mailertable entry, aliases text file, dnsbl feature, ostype file, genericstable database, address test mode
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Red Hat Linux, Craig Hunt, Solution Create, Securing the Mail Transport, Linux Sendmail Administration, Srv Features, The Discussion, Third Edition, Getting Started, Network Administration, Addison Wesley, Solution Make, Nick Christenson, Entering Passive Mode, Using Recipe, Disabling Delivery, Controlling Delivery, Managing the Queue, Gerald Carter, Directory Services, Solution Select, Reading Aliases, Sendmail Signing Key, Transport Layer Security, Rewriting the From Address
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject