home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / elm / elm2.4 / doc / Config.guid < prev    next >
Encoding:
Text File  |  1993-04-11  |  16.4 KB  |  435 lines

  1. .\" @(#)$Id: Config.guid,v 5.8 1993/04/12 04:00:55 syd Exp $
  2. .\"
  3. .\"  A guide to the ELM alias system and so on.
  4. .\"  format with:
  5. .\"      'troff tmac.n Config.guid > Config.fmtd'
  6. .\"
  7. .\"  (C) Copyright 1986,1987 Dave Taylor
  8. .\"  (C) Copyright 1988-1992 Usenet Community Trust
  9. .\"  Elm is now in the public trust. Bug reports, comments, suggestions, flames
  10. .\"  etc. should go to:
  11. .\"    Syd Weinstein        elm@DSI.COM (dsinc!elm)
  12. .\"
  13. .\"  $Log: Config.guid,v $
  14. .\" Revision 5.8  1993/04/12  04:00:55  syd
  15. .\" remove unused ALIAS parameters
  16. .\"
  17. .\" Revision 5.7  1993/04/12  01:47:45  syd
  18. .\" Update for quotes
  19. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  20. .\"
  21. .\" Revision 5.6  1992/12/24  23:48:05  syd
  22. .\" make Nroff not use co symbol, just the word
  23. .\" From: Syd via request from Tim Pierce
  24. .\"
  25. .\" Revision 5.5  1992/11/27  02:51:18  syd
  26. .\" Make the docs catch up with the code, config.changes -> config.over
  27. .\" From: Syd
  28. .\"
  29. .\" Revision 5.4  1992/11/22  00:49:31  syd
  30. .\" Add support for a "config.over" file to override Configure decisions.
  31. .\" From: chip@chinacat.unicom.com (Chip Rosenthal)
  32. .\"
  33. .\" Revision 5.3  1992/10/24  13:51:44  syd
  34. .\" More typos
  35. .\" From: dwolfe@pffft.sps.mot.com (Dave Wolfe)
  36. .\"
  37. .\" Revision 5.2  1992/10/11  01:15:53  syd
  38. .\" A cleaned up Config.guid follows.  Corrected some spelling errors,
  39. .\" and played with some formatting:
  40. .\" From: David Barr <barr@pop.psu.edu>
  41. .\"
  42. .\" Revision 5.1  1992/10/03  20:51:50  syd
  43. .\" Initial checkin as of 2.4 Release at PL0
  44. .\"
  45. .\"
  46. .\"
  47. .tm Have we been run through "tbl" first?? I hope so!
  48. .po 1i
  49. .ds h0
  50. .ds h1
  51. .ds h2
  52. .ds f0
  53. .ds f1
  54. .ds f2
  55. .nr Hy 1
  56. .nr Pt 1
  57. .nr Pi 0
  58. .lg 0
  59. .nf
  60. .na
  61. .rs
  62. .za
  63. .sp |3.0i
  64. .ce 99
  65. .ps 20
  66. \f3Elm Configuration Guide\f1
  67. .sp 4
  68. .ps 12
  69. .ss 14
  70. .vs 14
  71. \f2How to install and customize the Elm mail system\f1
  72. .sp 3
  73. The Elm Mail System
  74. (Version 2.4)
  75. .sp 2
  76. Syd Weinstein, Elm Coordinator
  77. Datacomp Systems, Inc.
  78. 3837 Byron Road
  79. Huntingdon Valley, PA 19006-2320
  80. .sp
  81. email: elm\s-1@\s+1DSI.COM  or  dsinc\s-1!\s+1elm
  82. .sp |9.0i
  83. \s18\f3\*(ct\f1\s12 Copyright 1986,1987 by Dave Taylor
  84. \s18\f3\*(ct\f1\s12 Copyright 1988-1992 by The USENET Community Trust
  85. .ps 10
  86. .ss 12
  87. .vs 12
  88. .fi
  89. .ad
  90. .bp 1
  91. .fi
  92. .ad
  93. .bp 1
  94. .sv 5v
  95. .ps 14
  96. \f3Elm Configuration Guide\f1
  97. .ds h0 "Elm Configuration Guide
  98. .ds h1
  99. .ds h2 "Version 2.4
  100. .ds f0 "October 1, 1992
  101. .ds f1
  102. .ds f2 "Page %
  103. .sp
  104. .ps 10
  105. .ss 12
  106. .vs 12
  107. (The Elm Mail System, \*(h2)
  108. .sp
  109. \*(f0
  110. .sp 2
  111. .sp 2
  112. Syd Weinstein
  113. Datacomp Systems, Inc.
  114. 3837 Byron Road
  115. Huntingdon Valley, PA 19006-2320
  116. .sp
  117. email: elm\s-1@\s+1DSI.COM  or  dsinc\s-1!\s+1elm
  118. .sp 2
  119. Derived from
  120. \*QThe Elm Mail System, Version 2.0\*U
  121. by
  122. Dave Taylor
  123. Intuitive Systems
  124. Mountain View, California
  125. email: taylor\s-1@\s+1intuitive.com  or  limbo\s-1!\s+1taylor
  126. .ce 0
  127. .sp 3
  128. This document is intended as a supplement to the \f2Elm Users Guide\f1
  129. and \f2Elm Reference Guide\f1
  130. and should be of interest mainly to people at a site installing,
  131. maintaining, and/or modifying the source code to the Elm mail system.
  132. .sp
  133. It is \f2required\f1 that installation be done by using the
  134. \f2Configure\f1 script supplied with the system.  Please see the
  135. file \f2Instruct\f1 for further information on running \f2Configure\f1.
  136. .sp
  137. The remainder of this document discusses the various questions
  138. asked by the \f2Configure\f1 script and the
  139. options available via direct editing of various files and
  140. parameters.  As indicated above, almost all of the sites that install
  141. Elm should find the \f2Configure\f1 script more than
  142. sufficient.
  143. .hu Using \f2Configure\fP
  144.  
  145. \f2Configure\fP is a shell script that automatically determines the
  146. type of system it is running on and tunes the parameters of Elm to fit
  147. that system and its environment.  Where the installer has a choice, it
  148. asks questions of the installer.  \f2Configure\fP provides its own
  149. instructions when run, so they are not repeated here.  However, when
  150. the installer is presented with a choice, this next section explains
  151. some of the options available.  Not all the questions or options to
  152. those questions are explained here.
  153. .sp
  154. .ne 6
  155. \f3Use fcntl style locking?\f1
  156. .br
  157. \f3Use flock style locking?\f1
  158. .br
  159. \f3Use dotlock (.lock) style locking?\f1
  160. .sp
  161. Elm, like all Mail User Agents (MUAs), has times when it needs exclusive
  162. access to the mail spool file.  There are three methods of locking the
  163. mail spool file: \f2.lock\f1 files, \f2fcntl\f1, and \f2flock\f1.
  164. \&\f2.lock\f1 files is the original method,
  165. and is used by MUAs and Mail Transport Agents (MTAs).  Whenever
  166. possible \f2.lock\f1 files should be enabled to assure backwards
  167. compatibility with older MUAs and MTAs.
  168. .sp
  169. BSD systems introduced \f2flock\f1 style locking.  It uses the
  170. \f2flock(2)\f1 system call
  171. to lock the file on the local node.  System V later introduced
  172. \f2fcntl\f1 style locking, which can also use a protocol for remote locking
  173. across the network.  Where both styles are available, it is advisable
  174. to use both, unless you are sure that only one is in use at your site.
  175. Under many System V Release 4 (SVR4) systems, they both use the same underlying
  176. system call (\f2flock\f1 is translated into \f2fcntl\f1 style locking),
  177. so for that version of
  178. .ux ,
  179. \f2flock\f1 is not needed and \f2fcntl\f1 style alone can be used.
  180. .sp
  181. .ne 4
  182. \f3Enable calendar feature?\f1
  183. .sp
  184. Elm has a feature to take specially marked lines within mail messages
  185. and add them to a file for use by the system calendar program.  The
  186. command to do this extraction needs to be enabled to work.  There is
  187. also a follow on question regarding the name of the calendar file:
  188. .sp
  189. .ti .5i
  190. \f3Default calendar file?\f1
  191. .sp
  192. which is usually \f2calendar\f1 on most systems.  This file resides in
  193. the user's home directory, not their \f2.elm\f1 directory.
  194. .sp
  195. .ne 5
  196. \f3Does your /etc/passwd file keep full names in Berkeley/V7 format (name
  197. first thing after \*q:\*u in GCOS field)?\f1
  198. .sp
  199. Elm uses the full name from the password file if it is available.
  200. There are two major ways this name is stored.  Berkeley/V7 systems
  201. place the name as the entire GCOS field string, that is it starts
  202. directly after the \*q:\*u that delimits the fields.  USG (UNIX Systems
  203. Group, or AT&T) systems put the user's name after a department number
  204. and separate it from that number by a hyphen (\*q\-\*u).
  205. The end of the user's full
  206. name in these systems is a \*q(\*u.  Look at your \f2/etc/passwd\f1 file and if
  207. either version applies, answer \f2yes\f1 to this question; if neither
  208. applies, answer \f2no\f1.  Elm can still get the user's name from the
  209. \&\f2.fullname\f1 file in their home directory.
  210. .sp
  211. .ne 6
  212. \f3Every now and then someone has a gethostname()/uname() that lies about
  213. the hostname but can't be fixed for political or economic reasons.
  214. Would you like to pretend gethostname()/uname() isn't there and maybe
  215. compile in the hostname?\f1
  216. .sp
  217. Elm needs to know the correct name of the host on which it is executing
  218. to be able to create the proper headers for the outbound mail.  Some
  219. systems use one name for uucp and another name for the system and
  220. others just don't reply to the subroutines with the proper name.  In
  221. this case it will be necessary to compile in the name.  In all other
  222. cases this should not be needed.  It is provided just in case there is
  223. a problem with your system.
  224. .sp
  225. .ne 4
  226. \f3Honors Content-Length: header?\f1
  227. .sp
  228. Starting with SVR4, many of the MTAs are
  229. binary transparent.  This allows for sending binary messages, such as
  230. encoded voice or graphics.  In doing so, they no longer can tolerate changes in
  231. the message content by the mailers to aid in determining the start of
  232. the next message.  To solve this problem the \f3Content-Length:\f1 header was
  233. added.  Elm generates the \f3Content-Length:\f1 header, but to make full use
  234. of it, Elm should also not escape such sequences as \*QFrom \*U at the
  235. start of a line of the message.  If your MTA (mailer)
  236. does honor the \f3Content-Length:\f1 header for determining the start of the
  237. next message, answer this question \f2yes\f1.
  238. .sp
  239. Along the same lines, but now obsolete and being phased out, is a
  240. problem where an MTA thinks a message is terminated
  241. by a single lone period on a line.  \f2sendmail\f1 has an option to turn off
  242. this behavior and this option is set by default in \f2Configure\f1.  If your
  243. mailer cannot turn off this option, add a line to \f2sysdefs.SH\f1 to define
  244. the symbol \f3NEED_LONE_PERIOD_ESCAPE\f1.  This symbol turns a line with
  245. a lone period into a period and a blank to avoid this problem.
  246. This symbol is ignored if the \*QHonors Content-Length: header?\*U question
  247. is answered \f2yes\f1.
  248. .sp
  249. .ne 4
  250. \f3Does your mailer understand INTERNET addresses?\f1
  251. .sp
  252. Elm works with systems that can process the \*q@\*u character of
  253. Internet format addresses or with the \*q!\*u format of \f2uucp\f1
  254. addresses.  If your MTA understands the \*q@\*u format addresses, they
  255. should be used and this question answered \f2yes\f1.  If messages
  256. bounce when you send them with \*q@\*u format addresses (such as
  257. \*Qelm@dsi.com\*U), then answer this question \f2no\f1.
  258. .sp
  259. .ne 4
  260. \f3Am I going to be running as a setgid program?\f1
  261. .sp
  262. On USG and many other type systems, access to the mailboxes and
  263. the mailbox directory is via the group permissions.  The MUAs,
  264. such as Elm, need write access in this directory to be able
  265. to move the mailbox around for internal editing and to create lock
  266. files.  If the permissions on your mailbox directory are \*Qdrwxrwxr-x\*U
  267. (no write access for \*Qothers\*U),
  268. then Elm needs to be a \f2setgid\f1 program.
  269. .sp
  270. .ne 4
  271. \f3What is the default editor on your system?\f1
  272. .sp
  273. If no editor is specified in the user's \f2.elm/elmrc\f1 file, this is
  274. which editor to use.  The editor is used to compose outbound mail
  275. messages.
  276. .sp
  277. .ne 4
  278. \f3What pager do you prefer to use with Elm?\f1
  279. .sp
  280. This is the standard pager to use for reading messages.  Besides the
  281. usual system pagers, two Elm specific internal options exist: \f2builtin\f1
  282. and \f2builtin+\f1.  The \f2builtin\f1 pager is faster to execute but much less
  283. flexible than the system provided pagers.  The \f2builtin+\f1 pager just clears
  284. the page before displaying the next page, otherwise the two versions
  285. are identical.
  286. .hu Other Configurable Parameters
  287. The following parameters rarely need to be changed, but are provided if
  288. you need them.  \f2Configure\fP does not prompt for their values.  To
  289. change them, edit the \f2hdrs/sysdefs.h\f1 file directly after running
  290. \f2Configure\f1.
  291. .lp MAX_IN_WEEDLIST 1.0i
  292. The maximum number of headers that can be specified in the weedout
  293. list of the \f2.elm/elmrc\f1 file.  A suggested alternative approach if this
  294. number is too small is to specify initial substrings in the file
  295. rather than increasing the number.  For example, say you want to
  296. weedout the headers \*QLatitude:\*U and \*QLatitudinal-Coords:\*U, you
  297. could simply specify \*QLatitud\*U and match them both!  Furthermore
  298. you could also specify headers like \*QX\-\*U and remove all the user
  299. defined headers!
  300. .lp MAX_HOPS 1.0i
  301. When using the \f3group reply\f1 command, this is the maximum number of
  302. hops that a message can have taken.  This is used to try to optimize the
  303. return address (remove cyclic loops and so on) and regular use
  304. should show that the default of 35 is plenty more than you'll
  305. ever need!
  306. .lp system_text_file 1.0i
  307. This is the source text file for the system level aliases.
  308. See either the \f2newalias\f1 man page or \f2The Elm
  309. Alias System Users Guide\f1 for further details.
  310. .lp system_hash_file 1.0i
  311. This is the file that contains the hashed version of the system
  312. aliases generated by \f2newalias\f1.
  313. .lp system_data_file 1.0i
  314. This is the other file the \f2newalias\f1 command installs in the system
  315. alias area and contains the actual addresses for each of the aliases
  316. contained in the hashed data file.
  317. .lp DEBUGFILE 1.0i
  318. The name of the file to put in the user's home directory if they choose to
  319. use the \f3\-d\f1 (\f3debug\f1) option.
  320. .lp OLDEBUG 1.0i
  321. The name of the file to save the previous debug output as (this feature
  322. was added to ensure that users wanting to mail bug reports wouldn't
  323. automatically overwrite the debug log of the session in question).
  324. .lp temp_lock_dir 1.0i
  325. Directory for lock files for XENIX.
  326. .lp temp_file 1.0i
  327. Temporary file for sending outbound messages.
  328. .lp temp_form_file 1.0i
  329. A place to store temporary forms (for Forms Mode) while answering them.
  330. .lp temp_mbox 1.0i
  331. Place to keep a copy of the incoming mailbox to avoid collisions with newer
  332. mail.
  333. .lp temp_print  1.0i
  334. File to use when creating a printout of a message.
  335. .lp temp_edit 1.0i
  336. File to use when editing the mailbox file on XENIX.
  337. .lp temp_uuname 1.0i
  338. Where to redirect output of the \f2uuname\f1 command.
  339. .lp mailtime_file 1.0i
  340. File to compare date to to determine if a given message is new
  341. since the last time the mail was read or not.
  342. .lp readmsg_file 1.0i
  343. File to use when communicating with the \f2readmsg\f1 program (see
  344. that program for more information).
  345. .lp smflags  1.0i
  346. Defines the options to hand to \f2sendmail\f1 if and when the program
  347. chooses to use it.
  348. .lp smflagsv 1.0i
  349. Defines the options to hand to \f2sendmail\f1 in verbose voyeur mode.
  350. .lp mailer 1.0i
  351. If you don't have \f2sendmail\f1, this is the mailer that'll be used.
  352. .lp helpfile 1.0i
  353. The help file name prefix.
  354. .lp ELMRC_INFO 1.0i
  355. The file containing textual messages associated with each
  356. Elm variable setting in the user's \f2.elm/elmrc\f1
  357. file.  This is used when the user chooses to save the
  358. options from within the main program.
  359. .lp elmrcfile 1.0i
  360. The name of the automatic control file within the \f2.elm\f1
  361. directory (by default \f2elmrc\f1).
  362. .lp old_elmrcfile 1.0i
  363. When a new \f2elmrc\f1 file is saved, the old one is also saved by
  364. renaming it to whatever this identifier is set to.
  365. .lp system_rc_file 1.0i
  366. The name of the global \f2elmrc\f1 file (default is \f2$lib/elm.rc\f1).  This
  367. is where the system administrator puts global default values for any
  368. parameters controlled by the \f2.elm/elmrc\f1 file.
  369. .lp mailheaders  1.0i
  370. The name of the optional file that users may have that is
  371. included in the headers of each outbound message.
  372. .lp dead_letter 1.0i
  373. If the user decides not to send a message it is instead saved
  374. to this filename in their home directory.
  375. .lp unedited_mail 1.0i
  376. In the strange case when the mailer suddenly finds all the directories
  377. it uses shut off (like \f2/usr/mail\f1 and \f2/tmp\f1)
  378. then it'll put the current
  379. mailbox into this file in the user's home directory.
  380. .lp newalias 1.0i
  381. How to install new aliases (note that you MUST have the \f3\-q\f1 option!).
  382. .lp readmsg 1.0i
  383. What the \f2readmsg\f1 program is installed as.
  384. .hu Runtime configuration \(em the global \f2$lib/elm.rc\fP file
  385.  
  386. No global default file is provided as part of the installation of
  387. Elm.  If you wish to override any default parameters for all
  388. users, create a file as defined in the \f3system_rc_file\f1 above.  An
  389. easy way to create it is to copy a saved \f2.elm/elmrc\f1 and edit it
  390. to remove all user-specific parameters.  Of particular interest are
  391. three additional parameters you may set: \f3hostdomain\f1, \f3hostfullname\f1,
  392. and \f3hostname\f1.  See \f3String Variables\f1 in section 2
  393. of the \f2Elm Reference Guide\f1 for details on these variables.
  394. .hu When \f2Configure\fP Fails
  395.  
  396. The \f2Configure\f1 script has run successfully tens of thousands of
  397. times.  But maybe your system is the one in ten thousand that will
  398. confuse it.  For example, \f2Configure\f1 assumes that if your system
  399. has a feature it would like, then it should be used.  If vendors never
  400. made mistakes, then that might be a good assumption.  In reality,
  401. \f2Configure\f1 might want to use a feature you'd prefer it didn't.
  402. .sp
  403. When \f2Configure\f1 completes its examination of your system, it
  404. gives you a final chance to make changes.  When \f2Configure\f1 asks
  405. .sp
  406. .ti .5i
  407. \f3If you need to edit config.sh, do it as a shell escape here:\f1
  408. .sp
  409. you may briefly jump out of \f2Configure\f1 to make changes.  For
  410. example, if \f2vi\f1 is your preferred editor, type \f3!vi config.sh\f1.
  411. .sp
  412. Unfortunately, \f2Configure\f1 makes the same mistakes every time it
  413. runs.  This means that if you ever apply updates or changes to the
  414. Elm system and rerun \f2Configure\f1, you will have to manually make
  415. the same configuration changes.  Or more likely, you'll forget that
  416. the changes are required.
  417. .sp
  418. The solution to this problem is to create a \f2config.over\f1 file
  419. in the Elm base directory.  This file may contain any valid \f2sh\f1
  420. commands, and is loaded by \f2Configure\f1 immediately before the
  421. \f2config.sh\f1 file is created.
  422. For example, supposed that \f2Configure\f1 creates a \f2config.sh\f1
  423. file with the definition
  424. .sp
  425. .ti .5i
  426. \f3d_feature=define\f1
  427. .sp
  428. but instead you want it to say
  429. .sp
  430. .ti .5i
  431. \f3d_feature=undef\f1
  432. .sp
  433. All you need to do is create a \f2config.over\f1 file and put that
  434. final line in it.
  435.