home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / listserv5.31 / part05 < prev    next >
Encoding:
Internet Message Format  |  1991-12-12  |  51.8 KB

  1. Subject: v25i039: listserv5.31 - mailing list management system, Part05/06
  2. Newsgroups: comp.sources.unix
  3. Approved: vixie@pa.dec.com
  4.  
  5. Submitted-By: tasos@cs.bu.edu
  6. Posting-Number: Volume 25, Issue 39
  7. Archive-Name: listserv5.31/part05
  8.  
  9. #! /bin/sh
  10. # This is a shell archive.  Remove anything before this line, then unpack
  11. # it by saving it into a file and typing "sh file".  To overwrite existing
  12. # files, type "sh file -c".  You can also feed this as standard input via
  13. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  14. # will see the following message at the end:
  15. #        "End of archive 5 (of 6)."
  16. # Contents:  doc/server.nr
  17. # Wrapped by vixie@cognition.pa.dec.com on Fri Dec 13 18:31:09 1991
  18. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  19. if test -f 'doc/server.nr' -a "${1}" != "-c" ; then 
  20.   echo shar: Will not clobber existing file \"'doc/server.nr'\"
  21. else
  22. echo shar: Extracting \"'doc/server.nr'\" \(50151 characters\)
  23. sed "s/^X//" >'doc/server.nr' <<'END_OF_FILE'
  24. X
  25. X
  26. X
  27. server(1)                 USER COMMANDS                 server(1)
  28. X
  29. X
  30. X
  31. NNNNAAAAMMMMEEEE
  32. X     start - start/stop the server system
  33. X
  34. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  35. X     ssssttttaaaarrrrtttt [----cccc] [----rrrr] [----kkkk]
  36. X
  37. NNNNAAAAMMMMEEEE
  38. X     serverd - background daemon
  39. X
  40. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  41. X     sssseeeerrrrvvvveeeerrrrdddd [----1111] [----eeee] [----llll llllooooaaaadddd]
  42. X
  43. NNNNAAAAMMMMEEEE
  44. X     list - process a specified discussion list
  45. X
  46. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  47. X     lllliiiisssstttt ----LLLL <LLLLIIIISSSSTTTT____AAAALLLLIIIIAAAASSSS> [----1111] [----eeee] [----ssss] [----pppp] [----mmmm  ####]  [----ffff]  [----vvvv]
  48. X     [----DDDD]
  49. X
  50. NNNNAAAAMMMMEEEE
  51. X     listserv - process requests sent to the server
  52. X
  53. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  54. X     lllliiiissssttttsssseeeerrrrvvvv [----1111] [----eeee] [----nnnn] {[----rrrr <rrrreeeeqqqq>]}* {[----dddd <rrrreeeeqqqq>]}* [----DDDD]
  55. X
  56. OOOOVVVVEEEERRRRVVVVIIIIEEEEWWWW
  57. X     This is a system that implements  various  discussion  lists
  58. X     with  one  list server. It is automated, and obliterates the
  59. X     need for  user  intervention  and  maintenance  of  multiple
  60. X     aliases  of  the form "list, list-owner, list-request", etc.
  61. X     There is support provided  for  archives,  moderated  lists,
  62. X     peer lists, news connections and gateways, and mail queuing.
  63. X
  64. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN:::: ssssttttaaaarrrrtttt
  65. X     _s_t_a_r_t is used to start or stop the  discussion  list  server
  66. X     system.   When  starting  the  system,  any  previous server
  67. X     processes still running are killed, all necessary lock files
  68. X     are  created,  any  previous reports are archived into files
  69. X     with extension ._a_c_c, new files and directories  are  created
  70. X     for  any new discussion lists, and _s_e_r_v_e_r_d is spawned. _s_t_a_r_t
  71. X     reads the _c_o_n_f_i_g file (see below), and should always be  run
  72. X     from the server account (see below).
  73. X
  74. X     The following command line options are recognized:
  75. X
  76. X     -c   Suppress confirmation when killing processes.
  77. X
  78. X     -k   Just kill any old server system processes and exit.
  79. X
  80. X     -r   Restrict reporting to stdout.
  81. X
  82. X
  83. X
  84. X
  85. X
  86. Anastasios Kotsikonas                                          1
  87. X
  88. X
  89. X
  90. X
  91. X
  92. X
  93. server(1)                 USER COMMANDS                 server(1)
  94. X
  95. X
  96. X
  97. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN:::: sssseeeerrrrvvvveeeerrrrdddd
  98. X     _s_e_r_v_e_r_d silently looks for any new  messages  for  the  list
  99. X     server  and  for  any  of the supported discussion lists. It
  100. X     then spawns _l_i_s_t_s_e_r_v and/or _l_i_s_t as  necessary,  and  sleeps
  101. X     until  the  message(s) is (are) processed. _s_e_r_v_e_r_d reads the
  102. X     _c_o_n_f_i_g file (see below).
  103. X
  104. X     The following command line options are recognized:
  105. X
  106. X     -1   Execute only once -- to be used with cron.
  107. X
  108. X     -e   Echo reports to the screen.
  109. X
  110. X     -l load
  111. X          Enforce load restrictions; _s_e_r_v_e_r_d will postpone spawn-
  112. X          ing if the system load is above the limit specified.
  113. X
  114. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN:::: lllliiiisssstttt
  115. X     _l_i_s_t distributes the message(s) sent to _l_i_s_t__a_l_i_a_s@_s_i_t_e; the
  116. X     file ".ignored" in the list's subdirectory is used to filter
  117. X     out any unwanted messages (see below). Messages from  mailer
  118. X     daemons  are  forwarded  to  _m_a_n_a_g_e_r (see description of the
  119. X     _c_o_n_f_i_g file),  whereas  messages  from  non-subscribers  are
  120. X     returned  to  the  original  senders  (the -f flag overrides
  121. X     this). Messages from news groups  are  distributed  only  to
  122. X     local  subscribers  and  peer lists. Messages from peers are
  123. X     distributed to local subscribers and possibly posted to news
  124. X     groups. Finally, messages from local subscribers are distri-
  125. X     buted locally, copies are sent to all peers, and are  possi-
  126. X     bly posted to news groups.
  127. X
  128. X     Email from one or more subscribers may be  selectively  dis-
  129. X     tributed  to an alternate list of recipients, by way of res-
  130. X     tricted mail (see below), in which case  mail  will  not  be
  131. X     distributed to the regular subscribers.
  132. X
  133. X     The following command line options are recognized:
  134. X
  135. X     -L LIST_ALIAS
  136. X          Process  any  messages  sent  to  this  _L_I_S_T__A_L_I_A_S   --
  137. X          list_alias should all be in capital letters.
  138. X
  139. X     -1   Execute only once;  process  the  discussion  list  and
  140. X          return  control  to  _s_e_r_v_e_r_d; any new messages that may
  141. X          have arrived in the meantime will  be  processed  at  a
  142. X          later time. Without this option, _l_i_s_t will be listening
  143. X          for messages for the specified list for ever.
  144. X
  145. X     -e   Echo reports to the screen.
  146. X
  147. X     -s   By default, only subscribers can  send  messages  to  a
  148. X          list. This option turns off checking for subscriptions.
  149. X
  150. X
  151. X
  152. Anastasios Kotsikonas                                          2
  153. X
  154. X
  155. X
  156. X
  157. X
  158. X
  159. server(1)                 USER COMMANDS                 server(1)
  160. X
  161. X
  162. X
  163. X     -p   By default, replies to messages posted to  news  groups
  164. X          go  to  the list; this option forces replies to be for-
  165. X          warded to the original author.
  166. X
  167. X     -m number
  168. X          Normally, each outgoing message has one recipient. This
  169. X          flag  switches to multi-recipient outgoing messages and
  170. X          specifies the _n_u_m_b_e_r of recipients to  be  included  in
  171. X          these messages.
  172. X
  173. X     -f   Forward any messages from non-subscribers  to  _m_a_n_a_g_e_r.
  174. X          By default, they are returned to the sender.
  175. X
  176. X     -v   Print version information.
  177. X
  178. X     -r   Restricted mail: _l_i_s_t will look  at  the  ".restricted"
  179. X          file (see below) to get the name of the alternate reci-
  180. X          pients file. If the sender is  listed  in  that  ".res-
  181. X          tricted"  file,  his  messages  will  be distributed to
  182. X          users listed in the alternate recipients file.
  183. X
  184. X     -D   Turns debugging on. When the _s_y_s_t_e_m mailmethod is used,
  185. X          a copy of the last SMPT transaction can be found in the
  186. X          files /usr/server/sent and /usr/server/received.
  187. X
  188. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN:::: lllliiiissssttttsssseeeerrrrvvvv
  189. X     _l_i_s_t_s_e_r_v processes  user  requests  sent  to  _l_i_s_t_s_e_r_v@_s_i_t_e.
  190. X     Each  request should appear in a separate line with any pos-
  191. X     sible  arguments.   The  file  ".ignored"  is  used  in  the
  192. X     system's home directory to filter out unwanted messages. The
  193. X     sender is notified of the first invalid request; all  subse-
  194. X     quent  requests are ignored. For each successfully completed
  195. X     request, a confirmation is sent back to the sender. _l_i_s_t_s_e_r_v
  196. X     stops reading requests when it encounters the string "--" in
  197. X     a line by itself, which on most systems signifies the  start
  198. X     of  the .signature message.  _l_i_s_t_s_e_r_v reads the _c_o_n_f_i_g file.
  199. X     The following  requests  are  recognized  (requests  may  be
  200. X     abbreviated):
  201. X
  202. X     _h_e_l_p [request]
  203. X          Send a help  message  on  all  valid  requests  or  the
  204. X          selected one only.
  205. X
  206. X     _s_e_t list [option value]
  207. X          Without the  optional  arguments,  return  the  current
  208. X          values  for  all  options  set for _l_i_s_t; otherwise, set
  209. X          subscriber preferences for _l_i_s_t;
  210. X
  211. X          option can be:
  212. X
  213. X            _m_a_i_l: set mail preferences.
  214. X
  215. X
  216. X
  217. X
  218. Anastasios Kotsikonas                                          3
  219. X
  220. X
  221. X
  222. X
  223. X
  224. X
  225. server(1)                 USER COMMANDS                 server(1)
  226. X
  227. X
  228. X
  229. X          value can be:
  230. X
  231. X            _a_c_k: send a copy of the current message to the origi-
  232. X            nal sender.
  233. X
  234. X            _n_o_a_c_k: do not send a copy of the current  message  to
  235. X            the  original  sender.  This is the default for newly
  236. X            subscribed users.
  237. X
  238. X            _p_o_s_t_p_o_n_e: do not send any messages to the  particular
  239. X            subscriber until he changes status again.
  240. X
  241. X     _s_u_b_s_c_r_i_b_e list full_name
  242. X          Subscribe the sender to _l_i_s_t (note, his  email  address
  243. X          is used for subscription, not his _f_u_l_l__n_a_m_e).
  244. X
  245. X     _u_n_s_u_b_s_c_r_i_b_e list
  246. X          Remove the sender from the specified _l_i_s_t.
  247. X
  248. X     _s_i_g_n_o_f_f list
  249. X          Alias of the unsubscribe request.
  250. X
  251. X     _r_e_c_i_p_i_e_n_t_s list
  252. X          Get a list of all subscribers to _l_i_s_t. The  request  is
  253. X          also  forwarded to all peer lists, and the servers han-
  254. X          dling them will respond accordingly.  The user is noti-
  255. X          fied when this request is being forwarded.
  256. X
  257. X     _r_e_v_i_e_w list
  258. X          Alias of the recipients request.
  259. X
  260. X     _i_n_f_o_r_m_a_t_i_o_n list
  261. X          Get an informative message about a particular _l_i_s_t.
  262. X
  263. X     _s_t_a_t_i_s_t_i_c_s list [subscriber email address(es)]
  264. X          Obtain a count of messages sent per subscriber  to  the
  265. X          specified  _l_i_s_t, or by those subscribers given as argu-
  266. X          ment only (wild characters are supported). The  request
  267. X          is  also  forwarded  to  all peer lists and the servers
  268. X          handling them will respond accordingly.   The  user  is
  269. X          notified when this request is being forwarded.
  270. X
  271. X     _l_i_s_t_s
  272. X          Obtain a list of discussion  list  addresses  that  are
  273. X          serviced  by  this  system, with a small description of
  274. X          their purpose.
  275. X
  276. X     _i_n_d_e_x [archive]
  277. X          Obtain an index of files in the specified  _a_r_c_h_i_v_e  (or
  278. X          the  master  archive  if none specified) and all of its
  279. X          subarchives.
  280. X
  281. X
  282. X
  283. X
  284. Anastasios Kotsikonas                                          4
  285. X
  286. X
  287. X
  288. X
  289. X
  290. X
  291. server(1)                 USER COMMANDS                 server(1)
  292. X
  293. X
  294. X
  295. X     _g_e_t archive file [parts]
  296. X          Get the specified _f_i_l_e from the _a_r_c_h_i_v_e given. The file
  297. X          may have been split into smaller parts due to its size,
  298. X          in which case each part will be  sent  in  a  different
  299. X          email  message. If only certain _p_a_r_t_s are desired, they
  300. X          may be given as arguments (numbers, separated by spaces
  301. X          -- ranges are not recognized).
  302. X
  303. X     _r_e_l_e_a_s_e
  304. X          Get information about the current release of this list-
  305. X          serv system.
  306. X
  307. X     The following command line options are recognized:
  308. X
  309. X     -1   Execute only once; process any requests and return con-
  310. X          trol to _s_e_r_v_e_r_d; any new messages that may have arrived
  311. X          in the meantime will be processed at a later time.
  312. X
  313. X     -e   Echo reports to the screen.
  314. X
  315. X     -n   By default, peer servers are notified  upon  _s_t_a_t_i_s_t_i_c_s
  316. X          and  _r_e_c_i_p_i_e_n_t_s requests. The system defines a protocol
  317. X          for avoiding loops only if connected to servers running
  318. X          this  or  a  later  version.   If you detect loops with
  319. X          other servers, you should use this option to  turn  off
  320. X          notification of peer servers.
  321. X
  322. X     -r request
  323. X          Place a restriction on the specified server _r_e_q_u_e_s_t  as
  324. X          outlined  above.   If the number of users on the system
  325. X          at the time the request is about  to  be  processed  is
  326. X          above  the  limit  given  in the _c_o_n_f_i_g file (using the
  327. X          _r_e_s_t_r_i_c_t_i_o_n directive),  the  request  is  rejected  --
  328. X          meant  for requests that may take a considerable amount
  329. X          of resources such as the  _s_t_a_t_i_s_t_i_c_s  request  --  this
  330. X          option may be repeated any number of times.
  331. X
  332. X     -d request
  333. X          Disable _r_e_q_u_e_s_t, i.e. make it totally  unknown  to  the
  334. X          server  --  this  supersedes any _d_i_s_a_b_l_e directives for
  335. X          this request in the _c_o_n_f_i_g file, i.e. this request will
  336. X          not be recognized for any list (see below). This option
  337. X          may be repeated any number of times. However,  help  is
  338. X          still available for that request.
  339. X
  340. X     -D   Turns debugging on. When the _s_y_s_t_e_m mailmethod is used,
  341. X          a copy of the last SMPT transaction can be found in the
  342. X          files /usr/server/sent and /usr/server/received.
  343. X
  344. CCCCOOOONNNNFFFFIIIIGGGG
  345. X     The server system is defined in the _c_o_n_f_i_g file; an  example
  346. X     file  is  provided  with  the  system.  This file is used by
  347. X
  348. X
  349. X
  350. Anastasios Kotsikonas                                          5
  351. X
  352. X
  353. X
  354. X
  355. X
  356. X
  357. server(1)                 USER COMMANDS                 server(1)
  358. X
  359. X
  360. X
  361. X     _s_t_a_r_t, _s_e_r_v_e_r_d, _l_i_s_t  and  _l_i_s_t_s_e_r_v,  and  is  not  a  shell
  362. X     script.  The following keywords are recognized:
  363. X
  364. X     _o_r_g_a_n_i_z_a_t_i_o_n name
  365. X          This defines your organization when posting to news.
  366. X
  367. X     _s_e_r_v_e_r _l_i_s_t_s_e_r_v@site command-line-options
  368. X          This defines the list server; the first argument is the
  369. X          full    email    address    of    the    server   (e.g.
  370. X          listserv@foo.edu) followed by any command line  options
  371. X          to be used (see _l_i_s_t_s_e_r_v above).
  372. X
  373. X     _l_i_s_t list_alias list_alias@site command-line-options
  374. X          This defines a discussion list; the first  argument  is
  375. X          the  list's alias in /etc/aliases, /usr/lib/aliases  or
  376. X          /usr/ucblib/aliases (see below), followed by  its  full
  377. X          email  address, followed by any command line options to
  378. X          be used (see _l_i_s_t above).
  379. X
  380. X     _s_e_r_v_e_r_d command-line-options
  381. X          This defines the command line  options  that  _s_t_a_r_t  is
  382. X          supposed to use when spawning _s_e_r_v_e_r_d.
  383. X
  384. X     _r_e_s_t_r_i_c_t_i_o_n nusers
  385. X          If a restriction is placed on a listserv request (via a
  386. X          -r  command  line  option),  this  request  defines the
  387. X          threshold number of users, above which the  restriction
  388. X          will take effect.
  389. X
  390. X     _d_i_s_a_b_l_e list_alias request
  391. X          The specified server _r_e_q_u_e_s_t is disabled for the speci-
  392. X          fied  list,  and  all  such  requests for this list are
  393. X          rejected. The _l_i_s_t__a_l_i_a_s has to be defined (via a  _l_i_s_t
  394. X          directive) before any requests can be disabled.
  395. X
  396. X     _m_a_n_a_g_e_r email-address@site
  397. X          This defines  the  recipient  of  all  error  messages;
  398. X          _e_m_a_i_l-_a_d_d_r_e_s_s  can  be  any valid user name that can be
  399. X          reached via email by your system.
  400. X
  401. X     _c_o_m_m_e_n_t _s_e_r_v_e_r # Actual comment
  402. X
  403. X     _c_o_m_m_e_n_t list_alias # Actual comment
  404. X          A  'Comment:'  line  is  included  in  every   outgoing
  405. X          list/server  message,  and the text following the pound
  406. X          sign will be copied every time;  note  that  the  pound
  407. X          sign  is  mandatory  for the definition but will not be
  408. X          part of the actual string.  A list's  comment  is  also
  409. X          used  for  the  _l_i_s_t_s request to specify the purpose of
  410. X          the particular discussion list.
  411. X
  412. X     _f_r_e_q_u_e_n_c_y seconds
  413. X
  414. X
  415. X
  416. Anastasios Kotsikonas                                          6
  417. X
  418. X
  419. X
  420. X
  421. X
  422. X
  423. server(1)                 USER COMMANDS                 server(1)
  424. X
  425. X
  426. X
  427. X          How often should _s_e_r_v_e_r_d check for new mail.
  428. X
  429. X     _l_i_m_i_t keyword arguments
  430. X          Used to set certain limits in the  system;  valid  key-
  431. X          words are:
  432. X
  433. X            _m_e_s_s_a_g_e: limit the size of distributed messages to  a
  434. X            certain  number  of bytes, which is the argument fol-
  435. X            lowing this keyword. A notification is sent  back  to
  436. X            the  sender, including the first few lines of his/her
  437. X            original message for reference.
  438. X
  439. X     _o_p_t_i_o_n keyword
  440. X          This defines  a  series  of  system-dependent  options;
  441. X          valid keywords are:
  442. X
  443. X            _s_y_s_v__p_s: the system will use the System V version  of
  444. X            ps.
  445. X
  446. X            _b_s_d__p_s: the system will use the BSD version of ps.
  447. X
  448. X            _b_s_d__m_a_i_l: define it if BSD (UCB) mail is available on
  449. X            your  system;  if  this  is  the case, make sure that
  450. X            /usr/ucb/mail is the path (or a link) to it.
  451. X
  452. X            _b_a_d__t_e_l_n_e_t: if the mail method used  (see  below)  is
  453. X            'telnet'  and  the  system seems to send out only one
  454. X            message and then go to sleep, use this option.
  455. X
  456. X            _p_o_s_t__m_a_i_l: this will force the system  to  post  mes-
  457. X            sages to news groups (using _i_n_e_w_s), using the groups'
  458. X            names (e.g. misc.test)
  459. X
  460. X            _g_a_t_e__m_a_i_l: this will force the system  to  gate  mes-
  461. X            sages to news, using the groups' email addresses.
  462. X
  463. X     _m_a_i_l_m_e_t_h_o_d method [arguments]
  464. X          Every outgoing message should begin with a line of  the
  465. X          form:
  466. X
  467. X            From listserv@site ...
  468. X
  469. X            or
  470. X
  471. X            From list_alias@site ...
  472. X
  473. X          which depends on the mail _m_e_t_h_o_d used:
  474. X
  475. X            _s_y_s_t_e_m: the recommended method; it provides a unified
  476. X            approach  to  sending mail and it has been ported and
  477. X            tested  on  lots  of   systems   (see   the   section
  478. X            PORT SPECIFIC  below).  All  other  mail methods will
  479. X
  480. X
  481. X
  482. Anastasios Kotsikonas                                          7
  483. X
  484. X
  485. X
  486. X
  487. X
  488. X
  489. server(1)                 USER COMMANDS                 server(1)
  490. X
  491. X
  492. X
  493. X            soon become obsolete. In addition, since a  full  set
  494. X            of  the  SMTP  protocol  is  implemented, you will be
  495. X            notified of  invalid  addresses  and  various  system
  496. X            problems.  In addition, mail is queued when it cannot
  497. X            be delivered, in  the  directory  /usr/server/mqueue;
  498. X            see  _q_u_e_u_e(_1)  for more information on how to process
  499. X            the mail queue.
  500. X
  501. X            _t_e_l_n_e_t: to be used only when _s_y_s_t_e_m is inappropriate.
  502. X
  503. X            _e_n_v__v_a_r: usually followed by _L_O_G_N_A_M_E  /_b_i_n/_r_m_a_i_l,  or
  504. X            _L_O_G_N_A_M_E  /_u_s_r/_l_i_b/_s_e_n_d_m_a_i_l  -_b_s (-bs is mandatory) --
  505. X            to be used only when the previous methods  are  inap-
  506. X            propriate.
  507. X
  508. SSSSYYYYSSSSTTTTEEEEMMMM SSSSEEEETTTTUUUUPPPP
  509. X     The server system is installed under the /usr/server  direc-
  510. X     tory, or any other place with /usr/server as a link to it; a
  511. X     _s_e_r_v_e_r user account has to be setup. The  system  should  be
  512. X     installed  and  set  up  using  this  account, and always be
  513. X     started from this account  as  well.   Then,  the  following
  514. X     alias  has  to  be defined in /etc/aliases, /usr/lib/aliases
  515. X     or /usr/ucblib/aliases (depending on your system) for  list-
  516. X     serv:
  517. X
  518. X       listserv: "|/bin/cat >> /usr/server/requests"
  519. X
  520. X     It is important to keep in mind that mailers should  convert
  521. X     any sentences of in-coming messages starting with "From " as
  522. X     their first word, to ">From ". If this is not the case, then
  523. X     you  should  use  the script _r_e_f_o_r_m_a_t in /usr/server as fol-
  524. X     lows:
  525. X
  526. X     listserv: "|/bin/cat | /usr/server/reformat >> /usr/server/requests"
  527. X
  528. X     Special attention has to be paid to directory and file  pro-
  529. X     tections;  on  some  systems sendmail will set uid to server
  530. X     when delivering mail, and in others it  may  not  (it  stays
  531. X     daemon).  The  system  comes  configured with -wx access for
  532. X     all; if your sendmail sets uid then  you  may  remove  these
  533. X     access  permissions. Be advised though that, with these per-
  534. X     missions granted any user may remove the mail files from the
  535. X     lists'  directories,  as  well  as the requests file. It may
  536. X     also help to add server to  the  same  group  that  sendmail
  537. X     belongs to and force sendmail to set uid and gid.
  538. X
  539. X     The server has to be defined in the _c_o_n_f_i_g file by adding  a
  540. X     _s_e_r_v_e_r directive, as well as any other preferences (serverd,
  541. X     restriction, manager,  comment  server,  frequency,  option,
  542. X     mailmethod).   Once  the  system is loaded, you will have to
  543. X     run the script _s_e_t_u_p; this will ensure  that  all  necessary
  544. X     files  and  directories  are  present,  and  have  the right
  545. X
  546. X
  547. X
  548. Anastasios Kotsikonas                                          8
  549. X
  550. X
  551. X
  552. X
  553. X
  554. X
  555. server(1)                 USER COMMANDS                 server(1)
  556. X
  557. X
  558. X
  559. X     permissions. Before starting the system,  you  may  wish  to
  560. X     edit the ".ignored" file in /usr/server.  At this point, you
  561. X     may also wish to alter the help files  in  /usr/server/help;
  562. X     each file in that directory corresponds to one of the recog-
  563. X     nized requests.
  564. X
  565. X     Finally, experiment with the various mail methods  described
  566. X     above,  until  you get the proper "From " line in the begin-
  567. X     ning of the outgoing message; for instance, when listserv is
  568. X     replying  to  a request, you should see something like "From
  569. X     listserv@..." as the first line of the header; or  when  the
  570. X     list  abc  is  distributing  messages, this line should look
  571. X     like "From abc@...". If you cannot get it to work, i.e.  you
  572. X     get something like "From server@..."  then the server system
  573. X     has to run with superuser  privileges.  In  this  case,  the
  574. X     server  userid  should  be  the same as root's. Please, also
  575. X     read the section PORT SPECIFIC below,  for  suggested  mail-
  576. X     methods.  You will not have any of these problems if you use
  577. X     the _s_y_s_t_e_m mailmethod.
  578. X
  579. X     If this part of the setup is not done properly,  peer  lists
  580. X     will  not  work at all and users may not be able to reply to
  581. X     the list. As a final note, if _t_e_l_n_e_t does  not  seem  to  be
  582. X     sending any mail, it is a bug with the telnet implementation
  583. X     on your system: telnet cannot have its input  redirected  or
  584. X     piped, and should be reported to your vendor.
  585. X
  586. AAAADDDDDDDDIIIINNNNGGGG AAAA NNNNEEEEWWWW LLLLIIIISSSSTTTT
  587. X     To add a new list, first shut the system down by executing
  588. X
  589. X       % _s_t_a_r_t -_k
  590. X
  591. X     Then edit the _c_o_n_f_i_g file and add a line  defining  the  new
  592. X     list  --  you may wish to add a comment and/or disable a few
  593. X     requests  also.   A  new  alias  has  to  be   set   up   in
  594. X     /etc/aliases, /usr/lib/aliases or /usr/ucblib/aliases of the
  595. X     following form:
  596. X
  597. X     list_alias: "|/bin/cat >> /usr/server/lists/LIST_ALIAS/mail"
  598. X
  599. X     Note that _l_i_s_t__a_l_i_a_s is all lower case and _L_I_S_T__A_L_I_A_S is all
  600. X     upper  case.  Also keep in mind the case of reformating mes-
  601. X     sages as described above.  Finally, restart the  system.  At
  602. X     this     point,     the     file     ".ignored"    in    the
  603. X     /usr/server/lists/LIST_ALIAS directory may be edited to  add
  604. X     more unwanted senders. You should also edit the files ".wel-
  605. X     come" and ".info" in the list's subdirectory; The former  is
  606. X     included  in  the  return  message  for  a  new subscription
  607. X     request for that list, and the latter  is  included  in  the
  608. X     return message for an _i_n_f_o_r_m_a_t_i_o_n request for that list.
  609. X
  610. X
  611. X
  612. X
  613. X
  614. Anastasios Kotsikonas                                          9
  615. X
  616. X
  617. X
  618. X
  619. X
  620. X
  621. server(1)                 USER COMMANDS                 server(1)
  622. X
  623. X
  624. X
  625. AAAADDDDDDDDIIIINNNNGGGG AAAA PPPPEEEEEEEERRRR LLLLIIIISSSSTTTT
  626. X     Peer lists are discussion  lists  that  happen  to  be  sub-
  627. X     scribers  to  one or more of your own discussion lists; they
  628. X     handle local distribution of messages just like  you  do  at
  629. X     your own site. Peer lists can be mutual subscribers, so that
  630. X     a message originating in a peer list gets  distributed  over
  631. X     there  locally,  and  a  copy is sent to the other for local
  632. X     distribution, and vice versa. An automatic mechanism is pro-
  633. X     vided  for  avoiding  loops.   A peer list can be added to a
  634. X     local discussion list by using the script _p_e_e_r:
  635. X
  636. X     peer <LIST_ALIAS> <remote alias> <peer address> <remote listserv address>
  637. X
  638. X     where  _L_I_S_T__A_L_I_A_S  is a local list alias in capital letters,
  639. X     _r_e_m_o_t_e _a_l_i_a_s is the peer's  alias  on  the  remote  machine,
  640. X     _p_e_e_r _a_d_d_r_e_s_s  is taken from the first line of a test message
  641. X     sent to the server by the peer (the first line may be  some-
  642. X     thing  like:  "From peer@foo ..." -- see also the discussion
  643. X     about aliases below),  and  _r_e_m_o_t_e _l_i_s_t_s_e_r_v _a_d_d_r_e_s_s  is  the
  644. X     full  email  address  of  the remote server that handles the
  645. X     remote peer.  Peer lists should make sure that only  one  of
  646. X     them  posts  to the same news group(s), and that only one of
  647. X     them    receives    articles    from    the    same     news
  648. X     group(s)/gateway(s).   Lists handled by the same server can-
  649. X     not be mutual peers. Finally, peer lists should not be regu-
  650. X     lar  subscribers  (the  _p_e_e_r  script  places  them in a file
  651. X     called ".peers").
  652. X
  653. PPPPEEEEEEEERRRR SSSSEEEERRRRVVVVEEEERRRRSSSS
  654. X     The only feature currently available is  the  forwarding  of
  655. X     any  _r_e_c_i_p_i_e_n_t_s  and _s_t_a_t_i_s_t_i_c_s requests to the servers han-
  656. X     dling peer lists.
  657. X
  658. NNNNEEEEWWWWSSSS GGGGRRRROOOOUUUUPPPPSSSS AAAANNNNDDDD GGGGAAAATTTTEEEEWWWWAAAAYYYYSSSS
  659. X     A discussion list may be linked with one or more news groups
  660. X     (or  gateways)  from which it may receive messages for local
  661. X     distribution, and/or send messages to the  newsgroup(s)  for
  662. X     posting  --  in  this  case  only messages from regular sub-
  663. X     scribers are sent for posting, i.e. no news messages will be
  664. X     posted  to  any  news  groups (or gateways). A news group or
  665. X     gateway is linked using the script _n_e_w_s:
  666. X
  667. X        news <LIST_ALIAS> <news group> <email address> <mode>
  668. X
  669. X     where _L_I_S_T__A_L_I_A_S is a local list alias (in capital  letters)
  670. X     that  is  being  linked to the news group, _n_e_w_s _g_r_o_u_p is the
  671. X     name of  the  news  group  (used  only  when  posting)  e.g.
  672. X     misc.test,  _e_m_a_i_l _a_d_d_r_e_s_s  is the address of the backbone or
  673. X     moderator of the news group, or the gateway, and it is taken
  674. X     from  the first line of a test message sent to the server by
  675. X     the group (the first  line  may  be  something  like:  "From
  676. X     xxx@foo  ..."  --  see  also  the  discussion  about aliases
  677. X
  678. X
  679. X
  680. Anastasios Kotsikonas                                         10
  681. X
  682. X
  683. X
  684. X
  685. X
  686. X
  687. server(1)                 USER COMMANDS                 server(1)
  688. X
  689. X
  690. X
  691. X     below); _m_o_d_e is one of the following:
  692. X
  693. X     receive
  694. X          The list will only be receiving messages from this news
  695. X          group  and  never post to it. This allows access to the
  696. X          group (or gateway) to send articles to the list.
  697. X
  698. X     send_receive
  699. X          The list may  be  receiving  messages  from  this  news
  700. X          group, and it will post to it any messages from regular
  701. X          subscribers and peer lists (messages from  news  groups
  702. X          are  never  posted  to  other  news  groups). This also
  703. X          allows access to the group (or gateway) to  send  arti-
  704. X          cles to the list.
  705. X
  706. X     Of course, the news group's caretaker has to be notified  of
  707. X     the  list's  address so that articles will indeed be sent to
  708. X     it. Finally, news groups should not be  regular  subscribers
  709. X     (the _n_e_w_s script places them in a file called ".news").
  710. X
  711. X     If the config option _p_o_s_t__m_a_i_l is used, the system will  use
  712. X     _i_n_e_w_s  for  posting,  and  it assumes that the path to it is
  713. X     /usr/lib/news/inews, so make sure that _i_n_e_w_s resides  there,
  714. X     or  a  link  exists to it. In this case, the group's name is
  715. X     used for posting (e.g. misc.test). If instead  _g_a_t_e__m_a_i_l  is
  716. X     defined, messages will be sent via email to news gateways --
  717. X     the _n_e_w_s _g_r_o_u_p name has no significance in this case.
  718. X
  719. MMMMOOOODDDDEEEERRRRAAAATTTTEEEEDDDD LLLLIIIISSSSTTTTSSSS
  720. X     The above mechanism can be slightly modified  for  moderated
  721. X     lists by simply changing a list's alias slightly:
  722. X
  723. X     list_alias: "|/bin/cat >> /usr/server/lists/LIST_ALIAS/moderated"
  724. X
  725. X     _l_i_s_t distributes messages from a file called _m_a_i_l; by having
  726. X     incoming  messages redirected to the file _m_o_d_e_r_a_t_e_d, you may
  727. X     edit them (login as server) and save  the  interesting  ones
  728. X     under _m_a_i_l.
  729. X
  730. MMMMAAAAIIIILLLL LLLLOOOOOOOOPPPPSSSS
  731. X     The system uses the following  protocol  for  avoiding  mail
  732. X     loops  between a list and news connections: In the header of
  733. X     the outgoing message an "Originator: " field is  added.  For
  734. X     each  list  plus  listserv,  a  log of the most recent (500)
  735. X     Message-Id's is kept.  Whenever a message is  received,  the
  736. X     Originator, Reply-To and Message-Id fields are extracted and
  737. X     looked up in the ".ignored" and ".message.ids" files in  the
  738. X     list's  subdirectory.  Gateways  that  feed back to the list
  739. X     should preserve at least the Reply-To and Message-Id fields.
  740. X     The  Originator  and Message-Id fields are preserved by this
  741. X     system. A new Reply-To is tacked on when redistributing mail
  742. X     locally from a peer or a news feed.
  743. X
  744. X
  745. X
  746. Anastasios Kotsikonas                                         11
  747. X
  748. X
  749. X
  750. X
  751. X
  752. X
  753. server(1)                 USER COMMANDS                 server(1)
  754. X
  755. X
  756. X
  757. X     To avoid mail loops when  forwarding  listserv  requests  to
  758. X     peers,  the system is looking up the Message-Id field in the
  759. X     ".message.ids" file in /usr/server.  If this  field  is  not
  760. X     preserved  by  the  peer  listserv,  I  suggest you turn off
  761. X     request forwarding when connecting with peers served by such
  762. X     systems,  until  a unified approach is taken. The Message-Id
  763. X     field is preserved by this listserv.  This  system  is  also
  764. X     using  a special Subject field, totally proprietary and non-
  765. X     standard,  in  order  to  avoid  unnecessary  forwarding  of
  766. X     requests, thus cutting down on email traffic.
  767. X
  768. X....IIIIGGGGNNNNOOOORRRREEEEDDDD
  769. X     As described before, the system's home directory as well  as
  770. X     every  list's  subdirectory contains a ".ignored" file which
  771. X     is used to filter out messages sent by  certain  users.  The
  772. X     default file contains entries for root, server, bin, sys and
  773. X     uucp; you may wish to add an entry for every list alias that
  774. X     is  defined  on  your  system. A list's ".ignored" file also
  775. X     contains an entry of its alias and full  email  address,  as
  776. X     well the server account's full email address.
  777. X
  778. RRRREEEESSSSTTTTRRRRIIIICCCCTTTTEEEEDDDD MMMMAAAAIIIILLLL
  779. X     When the -r flag  is  used  with  _l_i_s_t,  for  every  message
  780. X     received  its  sender  is  checked  against  a list of "res-
  781. X     tricted" email addresses, in the file ".restricted"  in  the
  782. X     list's  directory -- a subset of the ".subscribers" file. If
  783. X     a match is found, mail is forwarded to the people listed  in
  784. X     the file following this email address. If no match is found,
  785. X     the message is distributed to the regular subscribers.  Note
  786. X     that  the  alternate  recipients  file should be in the same
  787. X     format as the ".subscribers".
  788. X
  789. X....SSSSUUUUBBBBSSSSCCCCRRRRIIIIBBBBEEEERRRRSSSS
  790. X     The format is as follows:
  791. X
  792. X     One entry per line; each entry is the full email address  of
  793. X     the  subscriber as it appears in the "From " field, followed
  794. X     by the word "ACK" (in which case  his/her  message  will  be
  795. X     sent  back  to  him/her  as an acknowledgement) "NOACK" (the
  796. X     opposite), or POSTPONE (no mail will be sent until the  user
  797. X     changes mode again), followed by the subscriber's name.
  798. X
  799. X....RRRREEEESSSSTTTTRRRRIIIICCCCTTTTEEEEDDDD
  800. X     The format is as follows:
  801. X
  802. X     One entry per line; each entry is the full email address  of
  803. X     the   subscriber,  followed  by  a  file  name  where  email
  804. X     addresses of recipients are listed (just like in the  ".sub-
  805. X     scribers" file). Example:
  806. X
  807. X     tasos@bucsf.bu.edu  /usr/server/lists/LIST_ALIAS/.recipients
  808. X
  809. X
  810. X
  811. X
  812. Anastasios Kotsikonas                                         12
  813. X
  814. X
  815. X
  816. X
  817. X
  818. X
  819. server(1)                 USER COMMANDS                 server(1)
  820. X
  821. X
  822. X
  823. X     If the recipient file given is the word "NONE", then no  one
  824. X     will receive any messages.
  825. X
  826. X....AAAALLLLIIIIAAAASSSSEEEESSSS
  827. X     It   is    possible    that    a    subscriber's/peer's/news
  828. X     group's/gateway's  email  may  arrive using a different path
  829. X     than registered, which may  raise  subscription  issues.  To
  830. X     work  around  this,  each list provides a ".aliases" file in
  831. X     its  subdirectory,  which  may   contain   alternate   email
  832. X     addresses  to  be  used  when checking for subscription. The
  833. X     format is one line per alias with the following information:
  834. X
  835. X                 alias_address address_as_subscribed
  836. X
  837. X     Please note that only the subscribed  address  is  used  for
  838. X     sending  out email.  If someone is experiencing subscription
  839. X     problems,  you  may  wish  to  add  their  alternate   email
  840. X     address(es) in this file. This includes regular subscribers,
  841. X     news groups, peers and gateways.  If the sender  is  also  a
  842. X     restricted subscriber, do not forget to put another entry in
  843. X     ".restricted" with the new alternate address.
  844. X
  845. CCCCOOOOMMMMMMMMUUUUNNNNIIIICCCCAAAATTTTIIIINNNNGGGG
  846. X     Users send requests to _l_i_s_t_s_e_r_v@_s_i_t_e and public messages  to
  847. X     the various _l_i_s_t__a_l_i_a_s@_s_i_t_e.
  848. X
  849. AAAARRRRCCCCHHHHIIIIVVVVEEEESSSS
  850. X     The server has an archiving capability of files; there is  a
  851. X     master  archive  in  /usr/server/archives/listserv where all
  852. X     subarchives are defined. The archives keep  lists  of  files
  853. X     that  are available to users via a _g_e_t request, and index of
  854. X     subarchives  that  are  available  to  users  via  an  _i_n_d_e_x
  855. X     request.  The  archived  files may not necessarily reside in
  856. X     the archive directories, as long as the archives know  where
  857. X     they  are  located.  See  the man page for _f_a_r_c_h(_1) for more
  858. X     information.
  859. X
  860. RRRREEEEPPPPOOOORRRRTTTTSSSS
  861. X     All programs report to their own files; these are:
  862. X
  863. X     /usr/server/.report.start: generated by _s_t_a_r_t every time the
  864. X     system is started.
  865. X
  866. X     /usr/server/.report.daemon: messages from _s_e_r_v_e_r_d every time
  867. X     new mail has arrived.
  868. X
  869. X     /usr/server/.report.server:  messages  from  _l_i_s_t_s_e_r_v  every
  870. X     time new requests are processed.
  871. X
  872. X     /usr/server/.report.list:  error  messages  from  _l_i_s_t  when
  873. X     attempting to process public messages.
  874. X
  875. X
  876. X
  877. X
  878. Anastasios Kotsikonas                                         13
  879. X
  880. X
  881. X
  882. X
  883. X
  884. X
  885. server(1)                 USER COMMANDS                 server(1)
  886. X
  887. X
  888. X
  889. X     /usr/server/lists/LIST_ALIAS/.report.list:   messages   from
  890. X     _l_i_s_t when processing public messages.
  891. X
  892. X     /usr/server/.*.acc: accumulated reports since the system was
  893. X     first installed.
  894. X
  895. X     /usr/server/lists/*/.*.acc:  accumulated  reports  for  each
  896. X     discussion list.
  897. X
  898. X     Every report includes a time stamp; every  list  and  server
  899. X     report  also  includes the actual sender of the message, and
  900. X     every server  report  includes  all  requests  made  by  the
  901. X     sender.
  902. X
  903. X     Whenever a program dies abnormally (and BSD mail is present)
  904. X     a  message  is  sent  to _m_a_n_a_g_e_r (as defined in _c_o_n_f_i_g). The
  905. X     message is usually sent by _s_e_r_v_e_r_d  which  then  exits.  The
  906. X     daemon  dies  with a different message according to the exit
  907. X     status of the child; the various error conditions  that  may
  908. X     occur are:
  909. X
  910. X     Could not open file
  911. X          /usr/server is not a valid path; file was  accidentally
  912. X          deleted;  insufficient access privileges. Run setup and
  913. X          _s_t_a_r_t.
  914. X
  915. X     Could not lock file
  916. X          /usr/server is not a valid path; file was  accidentally
  917. X          deleted;  insufficient  access privileges; another pro-
  918. X          gram is using the lock file. Run tlock, and  if  neces-
  919. X          sary, ulock; then _s_t_a_r_t.
  920. X
  921. X     Command line option error
  922. X          Check the _c_o_n_f_i_g file and restart.
  923. X
  924. X     Syntax error in file
  925. X          Check _c_o_n_f_i_g,  all  reports,  .subscriber,  .peers  and
  926. X          .news files.
  927. X
  928. X     Could not spawn
  929. X          No more processes.
  930. X
  931. X     Received system signal
  932. X          SIGHUP, SIGQUIT, SIGTERM, SIGBUS, SIGSEGV.
  933. X
  934. XFFFFIIIILLLLEEEESSSS
  935. X     /usr/server/.awk
  936. X          awk program for formating the _s_t_a_t_i_s_t_i_c_s request.
  937. X
  938. X     /usr/server/.grep
  939. X          script used for counting the number of messages sent by
  940. X          a subscriber.
  941. X
  942. X
  943. X
  944. Anastasios Kotsikonas                                         14
  945. X
  946. X
  947. X
  948. X
  949. X
  950. X
  951. server(1)                 USER COMMANDS                 server(1)
  952. X
  953. X
  954. X
  955. X     /usr/server/.ignored
  956. X          List of unwanted senders.
  957. X
  958. X     /usr/server/.lock.list
  959. X          Lock file for _l_i_s_t.
  960. X
  961. X     /usr/server/.lock.server
  962. X          Lock file for _l_i_s_t_s_e_r_v.
  963. X
  964. X     /usr/server/.lock.serverd
  965. X          Lock file for _s_e_r_v_e_r_d.
  966. X
  967. X     /usr/server/.message.ids
  968. X          A database of recent message id's used to  detect  mail
  969. X          loops.
  970. X
  971. X     /usr/server/.rep.server.acc
  972. X          Archived _l_i_s_t_s_e_r_v messages.
  973. X
  974. X     /usr/server/.rep.serverd.acc
  975. X          Archived _s_e_r_v_e_r_d messages.
  976. X
  977. X     /usr/server/.rep.start.acc
  978. X          Archived _s_t_a_r_t messages.
  979. X
  980. X     /usr/server/.report.daemon
  981. X          Current _s_e_r_v_e_r_d messages.
  982. X
  983. X     /usr/server/.report.list
  984. X          Error messages from _l_i_s_t.
  985. X
  986. X     /usr/server/.report.server
  987. X          Current _l_i_s_t_s_e_r_v messages.
  988. X
  989. X     /usr/server/.report.start
  990. X          Last _s_t_a_r_t action (system started or shut down).
  991. X
  992. X     /usr/server/.stats
  993. X          Script used for the _s_t_a_t_i_s_t_i_c_s request.
  994. X
  995. X     /usr/server/config
  996. X          The configuration file.
  997. X
  998. X     /usr/server/farch
  999. X          File archiving utility.
  1000. X
  1001. X     /usr/server/list
  1002. X          The discussion list program.
  1003. X
  1004. X     /usr/server/listserv
  1005. X          The system's server.
  1006. X
  1007. X
  1008. X
  1009. X
  1010. Anastasios Kotsikonas                                         15
  1011. X
  1012. X
  1013. X
  1014. X
  1015. X
  1016. X
  1017. server(1)                 USER COMMANDS                 server(1)
  1018. X
  1019. X
  1020. X
  1021. X     /usr/server/mbox
  1022. X          An archive of all requests sent to date to listserv.
  1023. X
  1024. X     /usr/server/news
  1025. X          Script used to add a news group to a list.
  1026. X
  1027. X     /usr/server/peer
  1028. X          Script used to add a peer list.
  1029. X
  1030. X     /usr/server/queue
  1031. X          The mail queue processing program.
  1032. X
  1033. X     /usr/server/queued
  1034. X          The mail queue processing daemon.
  1035. X
  1036. X     /usr/server/reformat
  1037. X          Script used to reformat in-coming messages.
  1038. X
  1039. X     /usr/server/received
  1040. X          File containing a debug log of the last message distri-
  1041. X          buted when using the 'system' mail method.
  1042. X
  1043. X     /usr/server/requests
  1044. X          Newly arrived user requests.
  1045. X
  1046. X     /usr/server/sent
  1047. X          File containing a debug log of the last message distri-
  1048. X          buted when using the 'system' mail method.
  1049. X
  1050. X     /usr/server/serverd
  1051. X          The system's daemon.
  1052. X
  1053. X     /usr/server/setup
  1054. X          Setup script.
  1055. X
  1056. X     /usr/server/start
  1057. X          The system's housekeeping program.
  1058. X
  1059. X     /usr/server/tlock
  1060. X          Checks for any locked files.
  1061. X
  1062. X     /usr/server/archives/listserv/INDEX
  1063. X          The master archive index.
  1064. X
  1065. X     /usr/server/archives/listserv/DIR
  1066. X          Directory  of  all  files  available  from  the  master
  1067. X          archive (listserv).
  1068. X
  1069. X     /usr/server/doc/server.nr
  1070. X          This man page.
  1071. X
  1072. X     /usr/server/doc/farch.nr
  1073. X
  1074. X
  1075. X
  1076. Anastasios Kotsikonas                                         16
  1077. X
  1078. X
  1079. X
  1080. X
  1081. X
  1082. X
  1083. server(1)                 USER COMMANDS                 server(1)
  1084. X
  1085. X
  1086. X
  1087. X          Man page for the _f_a_r_c_h utility.
  1088. X
  1089. X     /usr/server/help/*
  1090. X          General and topic-specific help files available upon  a
  1091. X          _h_e_l_p request.
  1092. X
  1093. X     /usr/server/lists/LIST_ALIAS/.aliases
  1094. X          Aliases of email addresses of subscribers.
  1095. X
  1096. X     /usr/server/lists/LIST_ALIAS/.headers
  1097. X          An archive of who sent each message.
  1098. X
  1099. X     /usr/server/lists/LIST_ALIAS/.ignored
  1100. X          A list of unwanted senders.
  1101. X
  1102. X     /usr/server/lists/LIST_ALIAS/.info
  1103. X          Text sent upon an _i_n_f_o_r_m_a_t_i_o_n request.
  1104. X
  1105. X     /usr/server/lists/LIST_ALIAS/.message.ids
  1106. X          A database of recent message id's used to  detect  mail
  1107. X          loops.
  1108. X
  1109. X     /usr/server/lists/LIST_ALIAS/.news
  1110. X          A list of all news groups connected to this alias.
  1111. X
  1112. X     /usr/server/lists/LIST_ALIAS/.peers
  1113. X          A list of all peer  lists  for  this  discussion  list,
  1114. X          along with the email addresses of their servers.
  1115. X
  1116. X     /usr/server/lists/LIST_ALIAS/.rep.list.acc
  1117. X          Archived messages from _l_i_s_t.
  1118. X
  1119. X     /usr/server/lists/LIST_ALIAS/.report.list
  1120. X          Current messages from _l_i_s_t.
  1121. X
  1122. X     /usr/server/lists/LIST_ALIAS/.restricted
  1123. X          List of subscribers with alternate recipient files.
  1124. X
  1125. X     /usr/server/lists/LIST_ALIAS/.subscribers
  1126. X          A list of all subscribers along with preferences.
  1127. X
  1128. X     /usr/server/lists/LIST_ALIAS/.welcome
  1129. X          Text sent on a _s_u_b_s_c_r_i_b_e request.
  1130. X
  1131. X     /usr/server/lists/LIST_ALIAS/mail
  1132. X          Newly arrived public messages to be distributed.
  1133. X
  1134. X     /usr/server/lists/LIST_ALIAS/mbox
  1135. X          An archive of all messages sent to date.
  1136. X
  1137. X     /usr/server/lists/LIST_ALIAS/moderated
  1138. X          Newly arrived public messages that need  to  be  edited
  1139. X
  1140. X
  1141. X
  1142. Anastasios Kotsikonas                                         17
  1143. X
  1144. X
  1145. X
  1146. X
  1147. X
  1148. X
  1149. server(1)                 USER COMMANDS                 server(1)
  1150. X
  1151. X
  1152. X
  1153. X          before distributed.
  1154. X
  1155. X     /usr/server/mqueue/*
  1156. X          Queued messages for later delivery.
  1157. X
  1158. UUUUPPPPGGGGRRRRAAAADDDDIIIINNNNGGGG
  1159. X     When upgrading, it is not necessary to remove  your  current
  1160. X     system.  In addition, if you are upgrading from:
  1161. X
  1162. X     5.2  Use the _s_y_s_t_e_m mailmethod.
  1163. X
  1164. X             For    every    list    you     need     to     edit
  1165. X          /usr/server/lists/LIST_ALIAS/.ignored  and add one more
  1166. X          entry: the full email address of the server account.
  1167. X
  1168. X     5.0, 5.1
  1169. X          For     every     list     you     need     to     edit
  1170. X          /usr/server/lists/LIST_ALIAS/.ignored   and   add   two
  1171. X          entries: the actual list  alias,  and  the  full  email
  1172. X          address of this list.
  1173. X
  1174. X          _n_e_v_e_r_a_c_k is not a valid mail mode anymore. Change every
  1175. X          occurrence in ".subscribers" to NOACK, for every list.
  1176. X
  1177. X          Any peer lists and/or news groups appearing  in  ".sub-
  1178. X          scribers"  should  be  removed;  use  the _p_e_e_r and _n_e_w_s
  1179. X          scripts to put them back.
  1180. X
  1181. X          _s_e_r_v_e_r_d, _l_i_s_t and _l_i_s_t_s_e_r_v  no  longer  report  to  the
  1182. X          stdout by default -- use the -e command line option.
  1183. X
  1184. PPPPOOOORRRRTTTT SSSSPPPPEEEECCCCIIIIFFFFIIIICCCC
  1185. X     Starting with this version, a universal mailmethod is intro-
  1186. X     duced:  _s_y_s_t_e_m; It should be used in every system, as it has
  1187. X     been verified to work on all systems below. Soon, all  other
  1188. X     mailmethods will be rendered obsolete.
  1189. X
  1190. X     IBM Risc
  1191. X          You should use _s_y_s_v__p_s as an option in the _c_o_n_f_i_g file,
  1192. X          and use the cc compiler (neither xlc nor c89). You have
  1193. X          to use _s_y_s_t_e_m as the mailmethod.  Messages  distributed
  1194. X          to  local  subscribers on the system may see their mes-
  1195. X          sages arrive "From root...", but all other  subscribers
  1196. X          in  the  outside  world  will  see  "From listserv@..."
  1197. X          and/or "From list@..." which is the correct header.  If
  1198. X          you   use   _e_n_v__v_a_r _L_O_G_N_A_M_E /_b_i_n/_r_m_a_i_l   instead,   the
  1199. X          behavior will be reversed.  _t_e_l_n_e_t may not be used as a
  1200. X          mailmethod.
  1201. X
  1202. X     SGI  You have to use the _s_y_s_t_e_m mailmethod.  All  Irix  ver-
  1203. X          sions  to date seem to have a serious problem with tel-
  1204. X          net (it corrupts file  descriptors).  Use  the  _s_y_s_v__p_s
  1205. X
  1206. X
  1207. X
  1208. Anastasios Kotsikonas                                         18
  1209. X
  1210. X
  1211. X
  1212. X
  1213. X
  1214. X
  1215. server(1)                 USER COMMANDS                 server(1)
  1216. X
  1217. X
  1218. X
  1219. X          option.   You  have to use the _s_t_d_s utility before com-
  1220. X          piling.
  1221. X
  1222. X     SUN  _s_y_s_t_e_m and _t_e_l_n_e_t work fine as  mailmethods.   Use  the
  1223. X          _b_s_d__p_s  option.  The  server  user id should not be the
  1224. X          same as root's. You have to use the _s_t_d_s utility before
  1225. X          compiling.   If you use the native cc compiler you will
  1226. X          need to convert to old-C (by using the unproto system);
  1227. X          otherwise gcc can be used.
  1228. X
  1229. X     DECstations
  1230. X          You have to use _s_y_s_t_e_m as the mailmethod;  if  you  use
  1231. X          _t_e_l_n_e_t  instead,  you  may  have  to use the _b_a_d__t_e_l_n_e_t
  1232. X          option; _b_s_d__p_s should be used. Ultrix 3.0 has  lots  of
  1233. X          system  bugs  and  you may experience strange behavior;
  1234. X          upgrade to 4.*.   Depending  on  which  DECstation  you
  1235. X          have,  you may have to use the _s_t_d_s utility before com-
  1236. X          piler and/or convert to old-C.
  1237. X
  1238. X     Convex
  1239. X          You have to use _s_y_s_t_e_m as the  mailmethod;  all  others
  1240. X          misbehave.   You  have  to  use the _s_t_d_s utility before
  1241. X          compiling.
  1242. X
  1243. X     Stardent GS series
  1244. X          _s_y_s_t_e_m and _t_e_l_n_e_t work fine as  mailmethods.   Use  the
  1245. X          _s_y_s_v__p_s option.
  1246. X
  1247. X     Stardent Titan series
  1248. X          _s_y_s_t_e_m  and  _e_n_v__v_a_r _L_O_G_N_A_M_E /_b_i_n/_r_m_a_i_l  work  fine  as
  1249. X          mailmethods.  Use the _s_y_s_v__p_s option.
  1250. X
  1251. LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS
  1252. X     - Up to 10 discussion lists can be  supported  (configurable
  1253. X     in /usr/server/src/defs.h).
  1254. X
  1255. RRRREEEEQQQQUUUUIIIIRRRREEEEMMMMEEEENNNNTTTTSSSS
  1256. X     The $path for the server account should include  all  neces-
  1257. X     sary  paths  to cut(1), paste(1), awk(1), grep(1), uptime(1)
  1258. X     and telnet(1).  In addition,  uptime(1)  should  report  the
  1259. X     number  of users and the system load; otherwise _s_e_r_v_e_r_d can-
  1260. X     not be run with the -l option, and _l_i_s_t_s_e_r_v  cannot  be  run
  1261. X     with the -r option. The output from uptime should look like:
  1262. X
  1263. X     12:45pm up 5 days, 16 mins, 4 users, load average: 0.00, ...
  1264. X     Also,  make  sure  that  when  posting,  /usr/lib/news/_i_n_e_w_s
  1265. X     exists  either  as  itself  or  as  a link to wherever _i_n_e_w_s
  1266. X     resides.
  1267. X
  1268. BBBBUUUUGGGGSSSS
  1269. X     uptime
  1270. X          When user  and  load  restrictions  are  enforced,  the
  1271. X
  1272. X
  1273. X
  1274. Anastasios Kotsikonas                                         19
  1275. X
  1276. X
  1277. X
  1278. X
  1279. X
  1280. X
  1281. server(1)                 USER COMMANDS                 server(1)
  1282. X
  1283. X
  1284. X
  1285. X          system  assumes  that  uptime outputs a line similar to
  1286. X          the one shown above, in which the number  of  users  is
  1287. X          the  third column (columns are separated by commas) and
  1288. X          the load average is the fourth column. The  problem  is
  1289. X          that  on  a  system  that has been up for less than one
  1290. X          day, uptime will report the  number  of  users  in  the
  1291. X          second  column,  and  the  load  average  in  the third
  1292. X          column. In this case, such restrictions should  not  be
  1293. X          enforced.
  1294. X
  1295. X     blanks
  1296. X          Although the system handles email addresses with blanks
  1297. X          in  them  fairly  well,  _s_t_a_t_i_s_t_i_c_s, _r_e_c_i_p_i_e_n_t_s and _s_e_t
  1298. X          _l_i_s_t requests will show  erroneous  results  for  these
  1299. X          users.
  1300. X
  1301. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  1302. X     farch(1), queue(1)
  1303. X
  1304. AAAAUUUUTTTTHHHHOOOORRRR
  1305. X     Anastasios C. Kotsikonas, Boston University.
  1306. X     Copyright (c) 1991, Anastasios Kotsikonas
  1307. X     Comments to tasos@cs.bu.edu
  1308. X
  1309. X
  1310. X
  1311. X
  1312. X
  1313. X
  1314. X
  1315. X
  1316. X
  1317. X
  1318. X
  1319. X
  1320. X
  1321. X
  1322. X
  1323. X
  1324. X
  1325. X
  1326. X
  1327. X
  1328. X
  1329. X
  1330. X
  1331. X
  1332. X
  1333. X
  1334. X
  1335. X
  1336. X
  1337. X
  1338. X
  1339. X
  1340. Anastasios Kotsikonas                                         20
  1341. X
  1342. X
  1343. X
  1344. END_OF_FILE
  1345. echo shar: 2932 control characters may be missing from \"'doc/server.nr'\"
  1346. if test 50151 -ne `wc -c <'doc/server.nr'`; then
  1347.     echo shar: \"'doc/server.nr'\" unpacked with wrong size!
  1348. fi
  1349. # end of 'doc/server.nr'
  1350. fi
  1351. echo shar: End of archive 5 \(of 6\).
  1352. cp /dev/null ark5isdone
  1353. MISSING=""
  1354. for I in 1 2 3 4 5 6 ; do
  1355.     if test ! -f ark${I}isdone ; then
  1356.     MISSING="${MISSING} ${I}"
  1357.     fi
  1358. done
  1359. if test "${MISSING}" = "" ; then
  1360.     echo You have unpacked all 6 archives.
  1361.     rm -f ark[1-9]isdone
  1362. else
  1363.     echo You still need to unpack the following archives:
  1364.     echo "        " ${MISSING}
  1365. fi
  1366. ##  End of shell archive.
  1367. exit 0
  1368.