op.ps

来自「< linux网络编程工具>>配套源码」· PS 代码 · 共 1,147 行 · 第 1/5 页

PS
1,147
字号
2.893(proachable. Ho)72 388.8 R(we)-.25 E -.15(ve)-.25 G 1.193 -.4(r, t)
.15 H .393(here are only a fe).4 F 2.893(wb)-.25 G .394
(asic con\214gurations for most sites, for which standard con\214gu-)
-2.893 F .646(ration \214les ha)72 400.8 R .946 -.15(ve b)-.2 H .646
(een supplied.).15 F .645(Most other con\214gurations can be b)5.646 F
.645(uilt by adjusting an e)-.2 F .645(xisting con\214gura-)-.15 F
(tion \214le incrementally)72 412.8 Q(.)-.65 E F4(Sendmail)97 429 Q F3
1.471(is based on RFC821 \(Simple Mail T)3.97 F 1.471
(ransport Protocol\), RFC822 \(Internet Mail Headers)-.35 F -.15(Fo)72
441 S 1.659(rmat\), RFC974 \(MX routing\), RFC1123 \(Internet Host Requ\
irements\), RFC2045 \(MIME\), RFC1869).15 F .004(\(SMTP Service Extensi\
ons\), RFC1652 \(SMTP 8BITMIME Extension\), RFC1870 \(SMTP SIZE Extensi\
on\),)72 453 R 2.023(RFC1891 \(SMTP Deli)72 465 R -.15(ve)-.25 G 2.022(\
ry Status Noti\214cations\), RFC1892 \(Multipart/Report\), RFC1893 \(Ma\
il System).15 F .849(Status Codes\), RFC1894 \(Deli)72 477 R -.15(ve)
-.25 G .849(ry Status Noti\214cations\), RFC1985 \(SMTP Service Extensi\
on for Remote).15 F 1.682
(Message Queue Starting\), RFC2033 \(Local Message T)72 489 R 1.682
(ransmission Protocol\), RFC2034 \(SMTP Service)-.35 F .631(Extension f\
or Returning Enhanced Error Codes\), RFC2476 \(Message Submission\), RF\
C2487 \(SMTP Ser)72 501 R(-)-.2 E .543(vice Extension for Secure SMTP o)
72 513 R -.15(ve)-.15 G 3.043(rT).15 G .543
(LS\), and RFC2554 \(SMTP Service Extension for Authentication\).)-3.043
F(Ho)72 525 Q(we)-.25 E -.15(ve)-.25 G .83 -.4(r, s).15 H(ince).4 E F4
(sendmail)2.53 E F3 .03(is designed to w)2.53 F .03(ork in a wider w)-.1
F .031(orld, in man)-.1 F 2.531(yc)-.15 G .031
(ases it can be con\214gured to e)-2.531 F(xceed)-.15 E
(these protocols.)72 537 Q(These cases are described herein.)5 E
(Although)97 553.2 Q F4(sendmail)3.548 E F3 1.047(is intended to run wi\
thout the need for monitoring, it has a number of features)3.548 F 1.972
(that may be used to monitor or adjust the operation under unusual circ\
umstances.)72 565.2 R 1.972(These features are)6.972 F(described.)72
577.2 Q .817(Section one describes ho)97 593.4 R 3.317(wt)-.25 G 3.317
(od)-3.317 G 3.317(oa)-3.317 G(basic)-.001 E F4(sendmail)3.316 E F3
3.316(installation. Section)3.316 F(tw)3.316 E 3.316(oe)-.1 G .816
(xplains the day-to-day)-3.466 F .282(information you should kno)72
605.4 R 2.782(wt)-.25 G 2.782(om)-2.782 G .282
(aintain your mail system.)-2.782 F .282(If you ha)5.282 F .583 -.15
(ve a r)-.2 H(elati).15 E -.15(ve)-.25 G .283(ly normal site, these tw)
.15 F(o)-.1 E .635(sections should contain suf)72 617.4 R .635
(\214cient information for you to install)-.25 F F4(sendmail)3.135 E F3
.634(and k)3.135 F .634(eep it happ)-.1 F 4.434 -.65(y. S)-.1 H .634
(ection three).65 F .925
(describes some parameters that may be safely tweak)72 629.4 R 3.425
(ed. Section)-.1 F .925(four has information re)3.425 F -.05(ga)-.15 G
.925(rding the com-).05 F .886(mand line ar)72 641.4 R 3.386
(guments. Section)-.18 F<8c76>3.386 E 3.386(ec)-.15 G .885
(ontains the nitty-gritty information about the con\214guration \214le.)
-3.386 F(This)5.885 E .004
(section is for masochists and people who must write their o)72 653.4 R
.005(wn con\214guration \214le.)-.25 F .005(Section six describes con-)
5.005 F 1.564(\214guration that can be done at compile time.)72 665.4 R
1.564(The appendix)6.564 F 1.563(es gi)-.15 F 1.863 -.15(ve a b)-.25 H
1.563(rief b).15 F 1.563(ut detailed e)-.2 F 1.563(xplanation of a)-.15
F .32 LW 76 675 72 675 DL 80 675 76 675 DL 84 675 80 675 DL 88 675 84
675 DL 92 675 88 675 DL 96 675 92 675 DL 100 675 96 675 DL 104 675 100
675 DL 108 675 104 675 DL 112 675 108 675 DL 116 675 112 675 DL 120 675
116 675 DL 124 675 120 675 DL 128 675 124 675 DL 132 675 128 675 DL 136
675 132 675 DL 140 675 136 675 DL 144 675 140 675 DL 148 675 144 675 DL
152 675 148 675 DL 156 675 152 675 DL 160 675 156 675 DL 164 675 160 675
DL 168 675 164 675 DL 172 675 168 675 DL 176 675 172 675 DL 180 675 176
675 DL 184 675 180 675 DL 188 675 184 675 DL 192 675 188 675 DL 196 675
192 675 DL 200 675 196 675 DL 204 675 200 675 DL 208 675 204 675 DL 212
675 208 675 DL 216 675 212 675 DL/F6 8/Times-Bold@0 SF(DISCLAIMER:)93.6
687 Q F5(This documentation is under modi\214cation.)2 E
(Sendmail is a trademark of Sendmail, Inc.)93.6 699 Q F1
(Sendmail Installation and Operation Guide)72 756 Q(SMM:08-1)200.86 E EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Bold@0 SF 198.36(SMM:08-2 Sendmail)72 60 R
(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF
(number of features not described in the rest of the paper)72 96 Q(.)
-.55 E EP
%%Page: 7 3
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q
(SMM:08-7)200.86 E 2.5(1. B)72 96 R(ASIC INST)-.3 E(ALLA)-.9 E(TION)-.95
E/F1 10/Times-Roman@0 SF .126(There are tw)112 112.2 R 2.626(ob)-.1 G
.126(asic steps to installing)-2.626 F/F2 10/Times-Italic@0 SF(sendmail)
2.626 E F1 5.126(.F)C .126(irst, you ha)-5.126 F .426 -.15(ve t)-.2 H
2.626(oc).15 G .127(ompile and install the binary)-2.626 F(.)-.65 E(If)
87 124.2 Q F2(sendmail)2.889 E F1 .388(has already been ported to your \
operating system that should be simple.)2.889 F .388(Second, you must)
5.388 F -.2(bu)87 136.2 S .278(ild a run-time con\214guration \214le.).2
F .278(This is a \214le that)5.278 F F2(sendmail)2.778 E F1 .279
(reads when it starts up that describes the)2.778 F .532(mailers it kno)
87 148.2 R .532(ws about, ho)-.25 F 3.031(wt)-.25 G 3.031(op)-3.031 G
.531(arse addresses, ho)-3.031 F 3.031(wt)-.25 G 3.031(or)-3.031 G -.25
(ew)-3.031 G .531(rite the message header).25 F 3.031(,a)-.4 G .531
(nd the settings of)-3.031 F -.25(va)87 160.2 S .868(rious options.).25
F .868(Although the con\214guration \214le can be quite comple)5.868 F
.869(x, a con\214guration can usually be)-.15 F -.2(bu)87 172.2 S
(ilt using an M4-based con\214guration language.).2 E .192
(The remainder of this section will describe the installation of)112
188.4 R F2(sendmail)2.692 E F1 .192(assuming you can use one)2.692 F
1.431(of the e)87 200.4 R 1.432(xisting con\214gurations and that the s\
tandard installation parameters are acceptable.)-.15 F 1.432(All path-)
6.432 F .977(names and e)87 212.4 R .976(xamples are gi)-.15 F -.15(ve)
-.25 G 3.476(nf).15 G .976(rom the root of the)-3.476 F F2(sendmail)
3.476 E F1 .976(subtree, normally)3.476 F F2(/usr/sr)3.476 E(c/usr)-.37
E(.sbin/send-)-1.11 E(mail)87 224.4 Q F1(on 4.4BSD.)2.5 E .542
(If you are loading this of)112 240.6 R 3.042(ft)-.25 G .542
(he tape, continue with the ne)-3.042 F .542(xt section.)-.15 F .542
(If you ha)5.542 F .843 -.15(ve a r)-.2 H .543(unning binary).15 F
(already on your system, you should probably skip to section 1.2.)87
252.6 Q F0 2.5(1.1. Compiling)87 276.6 R(Sendmail)2.5 E F1(All)127 292.8
Q F2(sendmail)2.571 E F1 .071(source is in the)2.571 F F2(sendmail)2.571
E F1(subdirectory)2.571 E 5.071(.T)-.65 G 2.571(oc)-5.871 G .07
(ompile sendmail, \231cd\232 into the)-2.571 F F2(send-)2.57 E(mail)102
304.8 Q F1(directory and type)2.5 E(./Build)142 321 Q 1.41
(This will lea)102 337.2 R 1.711 -.15(ve t)-.2 H 1.411
(he binary in an appropriately named subdirectory).15 F 3.911(,e)-.65 G
1.411(.g., obj.BSD-OS.2.1.i386.)-3.911 F(It)6.411 E -.1(wo)102 349.2 S
(rks for multiple object v).1 E
(ersions compiled out of the same directory)-.15 E(.)-.65 E F0 2.5
(1.1.1. T)102 373.2 R(weaking the Build In)-.74 E -.1(vo)-.4 G(cation).1
E F1 -1.1(Yo)142 389.4 S 2.905(uc)1.1 G .405(an gi)-2.905 F .705 -.15
(ve p)-.25 H .405(arameters on the).15 F F2(Build)2.905 E F1 2.905
(command. In)2.905 F .404(most cases these are only used when)2.905 F
(the)117 401.4 Q F2(obj.*)2.5 E F1(directory is \214rst created.)5 E
(These commands include:)5 E<ad4c>117 417.6 Q F2(libdir)2.5 E(s)-.1 E F1
2.5(Al)153 429.6 S(ist of directories to search for libraries.)-2.5 E
<ad49>117 445.8 Q F2(incdir)2.5 E(s)-.1 E F1 2.5(Al)153 457.8 S
(ist of directories to search for include \214les.)-2.5 E<ad45>117 474 Q
F2(en)2.5 E(var)-.4 E F1(=)A F2(value)A F1(Set an en)153 486 Q
(vironment v)-.4 E(ariable to an indicated)-.25 E F2(value)2.5 E F1
(before compiling.)2.5 E 23.42(\255c Create)117 502.2 R 2.5(an)2.5 G
-.25(ew)-2.5 G F2(obj.*)2.75 E F1(tree before running.)5 E<ad66>117
518.4 Q F2(sitecon\214g)2.5 E F1 2.192
(Read the indicated site con\214guration \214le.)153 530.4 R 2.193
(If this parameter is not speci\214ed,)7.192 F F2(Build)4.693 E F1
(includes)153 542.4 Q F2(all)11.512 E F1 9.012(of the \214les)11.512 F
F2($B)11.511 E(UILDT)-.1 E(OOLS/Site/site)-.18 E(.$oscf)-.15 E(.m4)-.15
E F1(and)11.511 E F2($B)11.511 E(UILD-)-.1 E -.18(TO)153 554.4 S
(OLS/Site/site).18 E(.con\214g)-.15 E(.m4)-.15 E F1 2.985(,w)C .485
(here $B)-2.985 F(UILDT)-.1 E .485(OOLS is normally)-.18 F F2(../de)
2.985 E(vtools)-.15 E F1 .485(and $oscf is)2.985 F .678
(the same name as used on the)153 566.4 R F2(obj.*)3.178 E F1(directory)
5.678 E 5.678(.S)-.65 G .678(ee belo)-5.678 F 3.178(wf)-.25 G .678
(or a description of the site)-3.178 F(con\214guration \214le.)153 578.4
Q 22.3(\255S Skip)117 594.6 R(auto-con\214guration.)4.42 E F2(Build)
6.921 E F1 1.921(will a)4.421 F -.2(vo)-.2 G 1.921
(id auto-detecting libraries if this is set.).2 F(All)6.921 E(libraries\
 and map de\214nitions must be speci\214ed in the site con\214guration \
\214le.)153 606.6 Q(An)117 622.8 Q 2.5(yo)-.15 G
(ther parameters are passed to the)-2.5 E F2(mak)2.5 E(e)-.1 E F1
(program.)2.5 E F0 2.5(1.1.2. Cr)102 646.8 R
(eating a Site Con\214guration File)-.18 E F1 1.09
(\(This section is not yet complete.)142 663 R -.15(Fo)6.089 G 3.589(rn)
.15 G -.25(ow)-3.589 G 3.589(,s)-.4 G 1.089(ee the \214le de)-3.589 F
1.089(vtools/README for details.\))-.25 F(See sendmail/README for v)117
675 Q(arious compilation \215ags that can be set.)-.25 E EP
%%Page: 8 4
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Bold@0 SF 198.36(SMM:08-8 Sendmail)72 60 R
(Installation and Operation Guide)2.5 E 2.5(1.1.3. T)102 96 R
(weaking the Mak)-.74 E(e\214le)-.1 E/F1 10/Times-Italic@0 SF(Sendmail)
142 112.2 Q/F2 10/Times-Roman@0 SF 2.18(supports tw)4.68 F 4.681(od)-.1
G(if)-4.681 E 2.181(ferent formats for the local \(on disk\) v)-.25 F
2.181(ersion of databases,)-.15 F(notably the)117 124.2 Q F1(aliases)2.5
E F2 2.5(database. At)2.5 F
(least one of these should be de\214ned if at all possible.)2.5 E 39.5
(NDBM The)117 140.4 R -.74(``)3.167 G(ne).74 E 3.167(wD)-.25 G(BM')
-3.167 E 3.167('f)-.74 G .667(ormat, a)-3.167 F -.25(va)-.2 G .666
(ilable on nearly all systems around today).25 F 5.666(.T)-.65 G(his)
-5.666 E -.1(wa)189 152.4 S 3.54(st).1 G 1.041
(he preferred format prior to 4.4BSD.)-3.54 F 1.041(It allo)6.041 F
1.041(ws such comple)-.25 F 3.541(xt)-.15 G 1.041(hings as)-3.541 F
(multiple databases and closing a currently open database.)189 164.4 Q
32.84(NEWDB The)117 180.6 R(Berk)3.788 E(ele)-.1 E 3.788(yD)-.15 G 3.788
(Bp)-3.788 G 3.788(ackage. If)-3.788 F 1.288(you ha)3.788 F 1.588 -.15
(ve t)-.2 H 1.288(his, use it.).15 F 1.287(It allo)6.287 F 1.287
(ws long records,)-.25 F 2.56
(multiple open databases, real in-memory caching, and so forth.)189
192.6 R -1.1(Yo)7.56 G 5.06(uc)1.1 G(an)-5.06 E .469
(de\214ne this in conjunction with)189 204.6 R/F3 9/Times-Roman@0 SF
(NDBM)2.969 E F2 2.969(;i)C 2.968(fy)-2.969 G .468
(ou do, old alias databases are read,)-2.968 F -.2(bu)189 216.6 S 3.108
(tw).2 G .608(hen a ne)-3.108 F 3.108(wd)-.25 G .608
(atabase is created it will be in NEWDB format.)-3.108 F .608
(As a nasty)5.608 F 1.804(hack, if you ha)189 228.6 R 2.104 -.15(ve N)
-.2 H 1.804(EWDB, NDBM, and NIS de\214ned, and if the alias \214le).15 F
.123(name includes the substring \231/yp/\232,)189 240.6 R F1(sendmail)
2.623 E F2 .123(will create both ne)2.623 F 2.624(wa)-.25 G .124
(nd old v)-2.624 F(er)-.15 E(-)-.2 E 1.08
(sions of the alias \214le during a)189 252.6 R F1(ne)3.58 E(walias)-.15
E F2 3.58(command. This)3.58 F 1.08(is required because)3.58 F .845
(the Sun NIS/YP system reads the DBM v)189 264.6 R .845
(ersion of the alias \214le.)-.15 F(It')5.845 E 3.345(su)-.55 G .845
(gly as)-3.345 F(sin, b)189 276.6 Q(ut it w)-.2 E(orks.)-.1 E 1.112
(If neither of these are de\214ned,)117 292.8 R F1(sendmail)3.612 E F2
1.112(reads the alias \214le into memory on e)3.612 F -.15(ve)-.25 G
1.112(ry in).15 F -.2(vo)-.4 G(cation.).2 E 1.042(This can be slo)117
304.8 R 3.542(wa)-.25 G 1.043(nd should be a)-3.542 F -.2(vo)-.2 G 3.543
(ided. There).2 F 1.043(are also se)3.543 F -.15(ve)-.25 G 1.043
(ral methods for remote database).15 F(access:)117 316.8 Q 53.39
(NIS Sun')117 333 R 2.5(sN)-.55 G(etw)-2.5 E
(ork Information Services \(formerly YP\).)-.1 E 28.94(NISPLUS Sun')117
349.2 R 2.5(sN)-.55 G(IS+ services.)-2.5 E 26.73(NETINFO NeXT')117 365.4
R 2.5(sN)-.55 G(etInfo service.)-2.5 E 32.84(HESIOD Hesiod)117 381.6 R
(service \(from Athena\).)2.5 E .042(Other compilation \215ags are set \
in conf.h and should be prede\214ned for you unless you are porting)117
397.8 R(to a ne)117 409.8 Q 2.5(we)-.25 G -.4(nv)-2.5 G(ironment.).4 E
F0 2.5(1.1.4. Compilation)102 433.8 R(and installation)2.5 E F2 .308
(After making the local system con\214guration described abo)142 450 R
-.15(ve)-.15 G 2.809(,Y).15 G .309(ou should be able to com-)-3.909 F
(pile and install the system.)117 462 Q
(The script \231Build\232 is the best approach on most systems:)5 E
(./Build)157 478.2 Q(This will use)117 494.4 Q F1(uname)2.5 E F2
(\(1\) to create a custom Mak)A(e\214le for your en)-.1 E(vironment.)-.4
E(If you are installing in the standard places, you should be able to i\
nstall using)142 510.6 Q(./Build install)157 526.8 Q 3.346(This should \
install the binary in /usr/sbin and create links from /usr/bin/ne)117
543 R -.1(wa)-.25 G 3.345(liases and).1 F 1.576
(/usr/bin/mailq to /usr/sbin/sendmail.)117 555 R 1.577
(On 4.4BSD systems it will also format and install man)6.576 F(pages.)
117 567 Q F0 2.5(1.2. Con\214guration)87 591 R(Files)2.5 E F1(Sendmail)
127 607.2 Q F2 2.079(cannot operate without a con\214guration \214le.)
4.58 F 2.079(The con\214guration de\214nes the mail)7.079 F(deli)102
619.2 Q -.15(ve)-.25 G .888(ry mechanisms understood at this site, ho)
.15 F 3.389(wt)-.25 G 3.389(oa)-3.389 G .889(ccess them, ho)-3.389 F
3.389(wt)-.25 G 3.389(of)-3.389 G(orw)-3.389 E .889(ard email to remote)
-.1 F .088(mail systems, and a number of tuning parameters.)102 631.2 R
.088(This con\214guration \214le is detailed in the later por)5.088 F(-)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?