sendmail, Second Edition

By Bryan Costales
With Eric Allman
Second Edition  January 1997 
Pages: 1044
ISBN 10: 1-56592-222-0 | ISBN 13: 9781565922228
starstarstarstarstar (Average of 8 Customer Reviews)

This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.

The latest edition is also available on Safari Books Online.

Book description

sendmail, 2nd Edition, covers sendmail Version 8.8 from Berkeley and the standard versions available on most systems. This cross-referenced edition offers an expanded tutorial and solution-oriented examples, plus topics such as the #error delivery agent, sendmail's exit values, MIME headers, and how to set up and use the user database, mailertable, and smrsh.
Full Description

This second edition of sendmail covers sendmail Version 8.8 from Berkeley and the standard versions available on most systems. It is far and away the most comprehensive book ever written on sendmail, the program that acts like a traffic cop in routing and delivering mail on Unix-based networks. Although sendmail is used on almost every Unix system, it's one of the last great uncharted territories--and most difficult utilities to learn--in Unix system administration. This book provides a complete sendmail tutorial, plus extensive reference material on every aspect of the program. What's more, it's authoritative, having been coauthored by Eric Allman, the developer of sendmail. In addition to Version 8.8, it covers earlier versions available on many systems, such as those found on Sun workstations. Part One is a tutorial on understanding sendmail; Part Two covers the building, installation, and m4 configuration of sendmail; Part Three covers practical issues in sendmail administration; Part Four is a comprehensive reference section; and Part Five consists of appendixes and a bibliography. In this second edition an expanded tutorial demonstrates hub's cf file and nullclient.mc. Other topics include the #error delivery agent, sendmail's exit values, MIME headers, and how to set up and use the user database, mailertable, and smrsh. Solution-oriented examples throughout the book help you solve your own sendmail problems. Plus, this edition is cross-referenced with section numbers.
Post-purchase benefits:

Register your book | Submit Errata


Browse within this book

Cover | Table of Contents | Index | Colophon

Book details

Second Edition: January 1997
ISBN: 1-56592-222-0
Pages: 1044
Average Customer Reviews: starstarstarstarstar (Based on 8 Reviews)


Featured customer reviews

Write a Review


sendmail, 2nd Edition Review,  September 26 2002
Rating: StarStarStarStarStar
Submitted by Edwin A. Gutierrez   [Respond | View]

One of the best book from O'Reilly. This book will help reader from the ground up. From the most simplest configuration to the most complicated configuration can be learned from this book.

Surely one you cannot have without if you're a just a simple Linux user or a fulltime Administrator.


sendmail, 2nd Edition Review,  April 19 2002
Rating: StarStarStarStarStar
Submitted by Sagara   [Respond | View]

This is the Definitive book, BUT it's really outdated. When can we expect the 3rd edition?


sendmail, 2nd Edition Review,  February 06 2002
Rating: StarStarStarStarStar
Submitted by R. L.   [Respond | View]

This is a good intro book for sendmail V8.8.4. In fact, the *ONLY* book for sendmail...

One MAJOR problem though... Version 8.8.4 is unsecure & mainly OLD and later versions (8.12.2) are COMPLETLY different in terms of building & compiling from source (directories are in TOTALLY different) and in terms of the client.cf created in the tutorial. It IS well done but only for Version 8.8.4 which is WAY outdated!!!

If the author/creator of sendmail can PLEASE put out a pdf file or a new book about the changes from 8.8.4 to those more modern versions (i.e.: 8.12.2) of sendmail, it'll be THE BEST!!!

Please email me if you know of any guides/books/how-to's that explain Version 8.12.2 or similar...

Thanks!!

but it does give you the basics...but i'm sure new functionality was added to later versions.



Read all reviews


sendmail, 2nd Edition Review,  September 23 2001
Rating: StarStarStarStarStar
Submitted by Tony Wu   [Respond | View]

Please give me the answer for the "Things to Try" section, because I can't complete the example which the book teach me to do. The reason is my sendmail version is more update than the book, so I believe it is not good for beginner,and I wish the publisher will update the information from the web, because I just brought this book. After that, I just feel it is helpless for me. Please update it.


sendmail, 2nd Edition Review,  August 17 2001
Rating: StarStarStarStarStar
Submitted by dd   [Respond | View]

Very confusing. The layout and organization needs a complete overhaul. The info is there but getting it requires a lot of jumping around.


sendmail, 2nd Edition Review,  February 15 2001
Rating: StarStarStarStarStar
Submitted by Andy Gram   [Respond | View]

