📄 mh-gen.8
字号:
.\" @(#)$Id: mh-gen.8,v 2.50 90/11/21 09:27:52 mh Exp Locker: mh $.\" uneven inter-word spacing (nroff line adjusting) hampers readability.if n .na.TH MH-GEN 8 MH [mh.6].SH NAMEmh-gen \- generating the MH system.SH "READ THIS"This documentation describes how to configure, generate, and installthe UCI version of the RAND \fIMH\fR system. \fBBe certain\fP to read this document completely before you begin. You probably willalso want to familiarize yourself with the \fIMH\fP Administrator'sGuide before you install \fIMH\fP..SH DISCLAIMERAlthough the \fIMH\fR system was originally developed by the RAND Corporation,and is now in the public domain,the RAND Corporation assumes no responsibility for \fIMH\fRor this particular modification of \fIMH\fR..PPIn addition,the Regents of the University of California issue the following\fBdisclaimer\fR in regard to the UCI version of \fIMH\fR:.in +.5i\*(lqAlthough each program has been tested by its contributor,no warranty, express or implied,is made by the contributor or the University of California,as to the accuracy and functioning of the programand related program material,nor shall the fact of distribution constitute any such warranty,and no responsibility is assumed by the contributoror the University of California in connection herewith.\*(rq.in -.5i.PPThis version of \fIMH\fR is in the public domain,and as such,there are no real restrictions on its use.The \fIMH\fR source code and documentation have no licensing restrictionswhatsoever.As a courtesy,the authors ask only that you provide appropriate credit to the RANDCorporation andthe University of California for having developed the software..SH "GETTING HELP"\fIMH\fR is a software package that is neither supported by the RANDCorporation nor the University of California.However,since we do use the software ourselves and plan to continue using (andimproving) \fIMH\fR,bug reports and their associated fixes should be reported back to us so thatwe may include them in future releases.The current computer mailbox for \fIMH\fR is \fBBug\-MH@ICS.UCI.EDU\fR(in the ARPA Internet),and \fB...!ucbvax!ucivax!bug\-mh\fR (UUCP)..PPPresently,there are two Internet discussion groups, \fBMH\-Users@ICS.UCI.EDU\fRand \fBMH\-Workers@ICS.UCI.EDU\fR. \fBMH\-Workers\fP is for peoplediscussing code changes to \fIMH\fP. \fBMH-Users\fP is for generaldiscussion about how to use \fIMH\fP.\fBMH\-Users\fR is bi-directionally gatewayed into USENET as \fBcomp.mail.mh\fR..SH "HOW TO GET MH"Since you probably already have \fIMH\fP,you may not need to read this unless you suspect you have an old version.There are two ways to get the latest release:.PP1. If you can FTP to the ARPA Internet, use anonymous FTP toics.uci.edu [128.195.1.1] and retrieve the file pub/mh/mh-6.7.tar.Z.This is a tar image after being run through the compress program(approximately 1.5MB). There should also be a \fBREADME\fR file inthat directory which tells what the current release of \fIMH\fPis, and how to get updates..PPThis tar file is also available on louie.udel.edu [128.175.1.3] in portal/mh-6.7.tar.Z. You may also find MH onvarious other hosts; to make sure you get the latest version anddon't waste your time re-fixing bugs, it's best to get it fromeither ics.uci.edu or louie.udel.edu..PP2. You can send $75 US to the address below.This covers the cost of a 6250 BPI 9-track magtape,handling, and shipping. In addition, you'll get alaser-printed hard-copy of the entire MH documentation set. Besure to include your USPS address with your check. Checks must be drawn on U.S\&. funds and should be made payable to:.ti +1iRegents of the University of CaliforniaThe distribution address is: .nf.RS 1iComputing Support Group Attn: MH distributionDepartment of Information and Computer ScienceUniversity of California, IrvineIrvine, CA 92717714/856-7554.fi.RE.PPSadly, if you just want the hard-copies of the documentation, youstill have to pay the $75. The tar image has the documentationsource (the manual is in roff format, but the rest are in TeXformat). Postscript formatted versions of the TeX papers are available, as are crude tty-conversions of those papers..SH SYNOPSISMAKE.SH DESCRIPTIONThis is a description of how one can bring up an \fIMH\fR system.It is assumed that you have super-user privileges in order to(re\-)install \fIMH\fR.Super-user privileges are not required to configure or generate \fIMH\fR..PPBecome the super-user and create a new directory under /usr/src/local/(or whatever) for the \fIMH\fR area.Traditionally, the directory's name should be mh/.The distribution tape contains the hierarchy for the mh.6/ directory.Bring the sources on-line:.sp 1.nf# mkdir /usr/src/local/mh% cd /usr/src/local/mh% tar xv.fi.SH CONFIGURATIONFirst, go to the conf/ directory..sp 1.nf% cd conf/.fi.sp 1This directory contains files that will produce source files tailoredfor your choice of \fIMH\fR configuration.You should edit only the file \fBMH\fR.This file contains configuration directives.These configuration directives are read by the \fImhconfig\fR program toproduce customized files.For examples of various configurations,look in the directory \fBconf/examples/\fR.The file \fBMH\fR provided in \fBconf/\fR is a reasonable default..PPHere are the \fIMH\fP configuration options available:.in +.5i.ti -.5ibin: /usr/local.brThe directory where user\-invoked programs go (see manual section 1)..ti -.5idebug: off.brSupport for debug mode of \fIMH\fR.Don't use this unless you know what you're doing,which isn't likely if you're reading this document!.ti -.5ietc: /usr/local/lib/mh.brThe directory where pgm\-invoked programs go (see manual section 8)..ti -.5imail: /usr/spool/mail.brThe directory where the maildrops are stored.If this pathname is absolute (i.e., begins with a \fB/\fR\0),then the user's maildrop is a file called \fB$USER\fR in this directory.If the pathname is not absolute,then the user's maildrop is in the user's home directory under the given name..ti -.5imailgroup: off.brIf set, \fIinc\fR is made set-group-id to this group name.Some SYS5 systems want this to be set to \*(lqmail\*(rq..ti -.5imandir: /usr/man.brThe parent directory of the manual entries..ti -.5imanuals: standard.brWhere manual entries should be installed,relative to the directory given with \*(lqmandir\*(rq.Either \*(lqlocal\*(rq to install manual entries under \fBmanl/\fR,or \*(lqnew\*(rq to install manual entries under \fBmann/\fR,or \*(lqold\*(rq to install manual entries under \fBmano/\fR,or \*(lqstandard\*(rq to install manual entries under \fBman?/\fR,or \*(lqgen\*(rq to generate but not install them,or \*(lqnone\*(rq to neither generate nor install them.For example,to install manual entries under \fB/usr/man/u_man/man?\fR,use \*(lqstandard\*(rq and \fB/usr/man/u_man\fR for \*(lqmandir\*(rq..ti -.5ichown: /etc/chown.brThe location of the \fIchown\fR\0(8) on your system.If \fIchown\fR is in your search path,just use the value of \*(lqchown\*(rq.On SYS5 systems,this should probably be \*(lq/bin/chown\*(rq..ti -.5ieditor: prompter.brThe default editor for \fIMH\fR..ti -.5iremove: mv \-f.brHow \fIMH\fR should backup existing files when installing a new file..ti -.5imts: sendmail.brWhich message transport system to use.Either \*(lqmmdf\*(rq to use \fIMMDF\fR as the transport system,\*(lqmmdf2\*(rq to use \fIMMDF\-II\fR as the transport system,\*(lqsendmail\*(rq to have \fISendMail\fR as the transport system,or, \*(lqmh\*(rq to have \fIMH\fR as the transport system.On UNIX systems supporting TCP/IP networking via socketsyou can add the suffix \*(lq/smtp\*(rq to the mts setting.This often yields a superior interface as \fIMH\fR will post mail with thelocal \fISMTP\fR server instead of interacting directly with \fIMMDF\fR or\fISendMail\fR.Hence, for TCP/IP UNIX systems,the \*(lq/smtp\*(rq suffix to either \*(lqsendmail\*(rq or \*(lqmmdf2\*(rq isthe preferred MTS configuration.The \*(lq/smtp\*(rq suffix is described in detail in the \fIAdministrator'sGuide\fR; be sure to set \*(lqservers:\*(rq as described in\fImh\-tailor\fR\0(8) if you use this option..ti -.5ibboards: off.brIf \*(lqon\*(rq, include support for the UCI BBoards facility.BBoards may be enabled with any mts setting.If \*(lqoff\*(rq, the BBoard reading program \fIbbc\fR will not be installed.If \*(lqnntp\*(rq,include support for the UCI BBoards facility to read the Network Newsvia the NNTP.If \*(lqpop\*(rq (formerly \*(lqpopbboards:\ on\*(rq),include support for the UCI BBoards facility via the POP3 service;this setting requires \*(lqpop:\ on\*(rq..ti -.5ibbdelivery: off.brIf \*(lqoff\*(rq,the BBoards delivery agent and library files will not be installed.If \*(lqon\*(rq,and you set \*(lqbboards:\*(rq to something besides \*(lqoff\*(rq,then the BBoards delivery agent and library files will be installedin the \fIbbhome\fR directory (see below).To read remote BBoards,the usual configuration would have \fIbbc\fR talk to a \fIPOP3\fR or\fINNTP\fR server.However, it may be useful to set this to \*(lqoff\*(rq if you NFS mount the \fIbbhome\fR directory from another hostand want to use \fIbbc\fR to read those files directly..ti -.5ibbhome: /usr/spool/bboards.brThe home directory for the BBoards user..ti -.5imf: off.brSupport for mail filtering on those systems in which the message transportsystem isn't integrated with \fIUUCP\fR This option is strictly for an \fIMH\fR system using either \fIMMDF\-I\fRas its transport system or one using \*(lqstand\-alone delivery\*(rq..ti -.5ipop: off.brSupport for POP service.This allows local delivery for non\-local users(a major win).See \fBsupport/pop/pop.rfc\fR for more information on the POP.This option currently works only on UNIX systems with TCP/IP sockets.(It doesn't hurt to enable this option regardless of whether or notyou intend to use POP.)If POP is enabled, there are three additional options which are of interest:\*(lqRPOP\*(rq, \*(lqDPOP\*(rq and \*(lqPOP2\*(rq.The first indicates that support for the UNIX variant of POP,RPOP, which uses privileged sockets for authentication be enabled.This peacefully co\-exists with the standard POP.The \*(lqDPOP\*(rq option indicates that POP subscribers do not haveentries in the \fIpasswd\fR\0(5) file,and instead have their own separate database (another major win).The \*(lqPOP2\*(rq option indicates that the \fIMH\fP POP daemon shouldspeak the older POP2 protocol in addition to the \fIMH\fP POP3 protocol \-a major win.All of these options can be enabled via an \*(lqoptions\*(rq directive in the\fIMH\fR configuration file..ti -.5ioptions:.br\&`\-D' options to \fIcc\fR\0(1). If you don't know what anoption does, it probably doesn't apply to you..in +.5i.ti -.5iALTOS.brUse on XENIX/v7 systems.Also, be sure to use \*(lqoptions V7\*(rq..ti -.5iATHENA.brMakes \fIrepl\fR `\-nocc\ all' the default instead of `\-cc\ all'.You may want to enable this if you're using \fIxmh\fR..ti -.5iATZ.brDirects \fIMH\fR to use alpha\-timezones whenever possible..ti -.5iBANG.brDirects \fIMH\fR to favor `!' over `@' in addressing..ti -.5iBERK.brOptional for for 4.{2,3}BSD sites running SendMail.Disables nearly all of the RFC822 address and header-parsing routinesin favor of recognizing such formats as ASCnet, and so on.If you don't need to disable the parser for this reason,you probably want to use \*(lqoptions DUMB\*(rq instead..ti -.5iBIND.brIf you are running with the BIND code on UNIX systemswith TCP/IP sockets (e.g. 4.{2,3}BSD),be sure to define this..ti -.5iBSD41A.brUse on 4.1a Berkeley UNIX systems..ti -.5i
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -