sendmail: 英文 影印版 下卷 第二版
分類: 图书,计算机/网络,网络与数据通信,
作者: [美]科斯特斯,奥曼 编著
出 版 社: 中国电力出版社
出版时间: 2000-5-1字数:版次: 1页数: 566印刷时间: 2001-7-1开本:印次:纸张: 胶版纸I S B N : 9787508303093包装: 平装编辑推荐
sendmail第二版包含Berkeley的sendmail 8.8版和在大多数系统上使用的标准版本。它是迄今为止阐述sendmail——这个对UNIX网络的路由和邮件分发起到交通警察作用的程序——的最经典的图书。尽管aendmail几乎适用于所有UNIX系统,它仍然属于UNIX系统管理中最后几个未知的领域——也是最难学的实用工具之一。
内容简介
本书提供了完整的sendmail教程和详尽的参考资料。第一部分是sendmail的入门教程;第二部分包含了sendmail的建立、安装和m4配置方面的内容;第三部分涉及了sendmail邮件系统管理的实际应用;第四部分是详细的参考资料;第五部分包含了附录和书目信息。全书分上下两卷出版,上卷包括第一部分、第二部分和第三部分;下卷包括第四部分和第五部分。
在第二版中,通过一个展开的教程讲解了集线器的cf文件和nullclient.mc。第二版中新增加的内容有:#error传递代理、sendmail的退出值、MIME头文件以及如何建立和使用用户数据库——mailertable和smrsh。贯穿全书的面向解决方案的示例能够帮助你解决sendmail的问题。此外,第二版还提供了章节间的交叉参照。
作者简介
Bryan Costales是科罗拉多州丹佛市Mercury Mail公司的技术主任。过去15年中,他在系统管理领域十分活跃。近十年来,他写有许多计算机软件方面的文章和专著。
Eric Allman是sendmail的原作者,他为Berkeley版的UNIX作出了长期的贡献。他编写过-me宏、tset、trek、sysloy和vacation等程序。
目录
上卷
Perface
I:A Tutorial
1:Introduction
1.1MUA Versus MTA
1.2Why IS sendmail So Complex?
1.3Three Important Parts
1.4Run sendmailby Hand
1.5The Header
1.6The Body
1.7The Envelope
1.8Things to Try
2:Have a V8
2.1Get the Source
2.2Read the Documents
2.3What’s What in src
2.4Preliminaries
2.5Build
2.6Test It
2.7Things to Try
3:The Roles of sendmail
3.1Role in the Filesystem
3.2Role in Local Delivery
3.3Role in Network Transport
3.4Role as a Daemon
3.5Thins to Try
4:How to Run sendmail
4.1Become a Mode(-b)
4.2Verbose(-v)
4.3Debugging(-d)
4.4Things to Try
5:The sendmail.cf file
5.1Overview
5.2The Minimal File
5.3A Quick Tour
5.4Things to Try
6:The Mail Hub and Delivery Agents
6.1The client.cf File
6.2Define a Mail Delivery Agent
6.3The Local Delivery Agent
6.4Add the Missing Parts to Mhub
6.5Things to Try
7:Macros
7.1Overview
7.2Defining Macros
7.3Prdedfined Macros
7.4Things to Try
8:Addresses and Rules
8.1A Fictional Network
8.2Why rules?
8.3Rule Sets
8.4Rules
8.5The Workspace
8.6The Flow of Addresses Through Rules
8.7Wildcard Operators
9:Rule Set 0
9.1Introducing Rule Set 0
9.2The RHS Triple
9.3Testing Rule Set 0
9.4The error Delivery Agent
9.5Things to Try
10:Rule Set 3
10.1Why Preprocess?
10.2Rule Set 3
10.3Missing Addresses
10.4Nested Angle Brackets
10.5Details of Rule Flow
10.6Things to Try
11:Rule Sets 1and S=
11.1flow of the Sender’s Address
11.2Rule Set S=
11.3All Mail from the Hub
11.4Rule Set Hubset
11.5Testing So Far
11.6Handling user@thishost
11.7Rule Set 1
11.8Things to Try
12:Class
12.1The Class Command
12.2The File Form of Class
12.3Things to Try
13:Setting Options
13.1Options:An Overview
13.2Required Options
13.3Testing the Options
13.4Sending Mail
13.5Things to Try
14:Headers,Precedence,and Trust
14.1Headers
14.2Headers Versus Delivery Agent Flags
14.3Headers Learned So Far
14.4Precedence
14.5Sending Real Mail
14.6Tristed User
14.7Things to Try
15:Install and Test the client.cf File
15.1Test the Configuration File
15.2The Real Queue Directory
15.3MX Records
15.4Hub Accepts Mail for Client
15.5Prevent the Daemon from Running
15.6Install the client.cf File
15.7Things to Try
16:The null.mc File and m4
16.1The cf/cf Directory
16.2The null.mc File
16.3Run m4
16.4Test the Result
16.5Qualify All Addresses?
16.6Things to Try
17:The Hub’s Complex Rules
17.1Rule set 3
17.2Rule set 96
17.3Rule set 0
17.4Rule set 4
17.5Things to Try
II:Build and Install
18:Compile and Install sendmail
18.1To Use or Not to Use
18.2Vendor Versus Compiling
18.3Obtain the Source
18.4Tuning Makefile
18.5Run Make
18.6Install sendmail
18.7Pitfalls
18.8Alphabetized Reference
19:V8 m4 Configuration
19.1The m4 Preprocessor
19.2Build with m4
19.3The Minimal mc File
19.4m4 Macros by Function
19.5Pitfalls
19.6Alphabetized m4 Macros
20:The cbeckcompat O Cookbook
20.1How checkcompat O Works
20.2The Cookbook
20.3Alphabetized V8.8 Subroutines
Ⅲ:Administration
21:DNS and sendmail
21.1Overview
21.2How sendmail Uses DNS
21.3Set Up MX Records
21.4How to Use nslookup
21.5Prepare for Disaster
21.6Pitfalls
22:Security
22.1Why root?
22.2The Environment
22.3SMTP Probes
22.4The Configuration File
22.5Permissions
22.6The Aliases File
22.7Forged Mail
22.8Security Features
22.9Pitfalls
23:The Queue
23.1Overview of the Queue
23.2Parts of a Queued Message
23.3A Bogus qf File(V8 only):Qf
23.4Printing the Queue
23.5How the Queue Is Processed
23.6Cause the Queue to Be Processed
23.7Process Alternate Queue
23.8Pitfalls
23.9The qf File Internals
24:Aliases
24.1The aliases(5)File
24.2Forms of Alias Delivery
24.3Write a Delivery Agent Script
24.4Special Aliases
24.5The Aliases Database
24.6Prevent Aliasing with-n
24.7Pitfalls
25:Mailing Lists and ~/.forward
25.1Internal Mailing Lists
25.2:include:Mailing Lists
25.3Defining a Mailing List Ownet
25.4Exploder Mailing Lists
25.5Problems with Mailing Lists
25.6Packages That Help
25.7The User’s~/.forward File
25.8Pitfalls
26:Logging and Statistics
26.1Logging with syslog
26.2Statistics
26.3Signaling the Daemon
26.4Log Transactions with-X
26.5Pitfalls
下卷
Ⅳ:Reference
27:The Configuration File
27.1Overall Syntax
27.2Comments
27.3V8 Comments
27.4Continuation Lines
27.5The V Configuration Command
27.6Pitfalls
28:Rules
28.1Overview
28.2Todinizing Rule
28.3The Workspace
28.4The Behavior of a Rule
28.5The LHS
28.6The RHS
28.7Pitfalls
29:Rule Sets
29.1The S Configuration Command
29.2Rule Sets and m4
29.3The Sequence of Rule Sets
29.4Rule Set 3
29.5Rule set 4
29.6Rule set 0
29.7Rule set 5
29.8Rule set 2
29.9Rule set 1
29.10The check_...Rule Sets
29.11Pitfalls
30:Delivery Agents
30.1Configuration File Syntax
30.2The Symbolic Name
30.3m4 Configuration Syntax
30.4The Equates
30.5Internally Dfined Names
30.6How Executed
30.7Pitfalls
30.8Alphabetized F= Flags
31:Defined Macros
31.1Preassigned Macros
31.2Command-Line Definitions
31.3Configuration File Definitions
31.4Macro Names
31.5Macro Expansion:$ and $&
31.6Macro Conditionals:$?,$|,and $
31.7Categories of Macros
31.8Macros with the m4 Technique
31.9Pitfalls
31.10Alphabetized Reference
32:Class Macros
32.1Class Configuration Commands
32.2Access Class in Rules
32.3Class with m4
32.4Pitfalls
32.5Alphabetized Reference
33:Database Macros
33.1Enable at Compile Time
33.2create Files with makemap
33.3The K Configuration Command
33.4Use Maps with $(and $)in Rules
33.5The User Database
33.6Database Maps and m4
33.7Pitfalls
33.8Alphabetized Reference
34:Options
34.1Command-Line Options
34.2Configuration-File Options
34.3Configuring with V8 m4 Options
34.4Alphabetical Table of All Options
34.5Option Argument Types
34.6Interrelating Options
34.7Pitfalls
34.8Alphabetized Rference
35:Headers
35.1The H Configuration Command
35.2Header Names
35.3Header Field Contents
35.4?flags? in Header Definitions
35.5Header Behavior in conf.c
35.6Headers by Category
35.7Forwarding with Resent-Headers
35.8Precedence
35.9Pitfalls
35.10Alphabetized Reference
36:The Command Line
36.1Alternative argv[0] Names
36.2Command-Line Switches
36.3List of Recipient Addresses
36.4Processing the Command Line
36.5sendmail’s exit() Status
36.6Pitfalls
36.7Alphabetized Reference
37:Debugging with-d
37.1The Syntax of -d
37.2Debugging Behavior
37.3Iterpreting the Output
37.4Pitfalls
37.5Reference in Numerical Order
38:Rule-Set Testing with-bt
38.1Overview
38.2Configuration Lines
38.3Dump a Macro
38.4Show an Item
38.5Complex Actions Made Simple
38.6Process-Specified Addresses
38.7Add Debugging for Detail
38.8Batch Rule-Set Testing
38.9Pitfalls
V:Appendixes
A:The client.cf File
B:Host Status File Internals
C:The Berkeley DB Database
D:Sun Enhancements
Bibliography
Index
媒体评论