[ Team LiB ]
•
Table of Contents
•
Index
•
Reviews
•
Reader Reviews
•
Errata
sendmail, 3rd Edition
By
Bryan Costales
Publisher
: O'Reilly
Pub Date
: December 2002
ISBN
: 1-56592-839-3
Pages
: 1232
Copyright
Dedication
Preface
Changes Since the Previous Edition
Why This Book Is Necessary
History
Eric Allman Speaks
Organization
Audience and Assumptions
Unix and sendmail Versions
Conventions Used in This Handbook
Additional Sources of Information
Other Books, Other Problems
How to Contact Us
Acknowledgments
Chapter 1. Some Basics
Section 1.1. Email Basics
Section 1.2. Requests for Comments (RFCs)
Section 1.3. Email and sendmail
Section 1.4. Basic Parts of sendmail
Section 1.5. Basic Parts of a Mail Message
Section 1.6. Basic Roles of sendmail
Section 1.7. Basic Modes of sendmail
Section 1.8. The sendmail.cf File
Part I: Build and Install
Chapter 2. Build and Install sendmail
Section 2.1. Vendor Versus Compiling
Section 2.2. Obtain the Source
Section 2.3. The Build Script
Section 2.4. Building with m4
Section 2.5. Build sendmail
Section 2.6. Install sendmail
Section 2.7. Pitfalls
Section 2.8. Build m4 Macro Reference
APPENDDEF( )
confBEFORE
confBLDVARIANT
confBUILDBIN
confCC
confCCOPTS
confCCOPTS_SO
confCOPY
confDEPEND_TYPE
confDEPLIBS
confDONT_INSTALL_CATMAN
confEBINDIR
confENVDEF and conf_prog_ENVDEF
confFORCE_RMAIL
confGBIN...
confHFDIR
confHFFILE
confINCDIRS
confINC...
confINSTALL
confINSTALL_RAWMAN
confLD
confLDOPTS
confLDOPTS_SO
confLIB...
confLIBDIRS
confLIBS and conf_prog_LIBS
confLIBSEARCH
confLIBSEARCHPATH
confLN
confLNOPTS
confLINKS
confMAN...
confMAPDEF
confMBIN...
confMSPQOWN
confMSP_QUEUE_DIR
confMTCCOPTS
confMTLDOPTS
confNO_HELPFILE_INSTALL
confNO_MAN_BUILD
confNO_MAN_INSTALL
confNO_STATISTICS_INSTALL
confOBJADD
confOPTIMIZE
confRANLIB
confRANLIBOPTS
confREQUIRE_LIBSM
confSBINDIR
confSBINGRP
confSBINMODE
confSBINOWN
confSHAREDLIB...
confSHELL
confSM_OS_HEADER
confSMOBJADD
confSMSRCADD
confSONAME
conf_prog_OBJADD
conf_prog_SRCADD
confSRCDIR
confSTDIOTYPE
confSTDIR
confSTFILE
confSTRIP
confSTRIPOPTS
confUBINDIR
confUBINGRP
confUBINMODE
confUBINOWN
PREPENDDEF( )
Chapter 3. Tune sendmail with Compile-Time Macros
Section 3.1. Before You Begin, a Checklist
Section 3.2. To Port, Tune, or Debug
Section 3.3. Pitfalls
Section 3.4. Compile-Time Macro Reference
AUTO_NIS_ALIASES
BSD4_3
BSD4_4
DATA_PROGRESS_TIMEOUT
DNSMAP
DSN
EGD
ERRLIST_PREDEFINED
FAST_PID_RECYCLE
_FFR...
FORK
HAS...
HESIOD
HES_GETMAILHOST
IDENTPROTO
IP_SRCROUTE
...IS_BROKEN
LA_TYPE
LDAPMAP
LOG
MATCHGECOS
MAX...
MEMCHUNKSIZE
MILTER
MIME7TO8
MIME8TO7
NAMED_BIND
MAP_NSD
MAP_REGEX
NDBM
NEED...
NET...
NETINFO
NEWDB
NIS
NISPLUS
NOFTRUNCATE
NO_GROUP_SET
NOTUNIX
_PATH...
PH_MAP
PICKY_HELO_CHECK
PIPELINING
PSBUFSIZ
QUEUE
QUEUESEGSIZE
REQUIRES_DIR_FSYNC
SASL
SCANF
SECUREWARE
SFS_TYPE
SHARE_V1
SM_...
SM_HEAP_CHECK
SM_CONF_SHM
SMTP
SMTPDEBUG
SMTPLINELIM
SPT_TYPE
STARTTLS
SUID_ROOT_FILES_OK
SYSLOG_BUFSIZE
SYSTEM5
TCPWRAPPERS
TLS_NO_RSA
TOBUFSIZE
TTYNAME
...T
UDB_DEFAULT_SPEC
USE_DOUBLE_FORK
USE_ENVIRON
USING_NETSCAPE_LDAP
USERDB
USESETEUID
WILDCARD_SHELL
XDEBUG
Chapter 4. Configure sendmail.cf with m4
Section 4.1. The m4 Preprocessor
Section 4.2. Configure with m4
Section 4.3. m4 Macros by Function
Section 4.4. Masquerading
Section 4.5. Relays
Section 4.6. UUCP Support
Section 4.7. Pitfalls
Section 4.8. Configuration File Feature Reference
FEATURE(accept_unqualified_senders)
FEATURE(accept_unresolvable_domains)
FEATURE(access_db)
FEATURE(allmasquerade)
FEATURE(always_add_domain)
FEATURE(authinfo)
FEATURE(bestmx_is_local)
FEATURE(bitdomain)
FEATURE(blacklist_recipients)
FEATURE(compat_check)
FEATURE(delay_checks)
FEATURE(dnsbl)
FEATURE(domaintable)
FEATURE(enhdnsbl)
FEATURE(generics_entire_domain)
FEATURE(genericstable)
FEATURE(ldap_routing)
FEATURE(limited_masquerade)
FEATURE(local_lmtp)
FEATURE(local_no_masquerade)
FEATURE(local_procmail)
FEATURE(lookupdotdomain)
FEATURE(loose_relay_check)
FEATURE(mailertable)
FEATURE(masquerade_entire_domain)
FEATURE(masquerade_envelope)
FEATURE(msp)
FEATURE(nocanonify)
FEATURE(nodns)
FEATURE(no_default_msa)
FEATURE(notsticky)
FEATURE(nouucp)
FEATURE(nullclient)
FEATURE(promiscuous_relay)
FEATURE(preserve_local_plus_detail)
FEATURE(preserve_luser_host)
FEATURE(queuegroup)
FEATURE(rbl)
FEATURE(redirect)
FEATURE(relay_based_on_MX)
FEATURE(relay_entire_domain)
FEATURE(relay_hosts_only)
FEATURE(relay_local_from)
FEATURE(relay_mail_from)
FEATURE(smrsh)
FEATURE(stickyhost)
FEATURE(use_ct_file)
FEATURE(use_cw_file)
FEATURE(uucpdomain)
FEATURE(virtuser_entire_domain)
FEATURE(virtusertable)
Chapter 5. Build and Use Companion Programs
Section 5.1. The Build Script
-A
-c
-E
-f
-I
-L
-M
-m
-n
-O
-Q
-S
-v
Section 5.2. The editmap Program
-C
-f
-N
-q
-u
-x
Section 5.3. The mail.local Delivery Agent
-7
-b
-d
-D
-f
-h
-l (lowercase L)
-r
Section 5.4. The mailstats Program
-c
-C
-f
-o
-p
-P
Section 5.5. The makemap Program
-c
-C
-d
-e
-f
-l (lowercase L)
-N
-o
-r
-s
-t
-u
-v
Section 5.6. The praliases Program
-C
-f
Section 5.7. The rmail Delivery Agent
Section 5.8. The smrsh Program
Section 5.9. The vacation Program
-a
-C
-d
-f
-i or -I
-l (lowercase L)
-m
-r
-s
-t
-U
-x
-z
Section 5.10. Pitfalls
Part II: Administration
Chapter 6. Tune Performance
Section 6.1. Handle Deep Queues
Section 6.2. Sidestep Slow Hosts
Section 6.3. Deliver to Files
Section 6.4. Buffered File I/O
Section 6.5. Use Multiple Queues
Section 6.6. Condition the Network
Section 6.7. Tune the Kernel
Section 6.8. Pitfalls
Chapter 7. How to Handle spam
Section 7.1. The Local_check_ Rule Sets
Section 7.2. How DNSBL Works
Section 7.3. Check Headers with Rule Sets
Section 7.4. Relaying
Section 7.5. The access Database
Section 7.6. The Milter Library
Section 7.7. Pitfalls
Chapter 8. Test Rule Sets with -bt
Section 8.1. Overview
Section 8.2. Configuration Lines
Section 8.3. Dump a sendmail Macro or Class
Section 8.4. Show an Item