⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 op.ps

📁 早期freebsd实现
💻 PS
📖 第 1 页 / 共 5 页
字号:
(directories:)102 471.8 Q 61.73(cf Both)102 488 R .56(site-dependent and site-independent descriptions of hosts.)3.06 F .56(These can be lit-)5.56 F .445(eral host names \(e.g., \231ucb)174 500 R -.25(va)-.15 G .445(x.mc\232\) when the hosts are g).25 F(ate)-.05 E -.1(wa)-.25 G.445(ys or more general).1 F 3.589(descriptions \(such as \231tcpproto.mc\232 \as a general description of an SMTP-)174 512 R .536(connected host or \231uucp\proto.mc\232 as a general description of a UUCP-connected)174 524 R 3.291(host\). Files)174 536 R(ending)3.291 E F0(.mc)3.291 E F1(\(`)3.291 E .791(`Master Con\214guration')-.74 F .791('\) are the input descriptions; the)-.74F 2.14(output is in the corresponding)174 548 R F0(.cf)4.64 E F1 4.64(\214le. The)4.64 F 2.14(general structure of these \214les is)4.64 F(described belo)174 560 Q -.65(w.)-.25 G 39.5(domain Site-dependent)102 576.2 R.428(subdomain descriptions.)2.928 F .428(These are tied to the w)5.428 F .428(ay your or)-.1 F -.05(ga)-.18 G(niza-).05 E .292(tion w)174 588.2 R .292(ants to do addressing.)-.1 F -.15(Fo)5.292 G 2.792(re).15 G(xample,)313.122588.2 Q F0(domain/cs.exposed.m4)2.792 E F1 .292(is our descrip-)2.792 F .443(tion for hosts in the CS.Berk)174 600.2 R(ele)-.1 E -.65(y.)-.15 G .443(EDU subdomain that w).65 F .442(ant their indi)-.1 F .442(vidual host-)-.25 F.962(name to be e)174 612.2 R .963(xternally visible;)-.15 F F0(domain/cs.hidden.m4)3.463 E F1 .963(is the same e)3.463 F .963(xcept that the)-.15 F 2.628(hostname is hidden \(e)174 624.2 R -.15(ve)-.25 G 2.628(rything looks lik).15 F 5.128(ei)-.1 G 5.128(tc)362.038 624.2 S 2.627(omes from CS.Berk)374.386 624.2 R(ele)-.1 E -.65(y.)-.15 G(EDU\).).65 E(These are referenced using the)174 636.2 Q/F4 9/Times-Roman@0 SF(DOMAIN)2.5 EF0(m4)2.5 E F1(macro in the)2.5 E F0(.mc)2.5 E F1(\214le.)2.5 E 41.74(feature De\214nitions)102 652.4 R .728(of speci\214c features that some particular host in your site might w)3.228 F(ant.)-.1 E 2.467(These are referenced using the)174 664.4 R F4(FEA)4.966 E(TURE)-.999 E F0(m4)4.966 E F1 4.966(macro. An)4.966 F -.15(ex)4.966 G 2.466(ample feature is).15 F 1.316(use_cw_\214le \(which tells)174 676.4 R F3(sendmail)3.816 E F1 1.317(to read an /etc/sendmail.cw \214le on startup to)3.816 F .32 LW 76 686 72 686 DL 80 686 76 686 DL 84 686 80 686 DL 88 686 84 686DL 92 686 88 686 DL 96 686 92 686 DL 100 686 96 686 DL 104 686 100 686 DL 108686 104 686 DL 112 686 108 686 DL 116 686 112 686 DL 120 686 116 686 DL 124 686120 686 DL 128 686 124 686 DL 132 686 128 686 DL 136 686 132 686 DL 140 686 136686 DL 144 686 140 686 DL 148 686 144 686 DL 152 686 148 686 DL 156 686 152 686DL 160 686 156 686 DL 164 686 160 686 DL 168 686 164 686 DL 172 686 168 686 DL176 686 172 686 DL 180 686 176 686 DL 184 686 180 686 DL 188 686 184 686 DL 192686 188 686 DL 196 686 192 686 DL 200 686 196 686 DL 204 686 200 686 DL 208 686204 686 DL 212 686 208 686 DL 216 686 212 686 DL/F5 5/Times-Roman@0 SF(1)93.6696.4 Q/F6 8/Times-Roman@0 SF(where you may ha)3.2 I .24 -.12(ve t)-.16 H 2(or).12 G(eplace \231mak)175.132 699.6 Q(e\232 with \231mak)-.08 E 2<65ad>-.08 G 2(fM)267.452 699.6 S(ak)279.228 699.6 Q(e\214le.dist\232 as appropriate.)-.08 EEP%%Page: 9 4%%BeginPageSetupBP%%EndPageSetup/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q(SMM:08-9)457.9 60 Q/F1 10/Times-Roman@0 SF(\214nd the set of local names\).)174 96 Q 50.62(hack Local)102 112.2 R 1.886(hacks, referenced using the)4.387 F/F2 9/Times-Roman@0 SF(HA)4.386 E(CK)-.36 E F0(m4)4.386 E F1 4.386(macro. T)4.386 F 1.886(ry to a)-.35 F -.2(vo)-.2 G 1.886(id these.).2 F(The)6.886 E(point of ha)174 124.2 Q(ving them here is to mak)-.2 E 2.5(ei)-.1 G 2.5(tc)325.91 124.2 S(lear that the)335.63 124.2 Q 2.5(ys)-.15 G(mell.)394.08 124.2 Q56.72(m4 Site-independent)102 140.4 R/F3 10/Times-Italic@0 SF(m4)2.538 E F1.038(\(1\) include \214les that ha)B .338 -.15(ve i)-.2 H .038(nformation common to all con\214gu-).15 F(ration \214les.)174 152.4 Q(This can be thought of as a \231#include\232 directory)5 E(.)-.65 E 43.95(mailer De\214nitions)102 168.6 R .918(of mailers, referenced using the)3.418 FF2(MAILER)3.417 E F0(m4)3.417 E F1 3.417(macro. De\214ned)3.417 F(mailer)3.417E(types in this distrib)174 180.6 Q(ution are f)-.2 E(ax, local, smtp, uucp, and usenet.)-.1 E 43.39(ostype De\214nitions)102 196.8R 1.156(describing v)3.656 F 1.157(arious operating system en)-.25 F 1.157(vironments \(such as the loca-)-.4 F(tion of support \214les\).)174 208.8 Q(These are referenced using the)5 E F2(OSTYPE)2.5 E F0(m4)2.5 E F1(macro.)2.5 E60.61(sh Shell)102 225 R(\214les used by the)2.5 E F0(m4)2.5 E F1 -.2(bu)2.5 G(ild process.).2 E -1.1(Yo)5 G 2.5(us)1.1 G(houldn')362.97 225 Q 2.5(th)-.18 G-2.25 -.2(av e)404.18 225 T(to mess with these.)2.7 E 30.61(sitecon\214g Local)102 241.2 R .49(site con\214guration information, such as UUCP connecti)2.99 F(vity)-.25 E 5.49(.T)-.65 G(he)450.61 241.2 Q 2.99(yn)-.15 G(ormally)472.89241.2 Q(contain lists of site information, for e)174 253.2 Q(xample:)-.15 E(SITE\(contessa\))214 269.4 Q(SITE\(hoptoad\))214 281.4 Q(SITE\(nkainc\))214293.4 Q(SITE\(well\))214 305.4 Q(The)174 321.6 Q 2.5(ya)-.15 G(re referenced using the SITECONFIG macro:)201.34 321.6 Q(SITECONFIG\(site.con\214g.\214le, name_of_site, X\))214 337.8 Q(where)174 354Q F3(X)2.703 E F1 .203(is the macro/class name to use.)2.703 F .204(It can be U \(indicating locally connected)5.204 F(hosts\) or one of W)174 366Q 2.5(,X)-.92 G 2.5(,o)259.73 366 S 2.5(rYf)269.73 366 S(or up to three remote UUCP hubs.)288.61 366 Q .757(If you are in a ne)127382.2 R 3.257(wd)-.25 G .757(omain \(e.g., a compan)214.042 382.2 R .756(y\), you will probably w)-.15 F .756(ant to create a cf/domain)-.1 F .87(\214le for your domain.)102 394.2 R .871(This consists primarily of relay de\214nitions: for e)5.871 F .871(xample, Berk)-.15 F(ele)-.1 E(y')-.15 E 3.371(sd)-.55 G(omain)479 394.2 Q .16(de\214nition de\214nes relays for BitNET)102 406.2 R 2.66(,C)-.74 G(SNET)257.61 406.2 Q 2.66(,a)-.74 G .16(nd UUCP)291.47 406.2 R 5.16(.O)-1.11 G 2.66(ft)344.57 406.2 S .16(hese, only the UUCP relay is particu-)353.34 406.2 R .46(larly speci\214c to Berk)102 418.2 R(ele)-.1 E 4.26 -.65(y. A)-.15 H .46(ll of these are internet-style domain names.).65 F .46(Please check to mak)5.46 F 2.96(ec)-.1 G(er)493.1 418.2 Q(-)-.2 E(tain the)102 430.2 Q 2.5(ya)-.15G(re reasonable for your domain.)143.51 430.2 Q 1.407(Subdomains at Berk)127446.4 R(ele)-.1 E 3.907(ya)-.15 G 1.407(re also represented in the cf/domain directory)235.681 446.4 R 6.406(.F)-.65 G1.406(or e)439.408 446.4 R 1.406(xample, the)-.15 F 1.49(domain cs-e)102 458.4R 1.491(xposed is the Computer Science subdomain with the local hostname sho)-.15 F 1.491(wn to other)-.25 F 1.411(users; cs-hidden mak)102 470.4 R 1.411(es users appear to be from the CS.Berk)-.1 F(ele)-.1 E -.65(y.)-.15 G 1.41(EDU subdomain \(with no local).65 F 1.083(host information included\).)102482.4 R -1.1(Yo)6.083 G 3.583(uw)1.1 G 1.083(ill probably ha)246.332 482.4 R1.384 -.15(ve t)-.2 H 3.584(ou).15 G 1.084(pdate this directory to be appropriate for)335.866 482.4 R(your domain.)102494.4 Q -1.1(Yo)127 510.6 S 4.373(uw)1.1 G 1.873(ill ha)154.713 510.6 R 2.173-.15(ve t)-.2 H 4.373(ou).15 G 1.873(se or create)207.482 510.6 R F0(.mc)4.372E F1 1.872(\214les in the)4.372 F F3(cf/cf)4.372 E F1 1.872(subdirectory for your hosts.)4.372 F 1.872(This is)6.872 F(detailed in the cf/README \214le.)102 522.6 Q F0 2.5(1.3. Details)87 546.6 R(of Installation Files)2.5 E F1(This subsection describes the \214les that comprise the)127 562.8 Q F3(sendmail)2.5 E F1(installation.)2.5 E F0 2.5(1.3.1. /usr/sbin/sendmail)102586.8 R F1 .08(The binary for)142 605 R F3(sendmail)2.58 E F1 .079(is located in /usr/sbin)2.58 F/F4 7/Times-Roman@0 SF(2)326.708 601 Q F1 5.079(.I)330.208 605 S 2.579(ts)341.117 605 S .079(hould be setuid root.)350.366 605R -.15(Fo)5.079 G 2.579(rs).15 G .079(ecurity rea-)458.111 605 R(sons, /, /usr)117 619 Q 2.5(,a)-.4 G(nd /usr/sbin should be o)171.6 619 Q(wned by root, mode 755)-.25 E F4(3)364.4 615 Q F1(.)367.9 619 Q .32 LW 76 64672 646 DL 80 646 76 646 DL 84 646 80 646 DL 88 646 84 646 DL 92 646 88 646 DL96 646 92 646 DL 100 646 96 646 DL 104 646 100 646 DL 108 646 104 646 DL 112646 108 646 DL 116 646 112 646 DL 120 646 116 646 DL 124 646 120 646 DL 128 646124 646 DL 132 646 128 646 DL 136 646 132 646 DL 140 646 136 646 DL 144 646 140646 DL 148 646 144 646 DL 152 646 148 646 DL 156 646 152 646 DL 160 646 156 646DL 164 646 160 646 DL 168 646 164 646 DL 172 646 168 646 DL 176 646 172 646 DL180 646 176 646 DL 184 646 180 646 DL 188 646 184 646 DL 192 646 188 646 DL 196646 192 646 DL 200 646 196 646 DL 204 646 200 646 DL 208 646 204 646 DL 212 646208 646 DL 216 646 212 646 DL/F5 5/Times-Roman@0 SF(2)93.6 656.4 Q/F6 8/Times-Roman@0 SF .384(This is usually /usr/sbin on 4.4BSD and ne)3.2 J .384(wer systems; man)-.2 F 2.385(ys)-.12 G .385(ystems install it in /usr/lib)302.957 659.6 R 4.385(.I)-.32 G .385(understand it is in /usr/ucblib on)398.739659.6 R(System V Release 4.)72 669.2 Q F5(3)93.6 679.6 Q F6 .149(Some v)3.2 J.15(endors ship them o)-.12 F .15(wned by bin; this creates a security hole that is not actually related to)-.2F/F7 8/Times-Italic@0 SF(sendmail)2.15 E F6 4.15(.O)C .15(ther important di-)447.26 682.8 R(rectories that should ha)72 692.4 Q .24 -.12(ve r)-.16 H(estricti).12 E .24 -.12(ve o)-.2 H(wnerships and permissions are /bin, /usr/b\in, /etc, /usr/etc, /lib, and /usr/lib)-.08 E(.)-.32 E EP%%Page: 10 5%%BeginPageSetupBP%%EndPageSetup/F0 10/Times-Bold@0 SF 193.36(SMM:08-10 Sendmail)72 60 R(Installation and Operation Guide)2.5 E 2.5(1.3.2. /etc/sendmail.cf)102 96 R/F110/Times-Roman@0 SF .025(This is the con\214guration \214le for)142 112.2 R/F210/Times-Italic@0 SF(sendmail)2.525 E F1 5.025(.T)C .025(his is the only non-library \214le name compiled)321.335 112.2 R(into)117126.2 Q F2(sendmail)2.5 E/F3 7/Times-Roman@0 SF(4)171.17 122.2 Q F1 5(.S)174.67126.2 S(ome older systems install it in)187.73 126.2 Q F0(/usr/lib/sendmail.cf)2.5 E F1(.)A(If you w)142 142.4 Q(ant to mo)-.1 E .3 -.15(ve t)-.15 H(his \214le, change).15 E F2(sr)2.5 E(c/pathnames.h)-.37 E F1(.)A .721(The con\214guration \214le is normally created using the distrib)142 158.6 R.721(ution \214les described abo)-.2 F -.15(ve)-.15 G 5.72(.I).15 G(f)500.67158.6 Q .64(you ha)117 170.6 R .94 -.15(ve a p)-.2 H .64(articularly unusual system con\214guration you may need to create a special v).15 F(ersion.)-.15 E(The format of this \214le is detailed in later sections of this document.)117182.6 Q F0 2.5(1.3.3. /usr/bin/newaliases)102 206.6 R F1(The)142 222.8 Q F2(ne)2.5 E(waliases)-.15 E F1(command should just be a link to)2.5 E F2(sendmail)2.5E F1(:)A(rm \255f /usr/bin/ne)157 239 Q -.1(wa)-.25 G(liases).1 E(ln \255s /usr/sbin/sendmail /usr/bin/ne)157 251 Q -.1(wa)-.25 G(liases).1 E(This can be installed in whate)117 267.2 Q -.15(ve)-.25 G 2.5(rs).15 G(earch path you prefer for your system.)254.91 267.2 Q F0 2.5(1.3.4. /v)102291.2 R(ar/spool/mqueue)-.1 E F1 .218(The directory)142 307.4 R F2(/var/spool/mqueue)2.718 E F1 .217(should be created to hold the mail queue.)2.718 F .217(This directory)5.217 F(should be mode 700 and o)117 319.4 Q(wned by root.)-.25 E(The actual path of this directory is de\214ned in the)142335.6 Q F0(Q)2.5 E F1(option of the)2.5 E F2(sendmail.cf)2.5 E F1(\214le.)2.5 EF0 2.5(1.3.5. /etc/aliases*)102 359.6 R F1 1.492(The system aliases are held in \231/etc/aliases\232.)142 375.8 R 3.992(As)6.492 G 1.492(ample is gi)350.006 375.8 R -.15(ve)-.25 G 3.993(ni).15 G 3.993<6e99>417.694 375.8 S 1.493(lib/aliases\232 which)431.127 375.8 R(includes some aliases which)117 387.8 Q F2(must)2.5 E F1(be de\214ned:)2.5 E(cp lib/aliases /etc/aliases)157 404 Q F2(edit /etc/aliases)157 416 Q F1 -1.1(Yo)117 432.2 S 2.5(us)1.1 G(hould e)139.51 432.2 Q(xtend this \214le with an)-.15 E 2.5(ya)-.15 G(liases that are apropos to your system.)267.54 432.2 Q(Normally)142 448.4 Q F2(sendmail)3.61 E F1 1.109(looks at a v)3.61 F 1.109(ersion of these \214les maintained by the)-.15 F F2(dbm)3.609 E F1 1.109(\(3\) or)1.666 F F2(db)3.609 E F1(\(3\))1.666 E 3.46(routines. These)117 460.4R .96(are stored either in \231/etc/aliases.dir\232 and \231/etc/aliases.pag\\232 or \231/etc/aliases.db\232)3.46 F 1.022(depending on which database package you are using.)117 472.4 R 1.022(These can initially be created as empty)6.022 F(\214les, b)117 484.4 Q(ut the)-.2 E 2.5(yw)-.15 G(ill ha)180.54 484.4 Q .3 -.15(ve t)-.2 H 2.5(ob).15 G 2.5(ei)227.69 484.4 S(nitialized promptly)237.41 484.4 Q 5(.T)-.65 G(hese should be mode 644:)326.76 484.4 Q(cp /de)157 500.6 Q(v/null /etc/aliases.dir)-.25 E(cp /de)157 512.6 Q(v/null /etc/aliases.pag)-.25E(chmod 644 /etc/aliases.*)157 524.6 Q(ne)157 536.6 Q -.1(wa)-.25 G(liases).1 E(The)117 552.8 Q F2(db)2.79 E F1 .29(routines preset the mode reasonably)2.79 F2.79(,s)-.65 G 2.79(ot)301.68 552.8 S .29(his step can be skipped.)312.25 552.8R .29(The actual path of this)5.29 F(\214le is de\214ned in the)117 564.8 Q F0(A)2.5 E F1(option of the)2.5 E F2(sendmail.cf)2.5 E F1(\214le.)2.5 E F0 2.5(1.3.6. /etc/r)102 588.8 R(c)-.18 E F1 .156(It will be necessary to start up the)142 605 R F2(sendmail)2.655 E F1 .155(daemon when your system reboots.)2.655 F .155(This dae-)5.155 F 1.537(mon performs tw)117 617 R 4.037(of)-.1 G 1.537(unctions: it listens on the SMTP sock)201.221 617 R 1.537(et for connections \(to recei)-.1 F 1.838 -.15(ve m)-.25 H(ail).15 E .442(fro\m a remote system\) and it processes the queue periodically to insure that mai\l gets deli)117 629 R -.15(ve)-.25 G(red).15 E(when hosts come up.)117 641 Q.505(Add the follo)142 657.2 R .505(wing lines to \231/etc/rc\232 \(or \231/et\c/rc.local\232 as appropriate\) in the area where it)-.25 F(is starting up the daemons:)117 669.2 Q .32 LW 76 678.8 72 678.8 DL 80 678.876 678.8 DL 84 678.8 80 678.8 DL 88 678.8 84 678.8 DL 92 678.8 88 678.8 DL 96678.8 92 678.8 DL 100 678.8 96 678.8 DL 104 678.8 100 678.8 DL 108 678.8 104678.8 DL 112 678.8 108 678.8 DL 116 678.8 112 678.8 DL 120 678.8 116 678.8 DL124 678.8 120 678.8 DL 128 678.8 124 678.8 DL 132 678.8 128 678.8 DL 136 678.8132 678.8 DL 140 678.8 136 678.8 DL 144 678.8 140 678.8 DL 148 678.8 144 678.8DL 152 678.8 148 678.8 DL 156 678.8 152 678.8 DL 160 678.8 156 678.8 DL 164678.8 160 678.8 DL 168 678.8 164 678.8 DL 172 678.8 168 678.8 DL 176 678.8 172678.8 DL 180 678.8 176 678.8 DL 184 678.8 180 678.8 DL 188 678.8 184 678.8 DL192 678.8 188 678.8 DL 196 678.8 192 678.8 DL 200 678.8 196 678.8 DL 204 678.8200 678.8 DL 208 678.8 204 678.8 DL 212 678.8 208 678.8 DL 216 678.8 212 678.8DL/F4 5/Times-Roman@0 SF(4)93.6 689.2 Q/F5 8/Times-Roman@0 SF .588(The system libraries can reference other \214les; in particular)3.2 J 2.589(,s)-.32 G .589(ystem library subroutines that)294.805 692.4 R/F6 8/Times-Italic@0 SF(sendmail)2.589 E F5 .589(calls probably reference)2.589 F F6(/etc/passwd)72 702 Q F5(and)2 E F6(/etc/r)2 E(esolv)-.296 E(.conf)-.592 E F5(.)A EP

⌨️ 快捷键说明

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