Overall the book is just what the doctor ordered for getting on top of sendmail and managing it effectively. However, it was published in 1997, and there have been a lot of additions to sendmail recently, especially related to its anti-spam features. Here in February 2001, its price tag of $49.95 is firmly and consistently requesting, if not actually screaming, for an update, say a 3rd Edition, for example. If there is a 3rd Edition someday, you'll be able to acquire this edition in a previously-owned context for quite a bit less cost.

However, I would recommend it without any hesitation if it were the 3rd Edition, and it would be a very good value even at $49.95.


sendmail, 2nd Edition Review,  January 30 2001
Rating: StarStarStarStarStar
Submitted by Impressed   [Respond | View]

I was very impressed with the book, the only problem was finding that some of the information was a bit out dated.. I and alot of other STONGLY suggest making a updated 3rd edition with the current information/utilities listing.. over all it make it quite easy to get a mail server going..


sendmail, 2nd Edition Review,  June 13 2000
Rating: StarStarStarStarStar
Submitted by Brad Felber   [Respond | View]

If you're serious about getting a sendmail server up and running, you definatally need this book. It's a complex book because Sendmail is a complex program. It's not going to teach you what E-mail is, because you should already know that if you're setting up a mail server. But it will help you get your corporate e-mail up and running.


sendmail, 2nd Edition Review,  July 23 1999
Submitted by Aldo Watts   [Respond | View]



This book is written by programmers for programmers and is of absolutely NO help for anyone new to sendmail (unless you're a hard-core programmer). Like many ORA books it is unfortunately the only book on the subject, so if you need to do any serious work with sendmail you have no other option.



sendmail, 2nd Edition Review,  June 25 1998
Submitted by Jim Dandy   [Respond | View]



This book is wonderful. It is the most
complete reference on Sendmail. Period. It is
essential.

And, by the way, if you find this book too
technical then you probably shouldn't be messing
with sendmail anyway. Its technicality is what
makes this book so good.


sendmail, 2nd Edition Review,  April 08 1998
Submitted by Luke Ross - luke@sross.anglianet.co.uk   [Respond | View]



If you ever have to approach sendmail, then this is *the*
book. It covers all the possible options, files and
switches in full, and includes details on the new m4
files and option typed in v8 sendmail.

The introduction and beginners guide has perhaps a little
too steep a learning curve for beginners but is acceptable
for those with a vague knowledge of SMTP and a familiarity
with your OS.

Anybody who needs to use sendmail should acquire a copy
of 'the Bat Book', at least for reference.


Media reviews

"This is the sendmail 'bible"' --Peter Collinson, Server/Workstation Expert, July 2001

"I recommend studying or acquiring the excellent O'Reilly & Associates book, Using Sendmail (also known as the "bat book"). --Adam Thornton, Technical Support, March 2001

"Its the Bible for Sendmail, written by the man himself, Eric Allman. If you are configuring Sendmail, and you don't have this book, you are a far braver human than I." --Michael Schwager, Sys Admin, March 1999

"Amazon.com's Bestselling Title of 1998 in the Category of Email Applications"

"The definitive tome about Sendmail." --Ben Rothke, Enterprise Systems Journal, June 1998

"Sendmail might not be the heart of UNIX mail and communications services, but it certainly is a good portion of the autonomic nervous system. Although considered venerable by some, it is also extremely widely used. This book hopes to make sendmail administration not only easy, but fun. Quite a task. "Part one of the book is tutorial in nature, starting with background information in chapter one. We are given a brief history and philosophy of sendmail, plus some description of the component parts, and the related Internet RFCs (Request For Comment) and technologies. (RFCs, the name to the contrary, are the descriptions of how Internet functions should work. In a sense, they are the standards of the Internet.) The tutorial covers the invocation and switches, the configuration file, mail delivery agents, macros, rules, rules and more rules, class macros, options, headers, and miscellaneous topics. "Part two deals with administration and management, and runs you through the process of configuring, compiling and installing sendmail. It also has specifics of V8 as well as DNS (Domain Name Server). More advanced topics, such as security, the queue, aliases, mailing lists, forwarding, logging and statistics are now in a new part three. "Part four is the reference, and chapters list the options for delivery agents; defined, class and database macros; options, headers, the command line and debugging. There are appendixes and a bibliography. "Because of the nature of the book, you will find a fair amount of material duplicated (for example between the tutorial on delivery agents, and the reference sections). However, the duplicated material, and the short chaptering make this an excellent reference work overall. The material is generally clear and well laid out. The tutorial section is definitely for the technically advanced: I suspect the authors have a ways to go before many people find sendmail 'fun'." --copyright Robert M. Slade, 1993, 1997

Hide extended reviews


See larger cover