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

📄 mh-tailor.man

📁 早期freebsd实现
💻 MAN
字号:
MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)NNAAMMEE       mh-tailor, mtstailor - system customization for MH message       handlerSSYYNNOOPPSSIISS       _/_u_s_r_/_c_o_n_t_r_i_b_/_m_h_-_6_._8_/_l_i_b_/_m_t_s_t_a_i_l_o_rDDEESSCCRRIIPPTTIIOONN       The file  /usr/contrib/mh-6.8/lib/mtstailor  defines  run-       time options for those _M_H programs which interact (in some       form) with the  message  transport  system.   At  present,       these (user) programs are: _a_p, _c_o_n_f_l_i_c_t, _i_n_c, _m_s_g_c_h_k, _m_s_h,       _p_o_s_t, _r_c_v_d_i_s_t, and _r_c_v_p_a_c_k.       Each option should be given on a single line.  Blank lines       and  lines  which begin with `#' are ignored.  The options       available along with default values and a  description  of       their meanings are listed below:       localname:            The  host  name  _M_H  considers  local.   If  not set,            depending on the version of UNIX you're  running,  _M_H            will   query   the   system  for  this  value  (e.g.,            <whoami.h>, gethostname, etc.).  This has no  equiva-            lent  in the _M_H configuration file.  POP client hosts            should set this value to the name of the POP  service            host.       localdomain:            If this is set, a `.' followed by this string will be            appended to your host name.  This might be useful for            sites  where  the  host  name  returned by the system            (e.g.,  <whoami.h>,  gethostname,  etc.),  is  not  a            "fully qualified domain name" (i.e., does not contain            a `.').       clientname:            The host name _M_H will give  in  the  SMTP  HHEELLOO  (and            EEHHLLOO)  command,  when  posting mail.  If not set, the            host name _M_H considers local is used (see "localname"            above).   If  empty,  no  HHEELLOO command will be given.            Although the HHEELLOO command is  required  by  RFC  821,            many SMTP servers do not require it.            Early versions of SendMail will fail if the host name            given in the HHEELLOO command is the  local  host;  later            versions  of  SendMail  will complain if you omit the            HHEELLOO command.  If you run  SendMail,  find  out  what            your system expects and set this field if needed.[mh.6]                        MH.6.8                            1MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)       systemname:            The  name of the local host in the _U_U_C_P "domain".  If            not set, depending on the version of UNIX you're run-            ning,  _M_H will query the system for this value.  This            has no equivalent in the _M_H configuration file.       mmdfldir: /var/mail            The directory where maildrops are kept.  If  this  is            empty, the user's home directory is used.  This over-            rides the "mail" field in the _M_H configuration  file.       mmdflfil:            The  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 "mail" field            in the _M_H configuration file.       mmdelim1: \001\001\001\001\n            The beginning-of-message delimiter for maildrops.       mmdelim2: \001\001\001\001\n            The end-of-message delimiter for maildrops.       mmailid: 0            If non-zero, then support for MMailids in //eettcc//ppaasssswwdd            is  enabled.   Basically,  the  pw_gecos field in the            password file is of the form                 My Full Name <mailid>            The _M_H internal routines that deal with user and full            names will return "mailid" and "My Full Name" respec-            tively.       lockstyle: 0            The locking discipline to perform.  A  value  of  "0"            means to use kernel-level locking if available.  (See            below for more details.)  On systems compiled without            kernel-level  locking,  standard  _B_e_l_l_M_a_i_l locking is            used.  A value of "1" means to use  _B_e_l_l_M_a_i_l  locking            always  (the  name  of  the lock is based on the file            name).  A value of "2"  means  to  use  _M_M_D_F  locking            always (the name of the lock is based on device/inode            pairs).       lockldir:            The name of the directory for making locks.  If  your            system  isn't configured to use kernel-level locking,            then this directory is used when creating locks.   If            the value is empty, then the directory of the file to            be locked is used.[mh.6]                        MH.6.8                            2MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)       maildelivery: /usr/contrib/mh-6.8/lib/maildelivery            The name of  the  system-wide  default  _._m_a_i_l_d_e_l_i_v_e_r_y            file.  See _m_h_o_o_k (1) for the details.       everyone: 200            The  highest  user-id  which  should NOT receive mail            addressed to "everyone".       noshell:            If set, then each  user-id  greater  than  "everyone"            that  has a login shell equivalent to the given value            (e.g., "/bin/csh") indicates that mail for "everyone"            should  not be sent to them.  This is useful for han-            dling admin, dummy, and guest logins.   MMaaiill FFiilltteerriinngg       These options are only available if you compiled  _M_H  with       "options MF".       uucpchan: name of _U_U_C_P channel            Usually  "UUCP".   This  has  no equivalent in the _M_H            configuration file.       uucpldir: /usr/spool/mail            The name of the directory where  _U_U_C_P  maildrops  are            kept.  This has no equivalent in the _M_H configuration            file.       uucplfil:            The name of the maildrop file in the directory  where            _U_U_C_P  maildrops  are  kept.   If  this  is empty, the            user's login name is used.  This has no equivalent in            the _M_H configuration file.       umincproc: /usr/contrib/mh-6.8/lib/uminc            The path to the program that filters _U_U_C_P-style mail-            drops to _M_M_D_F-style maildrops.   SSttaanndd--AAlloonnee DDeelliivveerryy       These options are only available if you compiled _M_H to use       stand-alone delivery (i.e., "mts: mh").       mailqdir: /usr/spool/netmail            The directory where network mail is queued.       tmailqdir: /usr/tmp            The  directory  where  network  mail  queue files are            built.       syscpy: 1            If ON, unauthorized mail is copied to the overseer.[mh.6]                        MH.6.8                            3MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)       overseer: root            The user that receives reports of unauthorized  mail.       mailer: root            The user acting for the mail system.       fromtmp: /tmp/rml.f.XXXXXX            The _m_k_t_e_m_p template for storing from lines.       msgtmp: /tmp/rml.m.XXXXXX            The  _m_k_t_e_m_p template for storing the rest of the mes-            sage.       errtmp: /tmp/rml.e.XXXXXX            The _m_k_t_e_m_p template for storing error  messages  from            other mailers.       tmpmode: 0600            The octal mode which temporary files are set to.       okhosts: /usr/contrib/mh-6.8/lib/Rmail.OKHosts            A  file  containing  a  list  of  hosts that can send            ARPAnet mail.       okdests: /usr/contrib/mh-6.8/lib/RMail.OKDests            A file containing a list of  hosts  that  can  always            receive mail.   TThhee ``//ssmmttpp'' MMTTSS SSuuffffiixx       These  options  are only available if you compiled _M_H with       the "/smtp" suffix to your "mts:" configuration.       hostable: /usr/contrib/mh-6.8/lib/hosts            The exceptions file for /etc/hosts used  by  _p_o_s_t  to            try  to find official names.  The format of this file            is quite simple:                 1. Comments are surrounded by  sharp  (`#')  and                 newline.                 2. Words are surrounded by white space.                 3.  The  first  word on the line is the official                 name of a host.                 4. All words following the  official  names  are                 aliases for that host.       servers: localhost \01localnet            A  lists of hosts and networks which to look for SMTP            servers when posting local mail.  It turns  out  this            is  a  major win for hosts which don't run an message            transport system.  The value of "servers"  should  be            one or more items.  Each item is the name of either a[mh.6]                        MH.6.8                            4MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)            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).   SSeennddMMaaiill       This  option  is  only available if you compiled _M_H to use       _S_e_n_d_M_a_i_l as your delivery agent (i.e., "mts: sendmail").       sendmail: /usr/lib/sendmail            The pathname to the _s_e_n_d_m_a_i_l program.   PPoosstt OOffffiiccee PPrroottooccooll       This option is only available if you compiled _M_H with  POP       support enabled (i.e., "pop: on").       pophost:            The name of the default POP service host.  If this is            not set, then _M_H looks in the standard maildrop areas            for  waiting  mail,  otherwise  the named POP service            host is consulted.   BBBBooaarrddss DDeelliivveerryy       This option is only available  if  you  compiled  _M_H  with       "bbdelivery: on".       bbdomain:            The local BBoards domain (a UCI hack).   BBBBooaarrddss && TThhee PPOOPP       These  options  are only available if you compiled _M_H with       "bboards: pop" and "pop: on".       popbbhost:            The POP service host which  also  acts  as  a  BBoard            server.   This  variable  should  be  set  on the POP            BBoards client host.       popbbuser:            The guest account on the POP/BB service  host.   This            should  be  a  different login ID than either the POP            user or the BBoards  user.   (The  user-id  "ftp"  is            highly  recommended.)  This variable should be set on            both the POP BBoards client and service hosts.       popbblist: /usr/contrib/mh-6.8/lib/hosts.popbb            A file containing of lists of hosts that are  allowed[mh.6]                        MH.6.8                            5MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)            to  use  the POP facility to 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.   BBBBooaarrddss && TThhee NNNNTTPP       This option is only available  if  you  compiled  _M_H  with       "bboards: nntp" and "pop: on".       nntphost:            The host which provides the NNTP service.  This vari-            able should be set on the NNTP BBoards client host.   FFiillee LLoocckkiinngg       A few words on locking: _M_H has a flexible  locking  system       for  making locks on files.  There are two mmttssttaaiilloorr vari-       ables you should be aware of "lockstyle"  and  "lockldir".       The  first controls the method of locking, the second says       where lock files should be created.       The "lockstyle" variable can take on three values:  0,  1,       2.   A  value  of 0 is useful on systems with kernel-level       locking.  If you are on a BBSSDD4422  system,  _M_H  assumes  you       have  the  _f_l_o_c_k  system  call.   On other systems: define       FFLLOOCCKK if you want to use the  _f_l_o_c_k  system  call;  define       LLOOCCKKFF  if you want to use the _l_o_c_k_f system call; or define       FFCCNNTTLL if you want to use the _f_c_n_t_l system call for kernel-       level  locking.   If you haven't configured _M_H to use ker-       nel-level locking, a locking style of 0 is considered  the       same as locking style 1.       A  value of 1 or 2 specifies that a file should be created       whose existence means  "locked"  and  whose  non-existence       means  "unlocked".   A  value  of  1 says to construct the       lockname by appending ".lock" to  the  name  of  the  file       being locked.  A value of 2 says to construct the lockname       by looking at the device and inode  numbers  of  the  file       being  locked.   If  the "lockldir" variable is not speci-       fied, lock files will be created in  the  directory  where       the file being locked resides.  Otherwise, lock files will       be created  in  the  directory  specified  by  "lockldir".       Prior to installing _M_H, you should see how locking is done       at your site, and set the appropriate values.FFIILLEESS       /usr/contrib/mh-6.8/lib/mtstailor         tailor filePPRROOFFIILLEE CCOOMMPPOONNEENNTTSS       None[mh.6]                        MH.6.8                            6MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)SSEEEE AALLSSOO       mh-gen(8), mh-mts(8)DDEEFFAAUULLTTSS       As listed aboveCCOONNTTEEXXTT       None[mh.6]                        MH.6.8                            7

⌨️ 快捷键说明

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