Book description
A classic O'Reilly title since 1993, sendmail now covers Versions 8.10 through 8.14 of this email routing program, including dozens of new features, options, and macros. This edition also takes a more nuts-and-bolts approach than its predecessors. It includes both an administration handbook and a reference guide that provide you with clear options for installing, configuring and managing sendmail's latest versions and companion programs.
The sendmail program has withstood the test of time because of its ability to solve the mail-routing needs of all sites large or small, complex or simple. But it's also difficult to configure and even more difficult to understand. That's why this book has proven valuable since the dawn of email. With it, you will be able to configure the program to meet any need, so that you never again have to call in a sendmail guru to bail you out.
sendmail includes the following sections:
- Some Basics is especially useful for people new to the program. It covers the basic concepts underlying mail delivery and the roles sendmail plays in that delivery
- Administration covers all aspects of handling sendmail, from downloading and installing new releases to managing mailing lists and aliases
- Configuration Reference contains a heavily cross-referenced guide for configuring and tuning sendmail. Every arcane detail of sendmail is listed alphabetically
- Appendices contain more detail about sendmail than you may ever need
This edition also includes new material on SSL and AUTH and a new chapter on Mitlers. If you're interested in what has changed since the last edition, one appendix categorizes the many improvements of sendmail's intervening versions by chapter, complete with references to the appropriate sections and page numbers in the book.
With sendmail, system administrators, programmers, network engineers, and even inexperienced users will be able to match this challenging but necessary utility to the needs of their network.
Publisher resources
Table of contents
- sendmail, 4th Edition
- Dedication
-
Preface
- Changes Since the Previous Edition
- Why This Book Is Necessary
- History
- Thoughts from Eric Allman
- Organization
- Audience and Assumptions
- Unix and sendmail Versions
- Conventions Used in This Book
- Using Code Examples
- Additional Sources of Information
- Other Books, Other Problems
- How to Contact Us
- Safari® Books Online
- Acknowledgments
- 1. Some Basics
-
I. Administration
-
2. Download, Build, and Install
- Vendor Versus Compiling
- Download the Source
-
What’s Where in the Source
- The Top-Level Build Script
- The contrib Directory
- The devtools Directory
- The doc Directory
- The include Directory
- The INSTALL File
- The KNOWNBUGS File
- The libmilter Directory
- The libsm Directory
- The libsmdb Directory
- The libsmutil Directory
- The LICENSE File
- The Makefile File
- The PGPKEYS File
- The README File
- The RELEASE_NOTES File
- The test Directory
- Build sendmail
- Install sendmail
- Pitfalls
-
Build m4 Macro Reference
- APPENDDEF( )
- confBEFORE
- confBLDVARIANT
- confBUILDBIN
- confCC
- confCCLINK
- 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...
- confMKDIR
- confMSPQOWN
- confMSP_QUEUE_DIR
- confMSP_STFILE
- 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 and confSTMODE
- confSTRIP
- confSTRIPOPTS
- confUBINDIR
- confUBINGRP
- confUBINMODE
- confUBINOWN
- PREPENDDEF( )
-
3. Tune sendmail with Compile-Time Macros
- Before You Begin, a Checklist
- To Port, Tune, or Debug
- Pitfalls
-
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
- SM_CONF_LDAP_INITIALIZE
- SMTP
- SMTPDEBUG
- SMTPLINELIM
- SOCKETMAP
- 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
- 4. Maintain Security with sendmail
-
5. Authentication and Encryption
- Support SMTP AUTH
- Public Key Cryptography
- STARTTLS
- Pitfalls
- 6. The sendmail Command Line
-
7. How to Handle Spam
- The Local_check_ Rule Sets
- How DNSBL Works
- Check Headers with Rule Sets
-
Relaying
- Macros to Allow Relaying
- FEATURE(loose_relay_check)
- FEATURE(promiscuous_relay)
- FEATURE(relay_based_on_MX)
- FEATURE(relay_entire_domain)
- FEATURE(relay_hosts_only)
- FEATURE(relay_local_from)
- FEATURE(relay_mail_from)
- Risk with FEATURE(nouucp)
- FEATURE(accept_unresolvable_domains)
- FEATURE(accept_unqualified_senders)
-
The access Database
- Enabling the access Database Generally
- Create the access Database
- Finer Control with V8.10
- Rejection Message for REJECT
- Reject per Recipient
- Accept and Reject per Recipient
- FEATURE(compat_check)—V8.12 and Later
- Screen by domain and .domain
- Choose Queue Groups Via the access Database
- Screen Based on STARTTLS and AUTH=
- Spam Suppression Features
- Pitfalls
- 8. Test Rule Sets with -bt
- 9. DNS and sendmail
- 10. Build and Use Companion Programs
-
11. Manage the Queue
- Overview of the Queue
- Parts of a Queued Message
- Using Multiple Queue Directories
- Queue Groups (V8.12 and Later)
- Bogus qf Files
- Printing the Queue
- How the Queue Is Processed
- Cause Queues to Be Processed
- Process Alternative Queues
- Queue Quarantining
- Pitfalls
- The qf File Internals
- 12. Maintain Aliases
- 13. Mailing Lists and ~/.forward
- 14. Signals, Transactions, and Syslog
-
15. Debug sendmail with -d
- The Syntax of -d
- The Behavior of -d
- Interpret the Output
- The -D Debug File Switch
- Table of All -d Categories
- Pitfalls
-
Reference for -d in Numerical Order
- -d0.1
- -d0.4
- -d0.10
- -d0.12
- -d0.13
- -d0.15
- -d0.20
- -d2.1
- -d2.9
- -d4.80
- -d6.1
- -d8.1
- -d8.2
- -d8.3
- -d8.5
- -d8.7
- -d8.8
- -d11.1
- -d11.2
- -d12.1
- -d13.1
- -d20.1
- -d21.1
- -d21.2
- -d22.1
- -d22.11
- -d22.12
- -d25.1
- -d26.1
- -d27.1
- -d27.2
- -d27.3
- -d27.4
- -d27.5
- -d27.8
- -d27.9
- -d28.1
- -d29.1
- -d29.4
- -d31.2
- -d34.1
- -d34.11
- -d35.9
- -d37.1
- -d37.8
- -d38.2
- -d38.3
- -d38.4
- -d38.9
- -d38.10
- -d38.12
- -d38.19
- -d38.20
- -d44.4
- -d44.5
- -d48.2
- -d49.1
- -d52.1
- -d52.100
- -d60.1
- -d99.100
-
2. Download, Build, and Install
-
II. Configuration Reference
- 16. Configuration File Overview
-
17. Configure sendmail.cf with m4
- The m4 Preprocessor
- Configure with m4
- m4 Macros by Function
- Masquerading
- Relays
- UUCP Support
- Pitfalls
-
Configuration File Feature Reference
- FEATURE(accept_unqualified_senders)
- FEATURE(accept_unresolvable_domains)
- FEATURE(access_db)
- FEATURE(allmasquerade)
- FEATURE(always_add_domain)
- FEATURE(authinfo)
- FEATURE(badmx)
- FEATURE(bestmx_is_local)
- FEATURE(bitdomain)
- FEATURE(blacklist_recipients)
- FEATURE(block_bad_helo)
- FEATURE(compat_check)
- FEATURE(conncontrol)
- FEATURE(delay_checks)
- FEATURE(dnsbl)
- FEATURE(domaintable)
- FEATURE(enhdnsbl)
- FEATURE(generics_entire_domain)
- FEATURE(genericstable)
- FEATURE(greet_pause)
- 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(mtamark)
- 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(ratecontrol)
- 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(require_rdns)
- FEATURE(smrsh)
- FEATURE(stickyhost)
- FEATURE(use_client_ptr)
- FEATURE(use_ct_file)
- FEATURE(use_cw_file)
- FEATURE(uucpdomain)
- FEATURE(virtuser_entire_domain)
- FEATURE(virtusertable)
- 18. The R (Rules) Configuration Command
- 19. The S (Rule Sets) Configuration Command
-
20. The M (Mail Delivery Agent) Configuration Command
- The M Configuration Command
- The Symbolic Delivery Agent Name
- The mc Configuration Syntax
- Delivery Agents by Name
- Delivery Agent Equates
- How a Delivery Agent Is Executed
- Pitfalls
- Delivery Agent F= Flags
-
21. The D (Define a Macro) Configuration Command
- Preassigned sendmail Macros
- Command-Line Definitions
- Configuration-File Definitions
- Macro Names
- Macro Expansion: $ and $&
- Macro Conditionals: $?, $|, and $.
- Macros with mc Configuration
- Pitfalls
-
Alphabetized sendmail Macros
- $_
- $a
- ${addr_type}
- ${alg_bits}
- ${auth_authen}
- ${auth_author}
- ${auth_ssf}
- ${auth_type}
- $b
- ${bodytype}
- $B
- $c
- ${cert_issuer}
- ${cert_md5}
- ${cert_subject}
- ${cipher}
- ${cipher_bits}
- ${client_addr}
- ${client_connections}
- ${client_flags}
- ${client_name}
- ${client_port}
- ${client_ptr}
- ${client_rate}
- ${client_resolve}
- ${cn_issuer}
- ${cn_subject}
- ${currHeader}
- $C
- $d
- ${daemon_addr}
- ${daemon_family}
- ${daemon_flags}
- ${daemon_info}
- ${daemon_name}
- ${daemon_port}
- ${deliveryMode}
- ${dsn_envid}
- ${dsn_notify}
- ${dsn_ret}
- $D
- $e
- ${envid}
- $E
- $f
- $F
- $g
- $h
- ${hdr_name}
- ${hdrlen}
- $H
- $i
- ${if_addr}
- ${if_addr_out}
- ${if_family}
- ${if_family_out}
- ${if_name}
- ${if_name_out}
- $j
- $k
- $l (lowercase L)
- ${load_avg}
- $L
- $m
- ${mail_addr}
- ${mail_host}
- ${mail_mailer}
- ${msg_id}
- ${msg_size}
- $M
- ${MTAHost}
- $n
- ${nbadrcpts}
- ${nrcpts}
- ${ntries}
- $o
- ${opMode}
- $p
- $q
- ${quarantine}
- ${queue_interval}
- $r
- ${rcpt_addr}
- ${rcpt_host}
- ${rcpt_mailer}
- $R
- $s
- ${sendmailMTACluster}
- ${server_addr}
- ${server_name}
- $S
- $t
- ${time}
- ${tls_version}
- ${total_rate}
- $u
- $U
- $v
- ${verify}
- $V
- $w
- $W
- $x
- $X
- $y
- $Y
- $z
- $Z
- 22. The C and F (Class Macro) Configuration Commands
-
23. The K (Database-Map) Configuration Command
- Enable at Compile Time
- The K Configuration Command
- The K Command Switches
- Use $( and $) in Rules
- Database Maps with mc Configuration
- Pitfalls
-
Alphabetized Database-Map Types
- arith
- btree
- bestmx
- dbm
- dequote
- dns
- hash
- hesiod
- host
- implicit
-
ldap (was ldapx)
- LDAP default schema for aliases includes recursion
- LDAP default schema for classes includes recursion
- The −1 ldap database-map switch
- The -b ldap database-map switch
- The -d ldap database-map switch
- The -H ldap database-map switch
- The -h ldap database-map switch
- The -K ldap database-map switch (V8.14 and later)
- The -k ldap database-map switch
- The -M ldap database-map switch
- The -n ldap database-map switch
- The -P ldap database-map switch
- The -p ldap database-map switch
- The -R ldap database-map switch
- The -r ldap database-map switch
- The -s ldap database-map switch
- The -V ldap database-map switch
- The -v ldap database-map switch
- The -w ldap database-map switch
- The -z ldap database-map switch
- The -Z ldap database-map switch
- FEATURE(ldap_routing)
- LDAPROUTE_DOMAIN and LDAPROUTE_DOMAIN_FILE
- LDAPROUTE_EQUIVALENT and LDAPROUTE_EQUIVALENT_FILE
- macro
- netinfo
- nis
- nisplus
- nsd
- null
- ph
- program
- regex
- sequence
- socket
- stab
- switch
- syslog
- text
- userdb
- user
-
24. The O (Options) Configuration Command
- Overview
- Command-Line Options
- Configuration File Options
- Options in the mc File
- Alphabetical Table of All Options
- Option Argument Types
- Interrelating Options
- Pitfalls
-
Alphabetized Options
- AliasFile
- AliasWait
- AllowBogusHELO
- AuthMaxBits
- AuthMechanisms
- AuthOptions
- AuthRealm
- AutoRebuildAliases
- BadRcptThrottle
- BlankSub
- CACertFile
- CACertPath
- CheckAliases
- CheckpointInterval
- ClassFactor
- ClientCertFile
- ClientKeyFile
- ClientPortOptions
- ColonOkInAddr
- ConnectionCacheSize
- ConnectionCacheTimeout
- ConnectionRateThrottle
- ConnectionRateWindowSize
- ConnectOnlyTo
- ControlSocketName
- CRLFile
-
DaemonPortOptions
- DaemonPortOptions=Addr=
- DaemonPortOptions=children= (8.14 and later)
- DaemonPortOptions=delayLA= (8.14 and later)
- DaemonPortOptions=DeliveryMode= (8.14 and later)
- DaemonPortOptions=Family=
- DaemonPortOptions=Listen=
- DaemonPortOptions=Modify=
- DaemonPortOptions=Name=
- DaemonPortOptions=Port=
- DaemonPortOptions=queueLA= (8.14 and later)
- DaemonPortOptions=ReceiveBufSize=
- DaemonPortOptions=refuseLA= (8.14 and later)
- DaemonPortOptions=SendBufSize=
- DataFileBufferSize
- DeadLetterDrop
- DefaultAuthInfo
- DefaultCharSet
- DefaultUser
- DelayLA
- DeliverByMin
- DeliveryMode
- DHParameters
- DialDelay
- DirectSubmissionModifiers
-
DontBlameSendmail
- DontBlameSendmail=AssumeSafeChown
- DontBlameSendmail=ClassFileInUnsafeDirPath
- DontBlameSendmail=DontWarnForwardFileInUnsafeDirPath (V8.10 and later)
- DontBlameSendmail=ErrorHeaderInUnsafeDirPath
- DontBlameSendmail=FileDeliveryToHardLink
- DontBlameSendmail=FileDeliveryToSymLink
- DontBlameSendmail=ForwardFileInGroupWritableDirPath
- DontBlameSendmail=ForwardFileInUnsafeDirPath
- DontBlameSendmail=ForwardFileInUnsafeDirPathSafe
- DontBlameSendmail=GroupReadableKeyFile (V8.12 and later)
- DontBlameSendmail=GroupReadableSASLDBFile (V8.12 and later)
- DontBlameSendmail=GroupWritableAliasFile
- DontBlameSendmail=GroupWritableDirPathSafe
- DontBlameSendmail=GroupWritableForwardFile (V8.12 and later)
- DontBlameSendmail=GroupWritableForwardFileSafe
- DontBlameSendmail=GroupWritableIncludeFile (V8.11 and later)
- DontBlameSendmail=GroupWritableIncludeFileSafe
- DontBlameSendmail=GroupWritableSASLDBFile (V8.12 and later)
- DontBlameSendmail=HelpFileInUnsafeDirPath
- DontBlameSendmail=IncludeFileInGroupWritableDirPath
- DontBlameSendmail=IncludeFileInUnsafeDirPath
- DontBlameSendmail=IncludeFileInUnsafeDirPathSafe
- DontBlameSendmail=InsufficientEntropy (V8.11 and later)
- DontBlameSendmail=LinkedAliasFileInWritableDir
- DontBlameSendmail=LinkedClassFileInWritableDir
- DontBlameSendmail=LinkedForwardFileInWritableDir
- DontBlameSendmail=LinkedIncludeFileInWritableDir
- DontBlameSendmail=LinkedMapInWritableDir
- DontBlameSendmail=LinkedServiceSwitchFileInWritableDir
- DontBlameSendmail=MapInUnsafeDirPath
- DontBlameSendmail=NonRootSafeAddr (V8.10 and later)
- DontBlameSendmail=RunProgramInUnsafeDirPath (V8.12 and later)
- DontBlameSendmail=RunWritableProgram (V8.12 and later)
- DontBlameSendmail=Safe
- DontBlameSendmail=TrustStickyBit
- DontBlameSendmail=WorldWritableAliasFile
- DontBlameSendmail=WorldWritableForwardFile (V8.12 and later)
- DontBlameSendmail=WorldWritableIncludeFile (V8.12 and later)
- DontBlameSendmail=WriteMapToHardLink
- DontBlameSendmail=WriteMapToSymLink
- DontBlameSendmail=WriteStatsToHardLink
- DontBlameSendmail=WriteStatsToSymLink
- DontExpandCnames
- DontInitGroups
- DontProbeInterfaces
- DontPruneRoutes
- DoubleBounceAddress
- EightBitMode
- ErrorHeader
- ErrorMode
- FallbackMXhost
- FallBackSmartHost
- FastSplit
- ForkEachJob
- ForwardPath
- HeloName
- HelpFile
- HoldExpensive
- HostsFile
- HostStatusDirectory
- IgnoreDots
- InputMailFilters
- LDAPDefaultSpec
- LogLevel
- MailboxDatabase
- MatchGECOS
- MaxAliasRecursion
- MaxDaemonChildren
- MaxHeadersLength
- MaxHopCount
- MaxMessageSize
- MaxMimeHeaderLength
- MaxNOOPCommands
- MaxQueueChildren
- MaxQueueRunSize
- MaxRecipientsPerMessage
- MaxRunnersPerQueue
- MeToo
- Milter
- MinFreeBlocks
- MinQueueAge
- MustQuoteChars
- NiceQueueRun
- NoRecipientAction
- OldStyleHeaders
- OperatorChars
- PidFile
- PostmasterCopy
-
PrivacyOptions
- PrivacyOptions=authwarnings
- PrivacyOptions=goaway
- PrivacyOptions=nobodyreturn
- PrivacyOptions=noetrn
- PrivacyOptions=needexpnhelo
- PrivacyOptions=needmailhelo
- PrivacyOptions=needvrfyhelo
- PrivacyOptions=noactualrecipient
- PrivacyOptions=noexpn
- PrivacyOptions=noreceipts
- PrivacyOptions=noverb
- PrivacyOptions=novrfy
- PrivacyOptions=public
- PrivacyOptions=restrictexpand (V8.12 and later)
- PrivacyOptions=restrictmailq
- PrivacyOptions=restrictqrun
- ProcessTitlePrefix
- QueueDirectory
- QueueFactor
- QueueFileMode
- QueueLA
- QueueSortOrder
- QueueTimeout
- RandFile
- RecipientFactor
- RefuseLA
- RejectLogInterval
- ResolverOptions
- RetryFactor
- RequiresDirFsync
- RrtImpliesDsn
- RunAsUser
- SafeFileEnvironment
- SaveFromLine
- SendMimeErrors
- ServerCertFile
- ServerKeyFile
- ServiceSwitchFile
- SevenBitInput
- SharedMemoryKey
- SharedMemoryKeyFile
- SingleLineFromHeader
- SingleThreadDelivery
- SmtpGreetingMessage
- SoftBounce
- StatusFile
- SuperSafe
- TempFileMode
-
Timeout
- Timeout.aconnect (V8.12 and later)
- Timeout.auth (V8.12 and later)
- Timeout.command (V8.6 and later)
- Timeout.connect (V8.6 and later)
- Timeout.control (V8.10 and later)
- Timeout.datablock (V8.6 and later)
- Timeout.datafinal (V8.6 and later)
- Timeout.datainit (V8.6 and later)
- Timeout.fileopen (V8.7 and later)
- Timeout.helo (V8.6 and later)
- Timeout.hoststatus (V8.8 and later)
- Timeout.iconnect (V8.8 and later)
- Timeout.ident (V8.6 and later)
- Timeout.initial (V8.6 and later)
- Timeout.lhlo (V8.12 and later)
- Timeout.mail (V8.6 and later)
- Timeout.misc (V8.6 and later)
- Timeout.queuereturn (V8.7 and later)
- Timeout.queuewarn (V8.7 and later)
- Timeout.quit (V8.6 and later)
- Timeout.rcpt (V8.6 and later)
- Timeout.resolver (V8.10 and later)
- Timeout.rset (V8.6 and later)
- Timeout.starttls (V8.12 and later)
- TimeZoneSpec
- TLSSrvOptions
- TrustedUser
- TryNullMXList
- UnixFromLine
- UnsafeGroupWrites
- UseErrorsTo
- UseMSP
- UserDatabaseSpec
- Verbose
- XscriptFileBufferSize
- M
-
25. The H (Headers) Configuration Command
- Overview
- Header Names
- Header Field Contents
- ?flags? in Header Definitions
- Rules Check Header Contents
-
Header Behavior in conf.c
- H_ACHECK Header Flag (V5 and Later)
- H_BCC Header Flag (V8.7 and Later)
- H_BINDLATE Header Flag (V8.10 and Later)
- H_CHECK Header Flag (V5 and Later)
- H_CTE Header Flag (V8.7 and Later)
- H_CTYPE Header Flag (V8.7 and Later)
- H_DEFAULT Header Flag (V5 and Later)
- H_ENCODABLE Header Flag (V8.8 and Later)
- H_EOH Header Flag (V5 and Later)
- H_ERRORSTO (Was H_ERRSTO) (V8.7 and Later)
- H_FORCE Header Flag (V5 and Later)
- H_FROM Header Flag (V5 and Later)
- H_RCPT Header Flag (V5 and Later)
- H_RECEIPTTO Header Flag (V8.7 and Later)
- H_RESENT Header Flag (V5 and Later)
- H_STRIPCOMM Header Flag (V8.10 and Later)
- H_TRACE Header Flag (V5 and Later)
- H_USER Header Flag (V8.11 and Later)
- H_VALID Header Flag (V5 and Later)
- Headers and mc Configuration
- Headers by Category
- Forwarding with Re-Sent Headers
- Precedence
- Pitfalls
-
Alphabetized Header Reference
- Apparently-From:
- Apparently-To:
- Auto-Submitted:
- Bcc:
- Cc:
- Comments:
- Content-Description:
- Content-Disposition:
- Content-Id:
- Content-Length:
- Content-Transfer-Encoding:
- Content-Type:
- Date:
- Delivery-Receipt-To:
- Delivered-To:
- Disposition-Notification-To:
- Encrypted:
- Errors-To:
- From:
- Full-Name:
- In-Reply-To:
- Keywords:
- Mail-From:
- Message-ID:
- Message:
- MIME-Version:
- Posted-Date:
- Precedence:
- Priority:
- Received:
- References:
- Reply-To:
- Return-Path:
- Return-Receipt-To:
- Sender:
- Subject:
- Text:
- To:
- Via:
- X-Authentication-Warning:
- X400-Received:
-
26. The X (Milters) Configuration Command
- Create Milter Support
- Add Configuration Support
- Build a Milter
- Pitfalls
-
smfi_ Routine Reference
- Milter smfi_addheader()
- Milter smfi_addrcpt()
- Milter smfi_addrcpt_par()
- Milter smfi_chgfrom()
- Milter smfi_chgheader()
- Milter smfi_delrcpt()
- Milter smfi_getpriv()
- Milter smfi_getsymval()
- Milter smfi_insheader()
- Milter smfi_main()
- Milter smfi_opensocket()
- Milter smfi_progress()
- Milter smfi_quarantine()
- Milter smfi_register()
- Milter smfi_replacebody()
- Milter smfi_setbacklog()
- Milter smfi_setconn()
- Milter smfi_setdbg()
- Milter smfi_setmlreply()
- Milter smfi_setpriv()
- Milter smfi_setreply()
- Milter smfi_setsymlist()
- Milter smfi_settimeout()
- Milter smfi_stop()
- Milter smfi_version()
- xxfi_ Routine Reference
-
III. Appendixes
- A. The mc Configuration Macros and Directives
-
B. What’s New Since Edition 3
- Chapter 1, Some Basics
- Chapter 2, Download, Build, and Install
- Chapter 3, Tune sendmail with Compile-Time Macros
- Chapter 4, Maintain Security with sendmail
- Chapter 5, Authentication and Encryption
- Chapter 6, The sendmail Command Line
- Chapter 7, How to Handle Spam
- Chapter 8, Test Rule Sets with -bt
- Chapter 9, DNS and sendmail
- Chapter 10, Build and Use Companion Programs
- Chapter 11, Manage the Queue
- Chapter 12, Maintain Aliases
- Chapter 13, Mailing Lists and ~/.forward
- Chapter 14, Signals, Transactions, and Syslog
- Chapter 15, Debug sendmail with -d
- Chapter 16, Configuration File Overview
- Chapter 17, Configure sendmail.cf with m4
- Chapter 18, The R (Rules) Configuration Command
- Chapter 19, The S (Rule Sets) Configuration Command
- Chapter 20, The M (Mail Delivery Agent) Configuration Command
- Chapter 21, The D (Define a Macro) Configuration Command
- Chapter 22, The C and F (Class Macro) Configuration Commands
- Chapter 23, The K (Database-Map) Configuration Command
- Chapter 24, The O (Options) Configuration Command
- Chapter 25, The H (Headers) Configuration Command
- Chapter 26, The X (Milters) Configuration Command
- C. The checkcompat( ) Function
- Bibliography
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: sendmail, 4th Edition
- Author(s):
- Release date: October 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596510299
You might also like
book
Sendmail, 3rd Edition
Reliable, flexible, and configurable enough to solve the mail routing needs of any web site, sendmail …
book
UNIX and Linux System Administration Handbook, 5th Edition
UNIX and Linux System Administration Handbook, Fifth Edition is today’s definitive guide to installing, configuring and …
book
Red Hat RHCSA 8 Cert Guide: EX200, 2nd Edition
Learn, prepare, and practice for Red Hat RHCSA 8 (EX200) exam success with this Cert Guide …
book
Postfix: The Definitive Guide
Postfix is a Mail Transfer Agent (MTA): software that mail servers use to route email. Postfix …