📄 read-me
字号:
MH-GEN(8) MH database (such as with Yellow Pages) instead of doing a sequential read of /etc/passwd. Without DBM the entire passwd file is read into memory one entry at a time for alias expan- sion. This is a performance improvement when reading a stan- dard /etc/passwd file, but is _v_e_r_y slow on systems with a dbm database. At one site that runs YP on a large passwd file, it showed a 6:1 performance improvement. DPOP Enables the POP database, useful only if POP service is enabled. DUMB Directs _M_H not to try and rewrite addresses to their "offi- cial" form. FOLDPROT Defines the octal value for default folder-protection. For example, FOLDPROT='"0700"'. The default is "0711". ISI When using "repl -ccme", only "cc:" the first address found which belongs to the user; any other _A_l_t_e_r_n_a_t_e-_M_a_i_l_b_o_x_e_s do not receive "cc:"s. LINK Defines the filename for alternate file name for _d_i_s_t and _r_e_p_l. For example, LINK='"\\043"' to use the pound-sign char- acter. The default is "@". locname Hard-wires the local name for the host _M_H is running on. For example, locname='"PICKLE"'. It's probably better to either let UNIX tell _M_H this information, or to put the information in the host specific mtstailor file. MHE Enables crude support for Brien Reid's MHE interface. Recom- mended for use with the GNU Emacs mh-e package. MHRC Enables _M_H to recognize the _C_S_h_e_l_l's `~'-construct. This is useful for sites that run with a ~/.mhrc for their users. MORE Defines the location of the _m_o_r_e (1) program. For example, on ALTOS and DUAL systems, MORE='"/usr/bin/more"'. The default is "/usr/ucb/more". MSGPROT Defines the octal value for default folder-protection For example, MSGPROT='"0600"'. The default is "0644". NDIR 6 [mh.6] MH MH-GEN(8) For non-Berkeley UNIX systems, this _M_H will try to find the new directory access mechanism by looking in <ndir.h> if this option is given. Otherwise, _M_H will try <ndir.h>. If you still can't get this to work on your system, edit h/local.h as appropriate. NFS Tells _M_H to hack around a problem in the NFS C library. If you get an undefined symbol "ruserpass" when compiling _M_H, you need this option. NOIOCTLH Tells _M_H not to include the file <sys/ioctl.h>. To be used on systems where this file is not present. NOMHSEQ Directs _M_H to make private sequences the default. NTOHLSWAP Tells _M_H to use the ntohl() macro when processing _m_s_h binary map files. _M_H can use this macro on systems with the include file netinet/in.h, to byte-swap the binary information in these map files. If you're using the same map files on machines of different architectures, enable this option. OVERHEAD Enable _M_H commands to read profile/context from open fd:s without doing an open(); see mh-profile(5) for the details. POP2 Have the POP daemon understand the older POP2 protocol as well as the _M_H POP3 protocol - a major win. The POP daemon auto- magically determines which POP protocol your client is using. If you're enabling POP service, there's no reason not to enable this option as well. See also _P_O_P_S_E_R_V_I_C_E. POPSERVICE The port name the _M_H POP will use. For historical reasons, this defaults to "pop". In 1987, the _M_H POP protocol (POP version 3) was published as RFC1081 and was assigned its own port number (110), which differs from the original POP (ver- sion 1 and 2) port number (109). To have _M_H POP use the new assigned port number, set POPSERVICE='"pop3"', and be sure that this service name is listed in your /etc/services file on both POP client and server hosts as "110/tcp". If you enable _P_O_P_2, you can safely leave this undefined unless you are using POP3 clients besides _M_H. RPATHS Directs _i_n_c to note UNIX "From " lines as Return-Path: info. RPOP Enables the RPOP variant of POP, useful only if POP service is enabled. [mh.6] 7 MH-GEN(8) MH SBACKUP Defines the prefix string for backup file names. For example, SBACKUP='"\\043"'. The default is ",". SENDMAILBUG Causes SMTP reply code 451 (failure) to be considered the same as code 250 (OK). Enable this if you know that your SendMail will return this code even when it doesn't mean to indicate a failure. SHADOW Indicates that the encrypted passwords can be found in the /etc/shadow file (and not in the /etc/passwd file). This option should only be used for some (newer) SYSTEM 5 systems. SOCKETS Indicates the availability of a socket interface for TCP/IP networking that is compatible with 4.{2,3}BSD UNIX. It is not necessary to define this when BSD42 is already defined, but it might be useful for SYSTEM 5 or HPUX systems with TCP/IP sock- ets. SUN40 Use on Sun OS 4.0 (and later?) systems. You probably also want "options BSD42", "options BSD43", and "options TYPESIG=void". SYS5 Use on AT&T SYSTEM 5 R3 (and newer?) UNIX systems. See also _m_a_i_l_g_r_o_u_p. SYS5DIR Define this if your system uses "struct dirent" instead of "struct direct". This is true of System V Release 3.0 and later. Uses include file <dirent.h> and the routines _m_k_d_i_r, _r_m_d_i_r and _g_e_t_c_w_d. TTYD Support for TTYD. This is no longer in wide use, and is not recommended. TYPESIG Defines the base type (int or void) of the functions being parameter/return value of _s_i_g_n_a_l (2). The default is int. Set TYPESIG='void' on systems which use this type (e.g., SYS- TEM 5 V3.0 and later or Sun OS 4.0). TZNAME Use time zone names from the _t_z_n_a_m_e variable, set via _t_z_s_e_t. Only applicable on SYSTEM 5 systems and only effective when you have asked for alpha-timezones (see the ATZ option). See also ZONEINFO. UCI 8 [mh.6] MH MH-GEN(8) First, "_" and "#" are recognized as the prefixes for scratch files. Second, support for the UCI group-leadership mechanism is enabled in _c_o_n_f_l_i_c_t. Third, the file $HOME/.signature is considered to contain a single line of text which is used as the _F_u_l_l _N_a_m_e part of your "From:" header. This may conflict with the interpretation of this file by _N_e_w_s. If you're not at UCI, you probably don't want this option. UK Directs the _s_c_a_n program to generate UK-style dates. V7 Use on V7 UNIX systems. Also, be sure to use "options void=int". WP Enables the White Pages service. Contact wpp-manager@psi.com for more information. WHATNOW Enable certain _M_H commands to act differently when $mhdraft set. ZONEINFO Specify this if you have a BSD43 based system that keeps time zone information /etc/zoneinfo or /usr/lib/zoneinfo (SunOS). With this fix the GMT offset specified in outgoing mail will be corrected when the TZ enviornment variable is set to a dif- ferent time zone. See also TZNAME. cc: The name of your C compiler, if not "cc". ccoptions: -O Options given directly to _c_c (1). The most common is "-M" if you're running _M_H on an ALTOS. This defaults to "-O". If you define this and want to keep "-O", be sure to include it expli- citly. curses: -lcurses -ltermlib This should be the loader option required to load the _t_e_r_m_c_a_p (3) and _c_u_r_s_e_s (3) libraries on your system. On SYS5 systems, it prob- ably should be just "-lcurses". Some sites have reported that both "-lcurses" and "-ltermlib" are necessary. ldoptions: Options given directly to _l_d (1) (via _c_c ) at the beginning of the command line. Useful for machines which require arguments to tell _l_d to increase the stack space (e.g. the Gould, which uses "-m 8"). Usually, "-s" is a good choice in any event. ldoptlibs: Options given directly to _l_d (1) (via _c_c ) at the end of the com- mand line. The two most common are: "-ldbm" if you're running MMDF [mh.6] 9 MH-GEN(8) MH with the _d_b_m package; and, "-lndir" if you are generating _M_H on a system which does not load the new directory access mechanism by default (e.g., 4.1BSD, SYS5). If you don't have _l_i_b_n_d_i_r on your system, the sources are in miscellany/libndir/. lex: lex -nt Alternative version of _l_e_x. Used in zotnet/tws/. sprintf: int The return value of the _s_p_r_i_n_t_f library routine. This defaults to "char *". Set this to "int" if you have an older version of SYSTEM 5 which has this routine return an "int" type. sharedlib: off Makes libmh.a into a shared library (only for SunOS 4.0 and later). If you enable this, be sure to use "options SUN40". slibdir: /usr/local/lib The directory where the MH shared library should go. You'll need to manually run _l_d_c_o_n_f_i_g (8) whenever a new shared object is installed on the system. If you want to put it somewhere other than /usr/lib or /usr/local/lib (not advisable), you'll probably have to run _l_d_c_o_n_- _f_i_g (8) on that directory, or alter the environment variable LD_LIBRARY_PATH for each user wishing to use the MH system (this is messy). See _l_d (1) for more information about how to do this. oldload: off Support for the ALTOS loader if "on". Support for loaders not han- dling `-x -r' correctly if "none". ranlib: on Support for systems with _r_a_n_l_i_b (1). For SYSTEM 5 systems, this should be "off" which tells _M_H to use _l_o_r_d_e_r and _t_s_o_r_t instead. Some SYSTEM 5 sites reported that running this isn't always suffi- cient. If this is the case, then you should edit conf/makefiles/uip to include ../sbr/libmh.a and ../zotnet/libzot.a twice in the LIBES variable. tma: off Support for the TTI _t_r_u_s_t_e_d _m_a_i_l _a_g_e_n_t (TMA). Although the TTI TMA is not in the public domain, the _M_H support for the TTI TMA is in the public domain. You should enable this option only if you are licensed to run the TMA software (otherwise, you don't have the software in your _M_H source tree). Now edit conf/config/mtstailor, depending on your choice of the setting for mts in the _M_H configuration file. for an mts setting of "mh", look at the file conf/tailor/mhmts; for an mts setting of "sendmail", "sendmail/smtp", "mmdf/smtp", or "mmdf2/smtp", look at the file conf/tailor/sendmts; and, for an mts setting of "mmdf", or "mmdf2", look at the file conf/tailor/mmdf. 10 [mh.6]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -