📄 mh-gen.8
字号:
\*(lqint\*(rq type..ti -.5isharedlib: off.brMakes libmh.a into a shared library (only for SunOS 4.0 and later). If you enable this, be sure to use \*(lqoptions SUN40\*(rq..ti -.5islibdir: /usr/local/lib.brThe directory where the MH shared library should go.You'll need to manually run \fIldconfig\fP\0(8) whenever a newshared object is installed on the system.If you want toput it somewhere other than \fB/usr/lib\fP or \fB/usr/local/lib\fP(not advisable), you'll probably have to run \fIldconfig\fR\0(8) onthat directory, oralter the environment variable \fBLD_LIBRARY_PATH\fP for eachuser wishing to use the MH system (this is messy). See\fIld\fR\0(1) for more information about how to do this..ti -.5ioldload: off.brSupport for the ALTOS loader if \*(lqon\*(rq.Support for loaders not handling `\-x\0\-r' correctly if \*(lqnone\*(rq..ti -.5iranlib: on.brSupport for systems with \fIranlib\fR\0(1).For SYSTEM 5 systems,this should be \*(lqoff\*(rq which tells \fIMH\fR to use \fIlorder\fR and\fItsort\fR instead.Some SYSTEM 5 sites reported that running this isn't always sufficient.If this is the case,then you should edit \fBconf/makefiles/uip\fR to include\fB\&../sbr/libmh.a\fR and \fB../zotnet/libzot.a\fR twice in the LIBESvariable..ti -.5itma: off.brSupport for the TTI \fItrusted mail agent\fR (TMA).Although the TTI TMA is \fBnot\fR in the public domain,the \fIMH\fR support for the TTI TMA \fBis\fR in the public domain.You should enable this option only if you are licensed to run the TMAsoftware(otherwise, you don't have the software in your \fIMH\fR source tree)..in -.5i.PPNow edit \fBconf/config/mtstailor\fR,depending on your choice of the settingfor mts in the \fIMH\fR configuration file.for an mts setting of \*(lqmh\*(rq,look at the file \fBconf/tailor/mhmts\fR;for an mts setting of \*(lqsendmail\*(rq, \*(lqsendmail/smtp\*(rq,\*(lqmmdf/smtp\*(rq, or \*(lqmmdf2/smtp\*(rq,look at the file \fBconf/tailor/sendmts\fR;and,for an mts setting of \*(lqmmdf\*(rq, or \*(lqmmdf2\*(rq,look at the file \fBconf/tailor/mmdf\fR..PPNow install the configured files into the source areas. (On SYSTEM 5systems you may need to use \*(lqmake sys5\*(rq to compile mhconfig.).sp 1.nf% make% ./mhconfig MH.fi.PPYou now proceed based on your choice of a transport system(the setting for mts above).The best interface is achieved with \*(lqsendmail\*(rqfollowed by \*(lqmmdf\*(rq or (\*(lqmmdf2\*(rq),and then \*(lqmh\*(rq (stand\-alone delivery, not recommended)..SS SENDMAILIf you want \fISendMail\fR to transport messages for \fIMH\fR,then go to the mts/sendmail/ directory..sp 1.nf% cd ../mts/sendmail/.fi.sp 1This directory contains files whose definitions correspond to theconfiguration of your \fISendMail\fR system.If you have enabled BBoards or POP service,then you will need to re\-configure \fISendMail\fR.First, in the \*(lqlocal info\*(rq section of your site's\fISendMail\fR configuration file,choose a free macro/class (B is used in this distribution),and add these lines:.sp 1.in +.5i.nf# BBoards supportDBbboardsCBbboards.fi.in -.5i.sp 1Second, immediately after the inclusion of the zerobase file,in the \*(lqmachine dependent part of ruleset zero\*(rq section,add these lines:.sp 1.in +.5i.nf# resolve names for the BBoards systemR$+<@$=B> $#bboards$@$2$:$1 topic@bboards.fi.in -.5i.sp 1Be sure to use tabs when separating these fields.Third, add the line.sp 1.in +.5i.nfinclude(bboardsMH.m4).fi.in -.5i.sp 1after the line.sp 1.in +.5i.nfinclude(localm.m4).fi.in -.5i.sp 1in your site's \fISendMail\fR configuration file.Finally, you should link the file \fBmts/sendmail/bboardsMH.m4\fR into your\fISendMail\fR cf/ directory and re\-configure \fISendMail\fR..PPIf you have enabled POP service,a similar procedure must be used on the POP service host,to re\-configure \fISendMail\fR.First, in the \*(lqlocal info\*(rq section of your site's\fISendMail\fR configuration file,choose a free macro/class (P is used in this distribution),and add these lines:.sp 1.in +.5i.nf# POP supportDPpopCPpop.fi.in -.5i.sp 1Second, immediately after the inclusion of the zerobase file,in the \*(lqmachine dependent part of ruleset zero\*(rq section,add these lines:.sp 1.in +.5i.nf# resolve names for the POP systemR$+<@$=P> $#pop$@$2$:$1 subscriber@pop.fi.in -.5i.sp 1Be sure to use tabs when separating these fields.Third, add the line.sp 1.in +.5i.nfinclude(popMH.m4).fi.in -.5i.sp 1after the line.sp 1.in +.5i.nfinclude(localm.m4).fi.in -.5i.sp 1in your site's \fISendMail\fR configuration file.Finally, you should link the file \fBmts/sendmail/popMH.m4\fR into your\fISendMail\fR cf/ directory and re\-configure \fISendMail\fR..SS MMDFIf you want \fIMMDF\fR to be your transport service,and have \fBNOT\fR specified \*(lqmmdf/smtp\*(rq (or \*(lqmmdf2/smtp\*(rq)as your mts setting,then go to the mmdf/ directory.(If you're using \*(lqmmdf/smtp\*(rq or \*(lqmmdf2/smtp\*(rqas your mts setting, then skip to the next section.).sp 1.nf% cd ../mts/mmdf/.fi.sp 1This directory contains files whose definitions correspond to theconfiguration of your \fIMMDF\fR system..PPIf you're running \fIMMDF\-I\fR,then copy the following files from wherever you keep the \fIMMDF\fR sourcesto this directory: mmdf/h/ch.h, mmdf/h/conf.h, utildir/conf_util.h,utildir/ll_log.h, mmdf/h/mmdf.h, utildir/util.h, mmdf/mmdf_lib.a,and utildir/util_lib.a..PPIf you're running \fIMMDF\-II\fR,then copy the following files from where you keep the \fIMMDF\fR sourcesto this directory: h/ch.h, h/conf.h, h/dm.h, h/ll_log.h, h/mmdf.h, h/util.h,and lib/libmmdf.a.PPIf you have enabled bboards,then the directories \fBsupport/bboards/mmdfI\fRand \fBsupport/bboards/mmdfII\fRcontain information you'll need toput a UCI BBoards channel in your \fIMMDF\fR configuration.Similarly, if you have enabled option \*(lqmf\*(rq and arerunning \fIMMDF\-I\fR,then the \fBzotnet/mf/mmdfI/\fR directory contains information you'll need toput a \fIUUCP\fR channel in your \fIMMDF\-I\fR configuration.Finally, the directory \fBsupport/pop/mmdfII\fR contains information you'llneed to put a POP channel in your \fIMMDF\-II\fR configuration..PPNote that \fIMMDF\-II\fR is distributed with the BBoards channel,although the version in the \fIMH\fR distribution might be more current,the version in the \fIMMDF\-II\fR distribution has been tested with thatrevision of \fIMMDF\fR..SS MMDF/SMTPIf you are using \*(lqmmdf/smtp\*(rq as your mts setting,then no further MTS\-specific action is required on your part!.SS MMDF2/SMTPIf you are using \*(lqmmdf2/smtp\*(rq as your mts setting,then no futher MTS\-specific action is required on your part!.SS "STAND\-ALONE DELIVERY"If, instead, you want \fIMH\fR to handle its own mail delivery,then no futher MTS\-specific action is required on your part!.SH GENERATIONGo to the mh.6/ directory and generate the system..sp 1.nf% cd ../; make.fi.PPThis will cause a complete generation of the \fIMH\fR system.If all goes well, proceed with installation.If not, complain, as there \*(lqshould be no problems\*(rq at this step..SH INSTALLATIONIf the directories you chose for the user\-programs andsupport\-programs(\*(lqbin\*(rq and \*(lqetc\*(rq in the \fBconf/MH\fR file)don't exist,you should create them at this point..PP\fBBefore proceeding\fP,you should familiarize yourself with the \fIAdministrator's Guide\fR.To generate an \fInroff\fR version, go to the doc/ directoryand type:.sp 1.nf% (cd doc/; make ADMIN.doc).fi.sp 1To generate a \fItroff\fR version, type.sp 1.nf% (cd doc/; make guide).fi.sp 1instead..PPIf you're already running \fIMH\fR at your site,you should also read the \fImh.6\fR changes documents.The sources are in \fBpapers/mh6.5/\fR and \fBpapers/mh6.7/\fP..PPNext, if you enabled support for the UCI BBoards facility,then create a logincalled \*(lqbboards\*(rq with the following characteristics:home directory is \fB/usr/spool/bboards/\fR with mode 755(actually, use the value for \*(lqbbhome\*(rq given in the \fIMH\fRconfiguration file),login shell is \fB/bin/csh\fR (or \fB/bin/sh\fR),and, encrypted password field is \*(lq*\*(rq.The \*(lqbboards\*(rq login should own the \fB/usr/spool/bboards/\fRdirectory.In addition to creating \fB/usr/spool/bboards/\fR,also create \fB/usr/spool/bboards/etc/\fRand \fB/usr/spool/bboards/archive/\fR.These directories should also be owned by the \*(lqbboards\*(rq login..PPIf you enabled support for POP,then on the POP service host,create a login called \*(lqpop\*(rq with the following characteristics:home directory is \fB/usr/spool/pop/\fR with mode 755,login shell is \fB/bin/csh\fR,and, encrypted password field is \*(lq*\*(rq.If you don't have \fB/bin/csh\fR on your system (V7),then \fB/bin/sh\fR is just fine.The \*(lqpop\*(rq login should own the \fB/usr/spool/pop/\fR directory.You'll also need to add a line to the \fB/etc/services\fR file and the\fB/etc/rc.local\fR file,see the \fIAdministrator's Guide\fR for more details..PPIf this is not the first time you have installed \fIMH\fR,these files will need particular attention:.nf.in +.5i.ta \w'VeryVeryBigDirectoryName 'u\fIDirectory\fR \fIFiles\fR\*(lqetc/\*(rq MailAliases, BBoardAliases, mtstailor/usr/spool/bboards/ BBoards, \&.cshrc, \&.mh\(ruprofile/usr/spool/bboards/etc/ *.re.in -.5i.fi.PPThe \fBMailAliases\fR, \fBBBoardAliases\fR, \fBmtstailor\fR and \fBBBoards\fRfiles will not be installed over existing copies;you will need to edit these byhand and merge in any changes from your previous \fIMH\fR release.The other files under \fB/usr/spool/bboards/\fR will be overwrittenif they exist.You may wish to preserve your old versions of these before installing\fIMH\fR..PPAs the super-user, and from the mh.6/ directory, install the system..sp 1.nf# make inst\-all.fi.sp 1This will cause the \fIMH\fR processes and files to be transferred to the appropriate areaswith the appropriate attributes..SH TAILORINGSee the \fIAdministrator's Guide\fR for information on tailoring \fIMH\fR forthe MTS, BBoards, and POP..SH DOCUMENTATIONIn addition to this document,the administrator's guide,and the user's manual,there are several documents referenced by the user's manual which may beuseful.The sources for all of these can be found under the \fBpapers/\fR directory..SH "OTHER THINGS"Consult the directory \fBmiscellany/\fR for the sources to a number of thingswhich aren't part of the mainstream \fIMH\fR distribution,but which are still quite useful..SH FILESToo numerous to mention. Really..SH "SEE ALSO"make(1).SH BUGSThe \fImhconfig\fR program should be smarter..PPThe Makefiles should know when \fImhconfig\fR has been run and force\*(lqmake clean\*(rq behavior.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -