MTU Cork Library Catalogue

Syndetics cover image
Image from Syndetics

Sendmail / Bryan Costales with Eric Allman.

By: Costales, Bryan.
Contributor(s): Allman, Eric.
Material type: materialTypeLabelBookPublisher: Cambridge : O'Reilly & Associates,U.S., 1997Edition: 2nd ed.Description: 1050 p. ; 23 cm.ISBN: 1565922220.Subject(s): Sendmail | Electronic mail systems -- Computer programsDDC classification: 004.692
Contents:
I: A Tutorial -- Introduction -- Have a V8 -- The roles of sendmail -- How to run sendmail -- The sendmail.cf file -- The mail hub and delivery agents -- Macros -- Addresses and Rules -- Rule Set 0 -- Rule Set 3 -- Rule Sets 1 and S= -- Class -- Setting Options -- Headers, Precedence and Trust -- Install and Test the client.cf file -- The null.mc file and m4 -- The Hub's complex rules -- II: Build and Install -- Compile and Install sendmail -- V8 m4 Configuration -- The checkcompat () Cookbook -- III: Administration -- DNS and sendmail -- Security -- The Queue -- Aliases -- Mailing lists and ~/. forward -- Logging and Statistics -- IV: Reference -- The Configuration File -- Rules -- Rule Sets -- Delivery Agents -- Defined Macros -- Class Macros -- Database Macros -- Options -- Headers -- The command line -- Debugging with -d -- Rule-Set Testing with -bt.
Holdings
Item type Current library Call number Copy number Status Date due Barcode Item holds
General Lending MTU Bishopstown Library Lending 004.692 (Browse shelf(Opens below)) 1 Available 00156562
General Lending MTU Bishopstown Library Lending 004.692 (Browse shelf(Opens below)) 1 Available 00015282
Total holds: 0

Enhanced descriptions from Syndetics:

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.

Covers sendmail Version 8.8 from Berkeley and the standard versions available on most systems. This cross-referenced edition offers an expanded tutorial, solution-oriented examples, and new 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.

Bibliography: (pages 991-996) and index.

I: A Tutorial -- Introduction -- Have a V8 -- The roles of sendmail -- How to run sendmail -- The sendmail.cf file -- The mail hub and delivery agents -- Macros -- Addresses and Rules -- Rule Set 0 -- Rule Set 3 -- Rule Sets 1 and S= -- Class -- Setting Options -- Headers, Precedence and Trust -- Install and Test the client.cf file -- The null.mc file and m4 -- The Hub's complex rules -- II: Build and Install -- Compile and Install sendmail -- V8 m4 Configuration -- The checkcompat () Cookbook -- III: Administration -- DNS and sendmail -- Security -- The Queue -- Aliases -- Mailing lists and ~/. forward -- Logging and Statistics -- IV: Reference -- The Configuration File -- Rules -- Rule Sets -- Delivery Agents -- Defined Macros -- Class Macros -- Database Macros -- Options -- Headers -- The command line -- Debugging with -d -- Rule-Set Testing with -bt.

