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

📄 admin.rf

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 RF
📖 第 1 页 / 共 2 页
字号:
.\"	@(MHWARNING).\" @(#)$Id: ADMIN.rf,v 1.2 90/11/25 18:55:52 sharpe Exp $.po +.75i.de $c                          \" Major Heading printer.ce.b "\\s12\\n+(ch.\\ \\$1\\s0"   \" 12 Point Bold Header.(x\ \ \ \\n(ch.\\ \\ \\$1.)x.sp 45p         \" 45 point space or about 1/2 inch..\".nr xs .15v     \" Put index entries closer together.(xSection.)x _.de $0          \" Sub-Heading macro called AFTER printing the heading.(x.sp .3v.ti .5i\\$1.)x...de $s          \" Macro to print footnote separator\"\l'2i'        \" No line drawn.if n \.       sp 1.3  \" But extra space to make up for it....fc ^ ~         \" The characters ^ and ~ CANNOT BE USED\"                 throughout this document except as field\"                 delimiter & pad indicator!.he ''-%-''.ll 32P         \" 32 Picas or about 5+1/3 inch Line Length.if n .ll 72m   \" Use 72 ems for nroff.nr ss 30p      \" 30 point space before section titles.nr fm 5v       \" RAND likes bigger than normal [3v] bottom margins.nr bm 7v       \"   ditto.ds . \\fB.\\fP\\h'-(1m/3)' \" Bold period to stand out..ds << <\\h!-(\\w'<'/2)!<.ds >> >\\h!-(\\w'>'/2)!>.ds ** \v'-3p'\s+1*\s0\v'+3p'.so version.rf.tp.(l C\fIdiscard this page\fR.sp 4The RAND \fIMH\fRMessage HandlingSystem:Administrator's Guide.spUCI Version.sp 2\*(td\*(MH.)l.++ C.+c INTRODUCTION.uh "Scope of this document".ppThis is the Administrator's Guide to \fIMH\fR.If you don't maintain an \fIMH\fR system,don't read this;the information is entirely too technical.If you are a maintainer,then read this guide until you understand it,follow the advice it gives,and then forget about the guide..ppBefore continuing, I'll point out two facts:.sp 2.(l C\fIThis document will never contain all the informationyou need to maintain MH..spFurthermore, this document will never contain everythingI know about maintaining MH.\fR.)l.sp 2\fIMH\fR,and mailsystems in general,are more complex than most people realize.A combination of experience, intuition, and tenacity is required to maintain\fIMH\fR properly.This document can provide only guidelines for bringing up an \fIMH\fR systemand maintaining it.There is a sufficient amount of customization possible that not all events orproblems can be forseen..uh "Summary".ppDuring \fIMH\fR generation,you specify several configuration constants to the \fImhconfig\fR program.These directives take into consideration such issues as hardware andoperating system dependencies in the source code.They also factor out some major mailsystem administrative decisionsthat are likely to be made consistantly at sites with more than one host.The manual entry \fImh\-gen\fR\0(8) describes all the static configurationdirectives..ppHowever,when you install \fIMH\fR you may wish to make some site\-specificor host\-specific changes which aren't hardware or even software related.Rather, they are administrative decisions.That's what this guide is for: it describes all of the dynamically tailorabledirectives..ppUsually, after installing \fIMH\fR, you'll want to edit the\fB@(MHETCPATH)/mtstailor\fR file.This file fine-tunes the way \fIMH\fR interacts with the message transportsystem (MTS).Section 2 talks about the MTS interface and MTS tailoring..ppAfter that, if you're running the UCI BBoards facility,or the POP facility,you'll need to know how to maintain those systems.Sections 3 and 4 talk about these..ppIf for some reasonyou're not running an MTS that can handle both Internet and \fIUUCP\fR traffic,you should read\-up on mail filtering in Section 5.Although this is considered \*(lqold technology\*(rq now,the mechanisms described in Section 5 were really quite useful whenfirst introduced way back in 1981..ppFinally, you may want to know how to modify the \fIMH\fR source tree.Section 6 talks (a little bit) about that..ppThe last two sections describe a few hidden features in \fIMH\fR,and the configuration options that were in effect when this guide wasgenerated..ppAfter \fIMH\fR is installed, you should define the address \*(lqBug\-MH\*(rqto map to either you or the \fIPostMaster\fR at your site..ppIn addition,if you want to tailor the behavior of \fIMH\fR for new users,you can create and edit the file \fB@(MHETCPATH)/mh.profile\fR.When the \fIinstall-mh\fR program is run for a user,if this file exists, it will copy it into the user's \&.mh\(ruprofilefile..\" macros for the .me/.man files.de SC.he '\\$1(\\$2)'-%-'\\$1(\\$2)'.bp.(x.ti .8i\\$1.)x...de NA.b \\s-2NAME\\s0.ti .5i...de SY.sp.b \\s-2SYNOPSIS\\s0.in 1i.ti .5i.na...de DE.ad.sp.in 0.b  \\s-2DESCRIPTION\\s0.sp.fi.in .5i...de Hh.ad.sp.in 0.b "\\s-2Helpful Hints\\s0".sp.fi.in .5i...de Fi.(b L.ti 0.b \\s-2Files\\s0.ta \w'@(MHETCPATH)/ExtraBigFileName  'u...de Pr.)b.(b L F.ta \w'ExtraBigProfileName  'u.ti 0.b "\\s-2Profile Components\\s0".ti .5i...de Ps.ti .5i...de Sa.)b.(b L F.ti 0.b "\\s-2See Also\\s0".br...de De.)b.(b L.in .5i.ti 0.b \\s-2Defaults\\s0...de Ds...de Co.)b.(b L F.ti 0.b \\s-2Context\\s0.br...de Hi.)b.(b L F.ti 0.b \\s-2History\\s0.br...de Bu.)b.(b L F.ti 0.b \\s-2Bugs\\s0.br...de En.)b.in 0...+c "THE MTS INTERFACE".ppThe file \fB@(MHETCPATH)/mtstailor\fR customizescertain host\-specific parameters of \fIMH\fRrelated primarily to interactions with the transport system.The parameters in this file override the compiled\-in defaults given during\fIMH\fR configuration.Rather than recompiling \fIMH\fR on each host to make minor customizations,it is easier simply to modify the \fBmtstailor\fR file.All hosts at a given site normally use the same \fBmtstailor\fR file,though this need not be the case..ppIt is a good idea to run the \fIconflict\fR\0(8) program each morningunder \fIcron\fR.The following line usually suffices:.ti +.5i00 05 * * * @(MHETCPATH)/conflict -mail PostMaster.if t \{.ll 6.5i.lt 6.5i\}.fo '@(MHLEFTFOOT)'@(MHCENTERFOOT)'UCI version'.po -.50i.so mh-tailor.me.so mh-mts.me.po +.50i.he ''-%-''.fo ''''.br.if t \{.ll 32P.lt 32P\}.+c "BBOARDS".ppThe UCI BBoards facility has two aspects: message reading, andmessage delivery.  The configuration directives applicable toBBoards are \*(lqbboards: on/off/pop/nntp\*(rq and\*(lqbbdelivery: on/off\*(rq..uh "BBoard Delivery".ppIf you enabled BBoards delivery (\*(lqbbdelivery: on\*(rq)during configuration,then the initial environment for bboards deliverywas set\-up during installation.A BBoard called \*(lqsystem\*(rq is established,which is the BBoard for general discussion..ppTo add more BBoards, become the \*(lqbboards\*(rq user,and edit the \fB@(BBHOME)/BBoards\fR file.The file \fBsupport/bboards/Example\fR is a copy of the\fB@(BBHOME)/BBoards\fR file that we use at UCI.When you add a BBoard,you don't have to create the files associated with it,the BBoards delivery system will do that automatically..ppPrivate BBoards may be created.To add the fictitious private BBoard \*(lqhacks\*(rq,add the appropriate entry to the BBoards file,create the empty file \fB@(BBHOME)/hacks.mbox\fR (or whatever),change the mode of this file to 0640,and change the group of the file to be the groupid of the people that youwant to be able to read it.Also be sure to add the \*(lqbboards\*(rq user to this group(in \fB/etc/group\fR),so the archives can be owned correctly..ppBy using the special INVIS flag for a BBoard,special purpose BBoards may be set\-up which are invisible to the \fIMH\fRuser.For example,if a site distributes a BBoard both locally to a number of machines and to anumber of distant machines.It might be useful to have two distribution lists:one for all machines on the list, and the other for local machines only.This is actually very simple to do.For the main list,put the standard entry of information in the \fB@(BBHOME)/BBoards\fR file,with the complete distribution list.For the local machines list,and add a similar entry to the \fB@(BBHOME)/BBoards\fR file.All the fields should be the same except three:the BBoard name should reflect a local designation (e.g., \*(lql\-hacks\*(rq),the distribution list should contain only machines at the local site,and the flags field should contain the INVIS flag.Since the two entries share the same primary and archive files,messages sent to either list are read by local users,while only thoses messages sent to the main list are read by all users..ppTwo automatic facilities for dealing with BBoards exist:automatic archiving and automatic aliasing.The file \fBsupport/bboards/crontab\fR contains some entries that youshould add to your \fB/usr/lib/crontab\fR file to run the specified programsat times that are convenient for you.The \fBbboards.daily\fR file is run once a day and generates an alias filefor \fIMH\fR.By using this file, users of \fIMH\fR can use, for example,\*(lqunix\-wizards\*(rq instead of \*(lqunix\-wizards@brl\-vgr\*(rqwhen they want to send a message to the \*(lqunix\-wizards\*(rqdiscussion group.This is a major win, since you just have to know the name of the group,not the address where it's located..ppThe \fBbboards.weekly\fR file is run once a week and handles oldmessages (those received more than 12 days ago) in the BBoards area.In short,those BBoards which are marked for automatic archivingwill have their old messages placed in the \fB@(BBHOME)/archive/\fR area,or have their old messages removed.Not only does this make BBoards faster to read,but it conveniently partitions the new messages from the old messagesso you can easily put the old messages on tape and then remove them.It turns out that this automatic archiving capability is also a majorwin..ppAt UCI,our policy is to save archived messages on tape (every two months or so).We use a program called \fIbbtar\fR to implement our particular policy.Since some BBoards are private (see above),we save the archives on two tapes:one containing the world\-readable archives(this tape is read-only accessible to all users by calling the operator),and the other containing the non\-world\-readable ones(this tape is kept locked\-up somewhere)..uh "BBoards with the POP".ppIf you configured \fIMH\fP with \*(lqbboards: pop\*(rq and \*(lqpop: on\*(rq,then the \fIMH\fR user is allowed to read BBoards on a server machineinstead of the local host (thus saving disk space).For completely transparent behavior,the administrator may set certain variables in the \fBmtstailor\fR fileon the client host.The variable \*(lqpopbbhost\*(rq indicates the host where BBoards arekept(it doesn't have to be the POP service host,but this host must run both a POP server and the BBoards system).The variable \*(lqpopbbuser\*(rq indicates the guest account on this hostfor BBoards.This username should not be either the POP user or the BBoards user.Usually the anonymous FTP user (ftp) is the best choice.Finally, the variable \*(lqpopbblist\*(rq indicates the name of a file whichcontains a list of hosts (one to a line, official host names only) whichshould be allowed to use the POP facility to access BBoards via the guestaccount.(If the file is not present, then no check is made.).ppThe \*(lqpopbbuser\*(rq variable should be set on both the client and servicehost.The \*(lqpopbbhost\*(rq variable need be set only on the client host(the value, of course, is the name of the service host).The \*(lqpopbblist\*(rq variable need be set only on the service host..ppFinally,on the client host,if a POP service host is not explicitly given by the user(i.e., \*(lqpopbbhost\*(rq is implicitly used),then \fIbbc\fR will explicitly check the local host prior to contactingthe service host.This allows each POP client host to have a few local BBoards(e.g., each host could have one called \*(lqsystem\*(rq),and then have the POP service host used for all the rest(a site\-wide BBoard might be known as \*(lqgeneral\*(rq)..uh "BBoards with the NNTP".ppIf you configured \fIMH\fP with \*(lqbboards: nntp\*(rq and \*(lqpop: on\*(rq,then the \fIMH\fR user is allowed to read the Network News on aserver machine using the standard \fIbbc\fR command.For completely transparent behavior,the administrator may set the \*(lqnntphost\*(rq variable in the\fBmtstailor\fR file to indicate the host where the Network News is kept.The \*(lqnntphost\*(rq variable should be set only on the client hostFinally,on the client host,if an NNTP service host is not explicitly given by the user(i.e., \*(lqnntphost\*(rq is implicitly used),then \fIbbc\fR will explicitly check the local host prior to contactingthe service host.This allows each NNTP client host to have a few local BBoards(e.g., each host could have one called \*(lqsystem\*(rq),and then have the NNTP service host used for to read the Network News..ppReading BBoards via the POP and via the NNTP are mutually exclusive..if t \{.ll 6.5i.lt 6.5i\}.fo '@(MHLEFTFOOT)'@(MHCENTERFOOT)'UCI version'.po -.50i.so bboards5.me.so bbaka.me.so bbexp.me.so bboards8.me.so bbtar.me.po +.50i.he ''-%-''.fo ''''.br.if t \{.ll 32P.lt 32P\}.+c "POP".ppFor POP (Post Office Protocol) client hosts,you need to edit the \fB@(MHETCPATH)/mtstailor\fR file to know about twohosts:the SMTP service host and the POP service host.Normally, these are the same.

⌨️ 快捷键说明

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