users.config 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. # The configuration file for a majordomo mailing list.
  2. # Comments start with the first # on a line, and continue to the end
  3. # of the line. There is no way to escape the # character. The file
  4. # uses either a key = value for simple (i.e. a single) values, or uses
  5. # a here document
  6. # key << END
  7. # value 1
  8. # value 2
  9. # [ more values 1 per line]
  10. # END
  11. # for installing multiple values in array types. Note that the here
  12. # document delimiter (END in the example above) must be the same at the end
  13. # of the list of entries as it is after the << characters.
  14. # Within a here document, the # sign is NOT a comment character.
  15. # A blank line is allowed only as the last line in the here document.
  16. #
  17. # The values can have multiple forms:
  18. #
  19. # absolute_dir -- A root anchored (i.e begins with a /) directory
  20. # absolute_file -- A root anchored (i.e begins with a /) file
  21. # bool -- choose from: yes, no, y, n
  22. # enum -- One of a list of possible values
  23. # integer -- an integer (string made up of the digits 0-9,
  24. # no decimal point)
  25. # float -- a floating point number with decimal point.
  26. # regexp -- A perl style regular expression with
  27. # leading and trailing /'s.
  28. # restrict_post -- a series of space or : separated file names in which
  29. # to look up the senders address
  30. # (restrict-post should go away to be replaced by an
  31. # array of files)
  32. # string -- any text up until a \n stripped of
  33. # leading and trailing whitespace
  34. # word -- any text with no embedded whitespace
  35. #
  36. # A blank value is also accepted, and will undefine the corresponding keyword.
  37. # The character Control-A may not be used in the file.
  38. #
  39. # A trailing _array on any of the above types means that that keyword
  40. # will allow more than one value.
  41. #
  42. # Within a here document for a string_array, the '-' sign takes on a special
  43. # significance.
  44. #
  45. # To embed a blank line in the here document, put a '-' as the first
  46. # and ONLY character on the line.
  47. #
  48. # To preserve whitespace at the beginning of a line, put a - on the
  49. # line before the whitespace to be preserved
  50. #
  51. # To put a literal '-' at the beginning of a line, double it.
  52. #
  53. #
  54. # The default if the keyword is not supplied is given in ()'s while the
  55. # type of value is given in [], the subsystem the keyword is used in is
  56. # listed in <>'s. (undef) as default value means that the keyword is not
  57. # defined or used.
  58. # admin_passwd [word] (users.admin) <majordomo>
  59. # The password for handling administrative tasks on the list.
  60. admin_passwd = users.admin
  61. # administrivia [bool] (yes) <resend>
  62. # Look for administrative requests (e.g. subscribe/unsubscribe) and
  63. # forward them to the list maintainer instead of the list.
  64. administrivia = yes
  65. # advertise [regexp_array] (undef) <majordomo>
  66. # If the requestor email address matches one of these regexps, then
  67. # the list will be listed in the output of a lists command. Failure
  68. # to match any regexp excludes the list from the output. The
  69. # regexps under noadvertise override these regexps.
  70. advertise << END
  71. END
  72. # announcements [bool] (yes) <majordomo>
  73. # If set to yes, comings and goings to the list will be sent to the
  74. # list owner. These SUBSCRIBE/UNSUBSCRIBE event announcements are
  75. # informational only (no action is required), although it is highly
  76. # recommended that they be monitored to watch for list abuse.
  77. announcements = yes
  78. # approve_passwd [word] (users.pass) <resend>
  79. # Password to be used in the approved header to allow posting to
  80. # moderated list, or to bypass resend checks.
  81. approve_passwd = users.pass
  82. # archive_dir [absolute_dir] (undef) <majordomo>
  83. # The directory where the mailing list archive is kept. This item
  84. # does not currently work. Leave it blank.
  85. archive_dir =
  86. # comments [string_array] (undef) <config>
  87. # Comment string that will be retained across config file rewrites.
  88. comments << END
  89. END
  90. # date_info [bool] (yes) <majordomo>
  91. # Put the last updated date for the info file at the top of the
  92. # info file rather than having it appended with an info command.
  93. # This is useful if the file is being looked at by some means other
  94. # than majordomo (e.g. finger).
  95. date_info = yes
  96. # date_intro [bool] (yes) <majordomo>
  97. # Put the last updated date for the intro file at the top of the
  98. # intro file rather than having it appended with an intro command.
  99. # This is useful if the file is being looked at by some means other
  100. # than majordomo (e.g. finger).
  101. date_intro = yes
  102. # debug [bool] (no) <resend>
  103. # Don't actually forward message, just go though the motions.
  104. debug = no
  105. # description [string] (undef) <majordomo>
  106. # Used as description for mailing list when replying to the lists
  107. # command. There is no quoting mechanism, and there is only room
  108. # for 50 or so characters.
  109. description = User Support Mailing List
  110. # digest_archive [absolute_dir] (undef) <digest>
  111. # The directory where the digest archive is kept. This item does
  112. # not currently work. Leave it blank.
  113. digest_archive =
  114. # digest_issue [integer] (1) <digest>
  115. # The issue number of the next issue
  116. digest_issue = 1
  117. # digest_maxdays [integer] (undef) <digest>
  118. # automatically generate a new digest when the age of the oldest
  119. # article in the queue exceeds this number of days.
  120. digest_maxdays =
  121. # digest_maxlines [integer] (undef) <digest>
  122. # automatically generate a new digest when the size of the digest
  123. # exceeds this number of lines.
  124. digest_maxlines =
  125. # digest_name [string] (users) <digest>
  126. # The subject line for the digest. This string has the volume and
  127. # issue appended to it.
  128. digest_name = users
  129. # digest_rm_footer [word] (undef) <digest>
  130. # The value is the name of the list that applies the header and
  131. # footers to the messages that are received by digest. This allows
  132. # the list supplied headers and footers to be stripped before the
  133. # messages are included in the digest. This keyword is currently
  134. # non operative.
  135. digest_rm_footer =
  136. # digest_rm_fronter [word] (undef) <digest>
  137. # Works just like digest_rm_footer, except it removes the front
  138. # material. Just like digest_rm_footer, it is also non-operative.
  139. digest_rm_fronter =
  140. # digest_volume [integer] (1) <digest>
  141. # The current volume number
  142. digest_volume = 1
  143. # digest_work_dir [absolute_dir] (undef) <digest>
  144. # The directory used as scratch space for digest. Don't change
  145. # this unless you know what you are doing
  146. digest_work_dir =
  147. # get_access [enum] (list) <majordomo> /open;closed;list/
  148. # One of three values: open, list, closed. Open allows anyone
  149. # access to this command and closed completely disables the command
  150. # for everyone. List allows only list members access, or if
  151. # restrict_post is defined, only the addresses in those files are
  152. # allowed access.
  153. get_access = open
  154. # index_access [enum] (open) <majordomo> /open;closed;list/
  155. # One of three values: open, list, closed. Open allows anyone
  156. # access to this command and closed completely disables the command
  157. # for everyone. List allows only list members access, or if
  158. # restrict_post is defined, only the addresses in those files are
  159. # allowed access.
  160. index_access = open
  161. # info_access [enum] (open) <majordomo> /open;closed;list/
  162. # One of three values: open, list, closed. Open allows anyone
  163. # access to this command and closed completely disables the command
  164. # for everyone. List allows only list members access, or if
  165. # restrict_post is defined, only the addresses in those files are
  166. # allowed access.
  167. info_access = open
  168. # intro_access [enum] (list) <majordomo> /open;closed;list/
  169. # One of three values: open, list, closed. Open allows anyone
  170. # access to this command and closed completely disables the command
  171. # for everyone. List allows only list members access, or if
  172. # restrict_post is defined, only the addresses in those files are
  173. # allowed access.
  174. intro_access = list
  175. # maxlength [integer] (40000) <resend,digest>
  176. # The maximum size of an unapproved message in characters. When
  177. # used with digest, a new digest will be automatically generated if
  178. # the size of the digest exceeds this number of characters.
  179. maxlength = 50000
  180. # message_footer [string_array] (undef) <resend,digest>
  181. # Text to be appended at the end of all messages posted to the
  182. # list. The text is expanded before being used. The following
  183. # expansion tokens are defined: $LIST - the name of the current
  184. # list, $SENDER - the sender as taken from the from line, $VERSION,
  185. # the version of majordomo. If used in a digest, no expansion
  186. # tokens are provided
  187. message_footer << END
  188. ______________________________________________________________________
  189. User Support Mailing List users@example.com
  190. Automated List Manager (Majordomo) users-request@example.com
  191. END
  192. # message_fronter [string_array] (undef) <resend,digest>
  193. # Text to be prepended to the beginning of all messages posted to
  194. # the list. The text is expanded before being used. The following
  195. # expansion tokens are defined: $LIST - the name of the current
  196. # list, $SENDER - the sender as taken from the from line, $VERSION,
  197. # the version of majordomo. If used in a digest, only the expansion
  198. # token _SUBJECTS_ is available, and it expands to the list of
  199. # message subjects in the digest
  200. message_fronter << END
  201. END
  202. # message_headers [string_array] (undef) <resend,digest>
  203. # These headers will be appended to the headers of the posted
  204. # message. The text is expanded before being used. The following
  205. # expansion tokens are defined: $LIST - the name of the current
  206. # list, $SENDER - the sender as taken from the from line, $VERSION,
  207. # the version of majordomo.
  208. message_headers << END
  209. X-Sender: $SENDER
  210. X-List-Name: $LIST
  211. List-Server: Majordomo [version $VERSION]
  212. List-Owner: <mailto:postmaster@example.com>
  213. List-Post: <mailto:users@example.com>
  214. List-Help: <mailto:majordomo@example.com?body=help>
  215. List-Subscribe: <mailto:majordomo@example.com?body=subscribe%20users>
  216. List-Unsubscribe: <mailto:majordomo@example.com?body=unsubscribe%20users>
  217. END
  218. # moderate [bool] (no) <resend>
  219. # If yes, all postings to the list must be approved by the
  220. # moderator.
  221. moderate = no
  222. # moderator [word] (undef) <resend>
  223. # Send bounces to moderator instead of owner-<listname>
  224. moderator =
  225. # mungedomain [bool] (no) <majordomo>
  226. # If set to yes, a different method is used to determine a matching
  227. # address. When set to yes, addresses of the form user@dom.ain.com
  228. # are considered equivalent to addresses of the form user@ain.com.
  229. # This allows a user to subscribe to a list using the domain
  230. # address rather than the address assigned to a particular machine
  231. # in the domain. This keyword affects the interpretation of
  232. # addresses for subscribe, unsubscribe, and all private options.
  233. mungedomain = no
  234. # noadvertise [regexp_array] (undef) <majordomo>
  235. # If the requestor name matches one of these regexps, then the list
  236. # will not be listed in the output of a lists command. Noadvertise
  237. # overrides advertise.
  238. noadvertise << END
  239. END
  240. # precedence [word] (bulk) <resend,digest>
  241. # Put a precedence header with value <value> into the outgoing
  242. # message.
  243. precedence = bulk
  244. # purge_received [bool] (no) <resend>
  245. # Remove all received lines before resending the message.
  246. purge_received = no
  247. # reply_to [word] () <resend,digest>
  248. # Put a reply-to header with value <value> into the outgoing
  249. # message. If the token $SENDER is used, then the address of the
  250. # sender is used as the value of the reply-to header. This is the
  251. # value of the reply-to header for digest lists.
  252. reply_to = users@example.com
  253. # resend_host [word] (undef) <resend>
  254. # The host name that is appended to all address strings specified
  255. # for resend.
  256. resend_host =
  257. # restrict_post [restrict_post] (undef) <resend>
  258. # If defined, only addresses listed in these files (colon or space
  259. # separated) can post to the mailing list. By default, these files
  260. # are relative to the lists directory. These files are also checked
  261. # when get_access, index_access, info_access, intro_access,
  262. # which_access, or who_access is set to 'list'. This is less useful
  263. # than it seems it should be since there is no way to create these
  264. # files if you do not have access to the machine running resend.
  265. # This mechanism will be replaced in a future version of
  266. # majordomo/resend.
  267. restrict_post = users users.aliases
  268. # sender [word] (owner-sw-nps) <majordomo,resend,digest>
  269. # The envelope and sender address for the resent mail. This string
  270. # has "@" and the value of resend_host appended to it to make a
  271. # complete address. For majordomo, it provides the sender address
  272. # for the welcome mail message generated as part of the subscribe
  273. # command.
  274. sender = owner-users
  275. # strip [bool] (yes) <majordomo>
  276. # When adding address to the list, strip off all comments etc, and
  277. # put just the raw address in the list file. In addition to the
  278. # keyword, if the file <listname>.strip exists, it is the same as
  279. # specifying a yes value. That yes value is overridden by the value
  280. # of this keyword.
  281. strip = yes
  282. # subject_prefix [word] (undef) <resend>
  283. # This word will be prefixed to the subject line, if it is not
  284. # already in the subject. The text is expanded before being used.
  285. # The following expansion tokens are defined: $LIST - the name of
  286. # the current list, $SENDER - the sender as taken from the from
  287. # line, $VERSION, the version of majordomo.
  288. subject_prefix =
  289. # subscribe_policy [enum] (open+confirm) <majordomo> /open;closed
  290. # One of three values: open, closed, auto; plus an optional
  291. # modifier: '+confirm'. Open allows people to subscribe themselves
  292. # to the list. Auto allows anybody to subscribe anybody to the list
  293. # without maintainer approval. Closed requires maintainer approval
  294. # for all subscribe requests to the list. Adding '+confirm', ie,
  295. # 'open+confirm', will cause majordomo to send a reply back to the
  296. # subscriber which includes a authentication number which must be
  297. # sent back in with another subscribe command.
  298. subscribe_policy = open+confirm
  299. # taboo_body [regexp_array] (undef) <resend>
  300. # If any line of the body matches one of these regexps, then the
  301. # message will be bounced for review.
  302. taboo_body << END
  303. END
  304. # taboo_headers [regexp_array] (undef) <resend>
  305. # If any of the headers matches one of these regexps, then the
  306. # message will be bounced for review.
  307. taboo_headers << END
  308. END
  309. # unsubscribe_policy [enum] (open) <majordomo> /open;closed;auto/
  310. # One of three values: open, closed, auto. Open allows people to
  311. # unsubscribe themselves from the list. Auto allows anybody to
  312. # unsubscribe anybody to the list without maintainer approval. The
  313. # existence of the file <listname>.auto is the same as specifying
  314. # the value auto. Closed requires maintainer approval for all
  315. # unsubscribe requests to the list. In addition to the keyword, if
  316. # the file <listname>.closed exists, it is the same as specifying
  317. # the value closed. The value of this keyword overrides the value
  318. # supplied by any existent files.
  319. unsubscribe_policy = open
  320. # welcome [bool] (yes) <majordomo>
  321. # If set to yes, a welcome message (and optional 'intro' file) will
  322. # be sent to the newly subscribed user.
  323. welcome = yes
  324. # which_access [enum] (open) <majordomo> /open;closed;list/
  325. # One of three values: open, list, closed. Open allows anyone
  326. # access to this command and closed completely disables the command
  327. # for everyone. List allows only list members access, or if
  328. # restrict_post is defined, only the addresses in those files are
  329. # allowed access.
  330. which_access = closed
  331. # who_access [enum] (open) <majordomo> /open;closed;list/
  332. # One of three values: open, list, closed. Open allows anyone
  333. # access to this command and closed completely disables the command
  334. # for everyone. List allows only list members access, or if
  335. # restrict_post is defined, only the addresses in those files are
  336. # allowed access.
  337. who_access = closed