📄 mh-tailor.rf
字号:
.\" @(MHWARNING).\" @(#)$Id: mh-tailor.rf,v 1.1 90/07/20 09:41:25 sharpe Exp Locker: sharpe $.if !'\*(ZZ'-man' \{\.rm SS.de SS.sp.in .25i.b "\\s-2\&\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6\\s0".sp.in .5i...\}.SC MH\-TAILOR 5.NA@(MHETCPATH)/mtstailor \- system customization for MH message system.SYany \fIMH\fR command that interacts with the MTS.DEThe file @(MHETCPATH)/mtstailor defines run\-time options for those \fIMH\fRprograms which interact (in some form) with the message transport system.At present, these (user) programs are:\fIap\fR, \fIconflict\fR, \fIinc\fR, \fImsgchk\fR,\fImsh\fR, \fIpost\fR, \fIrcvdist\fR, and \fIrcvpack\fR.The options available along with default values and a description of theirmeanings are listed below:.in +.5i.ti -.5ilocalname:.brThe host name \fIMH\fR considers local.If not set, depending on the version of UNIX you're running,\fIMH\fR will query the system for this value(e.g., <whoami.h>, gethostname, etc.).This has no equivalent in the \fIMH\fR configuration file.POP client hosts have this value set to the name of the POP service host..ti -.5isystemname:.brThe name of the local host in the \fIUUCP\fR \*(lqdomain\*(rq.If not set, depending on the version of UNIX you're running,\fIMH\fR will query the system for this value.This has no equivalent in the \fIMH\fR configuration file..ti -.5immdfldir: @(MHDROPATH).brThe directory where maildrops are kept.If this is empty, the user's home directory is used.This overrides the \*(lqmail\*(rq field in the \fIMH\fR configuration file..ti -.5immdflfil: @(MHDROPFIL).brThe name of the maildrop file in the directory where maildrops are kept.If this is empty, the user's login name is used.This overrides the \*(lqmail\*(rq field in the \fIMH\fR configuration file..ti -.5immdelim1: \\001\\001\\001\\001\\n.brThe beginning\-of\-message delimiter for maildrops..ti -.5immdelim2: \\001\\001\\001\\001\\n.brThe end\-of\-message delimiter for maildrops..ti -.5immailid: 0.brIf non-zero, then support for MMailids in \fB/etc/passwd\fR is enabled.Basically, the pw_gecos field in the password file is of the form.ti +.5iMy Full Name <mailid>The \fIMH\fR internal routines that deal with user and full names will return\*(lqmailid\*(rq and \*(lqMy Full Name\*(rq respectively..ti -.5ilockstyle: 0.brThe locking\-discipline to perform.A value of \*(lq0\*(rq means to use \fIflock\fR if available,standard \fIBellMail\fR locking otherwise.A value of \*(lq1\*(rq means to use \fIBellMail\fR locking always(the name of the lock is based on the file name).A value of \*(lq2\*(rq means to use \fIMMDF\fR locking always(the name of the lock is based on device/inode pairs)..ti -.5ilockldir:.brThe name of the directory for making locks.If your system doesn't have the \fIflock\fR syscall,then this directory is used when creating locks.If the value is empty,then the directory of the file to be locked is used..ti -.5imaildelivery: @(MHETCPATH)/maildelivery.brThe name of the system\-wide default \fI\&.maildelivery\fR file.See \fImhook\fR\0(1) for the details..ti -.5ieveryone: 200.brThe highest user\-id which should NOT receive mail addressed to\*(lqeveryone\*(rq..ti -.5inoshell: .brIf set, then each user-id greater than \*(lqeveryone\*(rqthat has a login shell equivalent to the given value (e.g.,\*(lq/bin/csh\*(rq)indicates that mail for \*(lqeveryone\*(rq should not be sent to them.This is useful for handling admin, dummy, and guest logins..\" @BEGIN: MF.SS "Mail Filtering"These options are only available if you compiled \fIMH\fP with\*(lqoptions\ MF\*(rq..in +.5i.ti -.5iuucpchan: name of \fIUUCP\fR channel.brUsually \*(lqUUCP\*(rq.This has no equivalent in the \fIMH\fR configuration file..ti -.5iuucpldir: /usr/spool/mail.brThe name of the directory where \fIUUCP\fR maildrops are kept.This has no equivalent in the \fIMH\fR configuration file..ti -.5iuucplfil:.brThe name of the maildrop file in the directory where \fIUUCP\fR maildrops arekept.If this is empty, the user's login name is used.This has no equivalent in the \fIMH\fR configuration file..ti -.5iumincproc: @(MHETCPATH)/uminc.brThe path to the program that filters \fIUUCP\fR\-style maildrops to\fIMMDF\fR\-style maildrops..\" @END: MF.\" @BEGIN: MHMTS.SS "Stand-Alone Delivery"These options are only available if you compiled \fIMH\fP to use stand-alone delivery (i.e., \*(lqmts:\ mh\*(rq)..in +.5i.ti -.5imailqdir: /usr/spool/netmail.brThe directory where network mail is queued..ti -.5itmailqdir: /usr/tmp.brThe directory where network mail queue files are built..ti -.5isyscpy: 1.brIf ON, unauthorized mail is copied to the overseer..ti -.5ioverseer: root.brThe user that receives reports of unauthorized mail..ti -.5imailer: root.brThe user acting for the mail system..ti -.5ifromtmp: /tmp/rml.f.XXXXXX.brThe \fImktemp\fR template for storing from lines..ti -.5imsgtmp: /tmp/rml.m.XXXXXX.brThe \fImktemp\fR template for storing the rest of the message..ti -.5ierrtmp: /tmp/rml.e.XXXXXX.brThe \fImktemp\fR template for storing error messages from other mailers..ti -.5itmpmode: 0600.brThe octal mode which temporary files are set to..ti -.5iokhosts: @(MHETCPATH)/Rmail.OKHosts.brA file containing a list of hosts that can sent ARPAnet mail..ti -.5iokdests: @(MHETCPATH)/RMail.OKDests.brA file containing a list of hosts that can always receive mail..\" @END: MHMTS.\" @BEGIN: SMTP.SS "The \*(lq/smtp\*(rq MTS Suffix"These options are only available if you compiled \fIMH\fP withthe \*(lq/smtp\*(rq suffix to your \*(lqmts:\*(rq configuration..in +.5i.ti -.5ihostable: @(MHETCPATH)/hosts.brThe exceptions file for /etc/hosts used by \fIpost\fR to try to find officialnames.The format of this file is quite simple:.in +.5i1. Comments are surrounded by sharp (`#') and newline..br2. Words are surrounded by whitespace..br3. The first word on the line is the official name of a host..br4. All words following the official names are aliases for that host..in -.5i.ti -.5iservers: localhost \\01localnet.brA lists of hosts and networks which to look for SMTP serverswhen posting local mail.It turns out this is a major win for hosts which don't run an messagetransport system.The value of \*(lqservers\*(rq should be one or more items.Each item is the name of either a host or a net(in the latter case, precede the name of the net by a \\01).This list is searched when looking for a smtp server to post mail.If a host is present, the SMTP port on that host is tried.If a net is present,the SMTP port on each host in that net is tried.Note that if you are running with the BIND code,then any networks specified are ignored(sorry, the interface went away under BIND)..\" @END: SMTP.\" @BEGIN: SENDMTS.SS "SendMail"This option is only available if you compiled \fIMH\fP touse \fISendMail\fP as your delivery agent (i.e., \*(lqmts:\ sendmail\*(rq)..in +.5i.ti -.5isendmail: /usr/lib/sendmail.brThe pathname to the \fIsendmail\fR program..\" @END: SENDMTS.\" @BEGIN: POP.SS "Post Office Protocol"This option is only available if you compiled \fIMH\fP with POPsupport enabled (i.e., \*(lqpop:\ on\*(rq)..in +.5i.ti -.5ipophost:.brThe name of the default POP service host.If this is not set,then \fIMH\fR looks in the standard maildrop areas for waiting mail,otherwise the named POP service host is consulted..\" @END: POP.\" @BEGIN: BBSERVER.SS "BBoards Delivery"This option is only available if you compiled \fIMH\fP with\*(lqbbdelivery:\ on\*(rq..in +.5i.ti -.5ibbdomain:.brThe local BBoards domain (a UCI hack)..\" @END: BBSERVER.\" @BEGIN: BPOP.SS "BBoards & The POP"These options are only available if you compiled \fIMH\fP with\*(lqbboards:\ pop\*(rq and \*(lqpop:\ on\*(rq..in +.5i.ti -.5ipopbbhost:.brThe POP service host which also acts as a BBoard server.This variable should be set on the POP BBoards client host..ti -.5ipopbbuser:.brThe guest account on the POP/BB service host.This should be a different login ID than either the POP user or the BBoardsuser.(The user\-id \*(lqftp\*(rq is highly recommended.)This variable should be set on both the POP BBoards client and service hosts..ti -.5ipopbblist: @(MHETCPATH)/hosts.popbb.brA file containing of lists of hosts that are allowed to use the POP facilityto access BBoards using the guest account.If this file is not present,then no check is made.This variable should be set on the POP BBoards service host..\" @END: BPOP.\" @BEGIN: NNTP.SS "BBoards & The NNTP"This option is only available if you compiled \fIMH\fP with\*(lqbboards:\ nntp\*(rq and \*(lqpop:\ on\*(rq..in +.5i.ti -.5inntphost:.brThe host which provides the NNTP service.This variable should be set on the NNTP BBoards client host..\" @END: NNTP.in -.5iA few words on locking:\fIMH\fR has a flexible locking system for making locks on files.There are two \fBmtstailor\fR variables you should be aware of\*(lqlockstyle\*(rq and \*(lqlockldir\*(rq.The first controls the method of locking,the second says where lock files should be created.The \*(lqlockstyle\*(rq variable can take on three values: 0, 1, 2.A value of 0 says to use the flock syscall if you're running on 4.2BSD,(otherwise use a locking style of 1).A value of 1 or 2 specifies that a file should be created whose existencemeans \*(lqlocked\*(rq and whose non\-existence means \*(lqunlocked\*(rq.A value of 1 says to construct the lockname by appending \*(lq.lock\*(rq tothe name of the file being locked.A value of 2 says to construct the lockname by looking at the device andinode numbers of the file being locked.If the \*(lqlockldir\*(rq variable is not specified,lock files will be created in the directory where the file being lockedresides.Otherwise, lock files will be created in the directory specified by\*(lqlockldir\*(rq.Prior to installing \fIMH\fR,you should see how locking is done at your site,and set the appropriate values..Fi^@(MHETCPATH)/mtstailor~^tailor file.PrNone.Samh\-gen(8), mh\-mts(8).DeAs listed above.CoNone.En
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -