mlmgr 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. .TH MLMGR 1
  2. .SH NAME
  3. ml, mlmgr, mlowner \- unmoderated mailing lists
  4. .SH SYNOPSIS
  5. .B upas/mlmgr -c
  6. .I listname
  7. .PP
  8. .B upas/mlmgr -ar
  9. .I listname
  10. .I address
  11. .PP
  12. .B upas/ml
  13. .I addressfile
  14. .I listname
  15. .PP
  16. .B upas/mlowner
  17. .I addressfile
  18. .I listname
  19. .SH DESCRIPTION
  20. .I Mlmgr
  21. creates and updates unmoderated mailing lists.
  22. The
  23. .B \-c
  24. option creates mail directories for both
  25. .I listname
  26. and
  27. .IB listname -owner\f1,\fP
  28. each containing a
  29. .B pipeto
  30. file.
  31. Messages mailed to
  32. .I listname
  33. are sent to all members of the mailing list.
  34. Any
  35. .B Reply-to:
  36. and
  37. .B Precedence:
  38. fields are
  39. removed from the messages and new ones are added
  40. directing replies to
  41. .I listname
  42. and specifying bulk precedence. The envelope address for
  43. error replies is set to
  44. .BR /dev/null .
  45. .PP
  46. The mailing list membership is the file
  47. .BR /mail/box/\fIlistname\fP/address-list .
  48. This file is an add/remove log. Each line
  49. represents a single address. Lines beginning
  50. with a hash
  51. .RB ( # )
  52. are comments.
  53. Lines beginning with an exclamation point
  54. .RB ( ! )
  55. are removals.
  56. All other lines are additions.
  57. .PP
  58. Addition and removal entries can be appended using the
  59. .B -a
  60. and
  61. .B -r
  62. options to
  63. .IR mlmgr .
  64. However, they are normally appended as a consequence or
  65. user requests.
  66. .PP
  67. To be added or removed from the list, a user
  68. may send a message to
  69. .IB listname -owner\f1.\fP
  70. containing a key word in
  71. the header or body. The key words are:
  72. .IP
  73. subscribe - add my
  74. .B From:
  75. address to the list
  76. .IP
  77. remove - remove my
  78. .B From:
  79. address from the list
  80. .IP
  81. unsubscribe - remove my
  82. .B From:
  83. address from the list
  84. .PP
  85. Addition and removal events cause notification messages to
  86. be sent to the added/removed address. In the case of
  87. addition, the message describes how to be removed.
  88. .PP
  89. .I Ml
  90. and
  91. .I mlowner
  92. are the programs that receive messages for
  93. .I listname
  94. and
  95. .IB listname -owner
  96. respectively.
  97. Appropriate calls to them are inserted in the
  98. .B pipeto
  99. files created by
  100. .IR mlmgr .
  101. .SH FILES
  102. .TF /mail/box/\fI<listname>\fP/address-list
  103. .TP
  104. .B /mail/box/\fI<listname>\fP
  105. list's mailbox directory
  106. .TP
  107. .B /mail/box/\fI<listname>\fP-owner
  108. owner's mailbox directory
  109. .TP
  110. .B /mail/box/\fI<listname>\fP/address-list
  111. log of mailing list deletions and additions
  112. .SH SOURCE
  113. .TP
  114. .B /sys/src/cmd/upas/ml
  115. .SH "SEE ALSO"
  116. .IR aliasmail (8),
  117. .IR faces (1),
  118. .IR filter (1),
  119. .IR mail (1),
  120. .IR marshal (1),
  121. .IR nedmail (1),
  122. .IR qer (8),
  123. .IR rewrite (6),
  124. .IR send (8),
  125. .IR smtp (8),
  126. .IR upasfs (4)