Table of contents provided by Syndetics

  • Preface (p. xv)
  • 1. Some Basics (p. 1)
  • 1.1 Email Basics (p. 1)
  • 1.2 Requests for Comments (RFCs) (p. 2)
  • 1.3 Email and sendmail (p. 2)
  • 1.4 Basic Parts of sendmail (p. 4)
  • 1.5 Basic Parts of a Mail Message (p. 5)
  • 1.6 Basic Roles of sendmail (p. 10)
  • 1.7 Basic Modes of sendmail (p. 18)
  • 1.8 The sendmail.cf File (p. 29)
  • Part I. Build and Install
  • 2. Build and Install sendmail (p. 39)
  • 2.1 Vendor Versus Compiling (p. 39)
  • 2.2 Obtain the Source (p. 40)
  • 2.3 The Build Script (p. 47)
  • 2.4 Building with m4 (p. 48)
  • 2.5 Build sendmail (p. 51)
  • 2.6 Install sendmail (p. 54)
  • 2.7 Pitfalls (p. 65)
  • 2.8 Build m4 Macro Reference (p. 65)
  • 3. Tune sendmail with Compile-Time Macros (p. 97)
  • 3.1 Before You Begin, a Checklist (p. 97)
  • 3.2 To Port, Tune, or Debug (p. 99)
  • 3.3 Pitfalls (p. 102)
  • 3.4 Compile-Time Macro Reference (p. 103)
  • 4. Configure sendmail.cf with m4 (p. 146)
  • 4.1 The m4 Preprocessor (p. 146)
  • 4.2 Configure with m4 (p. 149)
  • 4.3 m4 Macros by Function (p. 156)
  • 4.4 Masquerading (p. 160)
  • 4.5 Relays (p. 164)
  • 4.6 UUCP Support (p. 168)
  • 4.7 Pitfalls (p. 172)
  • 4.8 Configuration File Feature Reference (p. 173)
  • 5. Build and Use Companion Programs (p. 204)
  • 5.1 The Build Script (p. 204)
  • 5.2 The editmap Program (p. 212)
  • 5.3 The mail.local Delivery Agent (p. 217)
  • 5.4 The mailstats Program (p. 222)
  • 5.5 The makemap Program (p. 228)
  • 5.6 The praliases Program (p. 234)
  • 5.7 The rmail Delivery Agent (p. 236)
  • 5.8 The smrsh Program (p. 236)
  • 5.9 The vacation Program (p. 239)
  • 5.10 Pitfalls (p. 249)
  • Part II. Administration
  • 6. Tune Performance (p. 253)
  • 6.1 Handle Deep Queues (p. 253)
  • 6.2 Sidestep Slow Hosts (p. 257)
  • 6.3 Deliver to Files (p. 264)
  • 6.4 Buffered File I/O (p. 273)
  • 6.5 Use Multiple Queues (p. 276)
  • 6.6 Condition the Network (p. 277)
  • 6.7 Tune the Kernel (p. 282)
  • 6.8 Pitfalls (p. 285)
  • 7. How to Handle spam (p. 287)
  • 7.1 The Local_check_Rule Sets (p. 287)
  • 7.2 How DNSBL Works (p. 295)
  • 7.3 Check Headers with Rule Sets (p. 298)
  • 7.4 Relaying (p. 301)
  • 7.5 The access Database (p. 310)
  • 7.6 The Milter Library (p. 324)
  • 7.7 Pitfalls (p. 331)
  • 8. Test Rule Sets with -bt (p. 333)
  • 8.1 Overview (p. 333)
  • 8.2 Configuration Lines (p. 335)
  • 8.3 Dump a sendmail Macro or Class (p. 337)
  • 8.4 Show an Item (p. 339)
  • 8.5 Complex Actions Made Simple (p. 341)
  • 8.6 Process-Specified Addresses (p. 348)
  • 8.7 Add Debugging for Detail (p. 352)
  • 8.8 Batch Rule-Set Testing (p. 353)
  • 8.9 Pitfalls (p. 354)
  • 9. DNS and sendmail (p. 355)
  • 9.1 Overview (p. 355)
  • 9.2 How sendmail Uses DNS (p. 358)
  • 9.3 Set Up MX Records (p. 365)
  • 9.4 How to Use nslookup (p. 372)
  • 9.5 Prepare for Disaster (p. 373)
  • 9.6 Pitfalls (p. 377)
  • 10. Maintain Security with sendmail (p. 379)
  • 10.1 Why root? (p. 379)
  • 10.2 The Environment (p. 381)
  • 10.3 SMTP Probes (p. 382)
  • 10.4 The Configuration File (p. 385)
  • 10.5 Permissions (p. 389)
  • 10.6 The Aliases File (p. 394)
  • 10.7 Forged Mail (p. 395)
  • 10.8 Security Features (p. 398)
  • 10.9 Support SMTP AUTH (p. 406)
  • 10.10 STARTTLS (p. 415)
  • 10.11 Other Security Information (p. 428)
  • 10.12 Pitfalls (p. 428)
  • 11. Manage the Queue (p. 430)
  • 11.1 Overview of the Queue (p. 430)
  • 11.2 Parts of a Queued Message (p. 432)
  • 11.3 Using Multiple Queue Directories (p. 437)
  • 11.4 Queue Groups (V8.12 and Above) (p. 440)
  • 11.5 Bogus qf Files (p. 451)
  • 11.6 Printing the Queue (p. 453)
  • 11.7 How the Queue Is Processed (p. 457)
  • 11.8 Cause Queues to Be Processed (p. 458)
  • 11.9 Process Alternate Queues (p. 468)
  • 11.10 Pitfalls (p. 469)
  • 11.11 The qf File Internals (p. 470)
  • 12. Maintain Aliases (p. 485)
  • 12.1 The aliases(5) File (p. 485)
  • 12.2 Forms of Alias Delivery (p. 490)
  • 12.3 Write a Delivery Agent Script (p. 495)
  • 12.4 Special Aliases (p. 497)
  • 12.5 The Aliases Database (p. 502)
  • 12.6 Prevent Aliasing with -n (p. 506)
  • 12.7 Pitfalls (p. 507)
  • 13. Mailing Lists and [similar]/.forward (p. 509)
  • 13.1 Internal Mailing Lists (p. 509)
  • 13.2 :include: Mailing Lists (p. 510)
  • 13.3 Defining a Mailing List Owner (p. 513)
  • 13.4 Exploder Mailing Lists (p. 514)
  • 13.5 Problems with Mailing Lists (p. 516)
  • 13.6 Packages That Help (p. 519)
  • 13.7 The User's [similar]/.forward File (p. 520)
  • 13.8 Pitfalls (p. 526)
  • 14. Signals, Transactions, and Syslog (p. 528)
  • 14.1 Signal the Daemon (p. 528)
  • 14.2 Log Transactions with -X (p. 532)
  • 14.3 Log with syslog (p. 533)
  • 14.4 Pitfalls (p. 540)
  • 14.5 Alphabetized syslog Equates (p. 540)
  • 15. The sendmail Command Line (p. 548)
  • 15.1 Alternative argv[0] Names (p. 548)
  • 15.2 Command-Line Switches (p. 551)
  • 15.3 List of Recipient Addresses (p. 554)
  • 15.4 Processing the Command Line (p. 554)
  • 15.5 sendmail's exit() Status (p. 556)
  • 15.6 Pitfalls (p. 562)
  • 15.7 Alphabetized Command-Line Switches (p. 563)
  • 16. Debug sendmail with -d (p. 581)
  • 16.1 The Syntax of -d (p. 581)
  • 16.2 The Behavior of -d (p. 583)
  • 16.3 Interpret the Output (p. 584)
  • 16.4 Table of All -d Categories (p. 587)
  • 16.5 Pitfalls (p. 590)
  • 16.6 Reference for -d in Numerical Order (p. 591)
  • Part III. The Configuration File
  • 17. Configuration File Overview (p. 629)
  • 17.1 Overall Syntax (p. 630)
  • 17.2 Comments (p. 631)
  • 17.3 V8 Comments (p. 631)
  • 17.4 Continuation Lines (p. 632)
  • 17.5 The V Configuration Command (p. 632)
  • 17.6 Pitfalls (p. 634)
  • 18. The R (Rules) Configuration Command (p. 636)
  • 18.1 Why Rules? (p. 636)
  • 18.2 The R Configuration Command (p. 637)
  • 18.3 Tokenizing Rules (p. 642)
  • 18.4 The Workspace (p. 644)
  • 18.5 The Behavior of a Rule (p. 645)
  • 18.6 The LHS (p. 646)
  • 18.7 The RHS (p. 648)
  • 18.8 Pitfalls (p. 658)
  • 18.9 Rule Operator Reference (p. 659)
  • 19. The S (Rule Sets) Configuration Command (p. 670)
  • 19.1 The S Configuration Command (p. 670)
  • 19.2 The Sequence of Rule Sets (p. 675)
  • 19.3 The canonify Rule Set 3 (p. 677)
  • 19.4 The final Rule Set 4 (p. 682)
  • 19.5 The parse Rule Set 0 (p. 683)
  • 19.6 The localaddr Rule Set 5 (p. 687)
  • 19.7 Rule Sets 1 and 2 (p. 689)
  • 19.8 Pitfalls (p. 690)
  • 19.9 Policy Rule-Set Reference (p. 690)
  • 20. The M (Mail Delivery Agent) Configuration Command (p. 698)
  • 20.1 The M Configuration Command (p. 698)
  • 20.2 The Symbolic Delivery Agent Name (p. 699)
  • 20.3 The mc Configuration Syntax (p. 700)
  • 20.4 Delivery Agents by Name (p. 703)
  • 20.5 Delivery Agent Equates (p. 722)
  • 20.6 How a Delivery Agent Is Executed (p. 743)
  • 20.7 Pitfalls (p. 744)
  • 20.8 Delivery Agent F= Flags (p. 745)
  • 21. The D (Define a Macro) Configuration Command (p. 770)
  • 21.1 Preassigned sendmail Macros (p. 771)
  • 21.2 Command-Line Definitions (p. 772)
  • 21.3 Configuration-File Definitions (p. 773)
  • 21.4 Macro Names (p. 776)
  • 21.5 Macro Expansion: $ and $& (p. 777)
  • 21.6 Macro Conditionals: $?, $|, and $. (p. 780)
  • 21.7 Macros with mc Configuration (p. 782)
  • 21.8 Pitfalls (p. 784)
  • 21.9 Alphabetized sendmail Macros (p. 784)
  • 22. The C and F (Class Macro) Configuration Commands (p. 836)
  • 22.1 Class Configuration Commands (p. 836)
  • 22.2 Access Classes in Rules (p. 845)
  • 22.3 Classes with mc Configuration (p. 848)
  • 22.4 Internal Class Macros (p. 850)
  • 22.5 Pitfalls (p. 851)
  • 22.6 Alphabetized Class Macros (p. 851)
  • 23. The K (Database-Map) Configuration Command (p. 859)
  • 23.1 Enable at Compile Time (p. 860)
  • 23.2 The K Configuration Command (p. 863)
  • 23.3 The K Command switches (p. 865)
  • 23.4 Use $ (and $) in Rules (p. 873)
  • 23.5 Database Maps with mc Configuration (p. 877)
  • 23.6 Pitfalls (p. 878)
  • 23.7 Alphabetized Database-Map Types (p. 878)
  • 24. The O (Options) Configuration Command (p. 921)
  • 24.1 Overview (p. 922)
  • 24.2 Command-Line Options (p. 922)
  • 24.3 configuration File Options (p. 926)
  • 24.4 Options in the mc File (p. 927)
  • 24.5 Alphabetical Table of All Options (p. 932)
  • 24.6 Option Argument Types (p. 936)
  • 24.7 Interrelating Options (p. 938)
  • 24.8 Pitfalls (p. 942)
  • 24.9 Alphabetized Options (p. 942)
  • 25. The H (Headers) Configuration Command (p. 1080)
  • 25.1 Overview (p. 1080)
  • 25.2 Header Names (p. 1081)
  • 25.3 Header Field Contents (p. 1083)
  • 25.4 ?flags? in Header Definitions (p. 1086)
  • 25.5 Rules Check Header Contents (p. 1090)
  • 25.6 Header Behavior in conf.c (p. 1097)
  • 25.7 Headers and mc Configuration (p. 1102)
  • 25.8 Headers by Category (p. 1102)
  • 25.9 Forwarding with Resent Headers (p. 1106)
  • 25.10 Precedence (p. 1107)
  • 25.11 Pitfalls (p. 1109)
  • 25.12 Alphabetized Header Reference (p. 1109)
  • Part IV. Appendixes
  • A. The mc Configuration Macros and Directives (p. 1131)
  • B. What's New Since V8.8 (p. 1145)
  • C. Error Message Reference (p. 1158)
  • D. The checkcompat() Cookbook (p. 1162)
  • E. A Map to Tutorial Information (p. 1173)
  • Bibliography (p. 1177)
  • Index (p. 1183)

Author notes provided by Syndetics

is CTO with SL3D, Inc. in Boulder, Colorado. He has been active in system administration for over fifteen years and has been writing articles and books about computer software for over twenty years. His most notable books are C from A to Z (Prentice Hall), Unix Communications (Howard Sams), and, of course, sendmail (O'Reilly & Associates).

is Sendmail, Inc.'s chief technology officer and co-founder. Allman authored sendmail, the world's first Internet Mail program, in 1981 while at the University of California at Berkeley. He continues to spearhead sendmail.org, the global team of volunteers that maintain and support the sendmail open source platform.

Powered by Koha