<commit_before><?xml version="1.0"?>
<document>
 <properties>
  <title>James 2.1 - Creating Mailing Lists</title>
 </properties>
<body>

<section name="How To Create Mailing Lists">
<p>One of the frequent questions on the James-User Mailing List is how
to create a mailing list. This document explains one way of using the
currently supplied Matchers and Mailets in James v2.1.</p>

<p>Basically, the process requires creating two &lt;mailet&gt; entries
and a repository.  The first mailet handles list commands (currently
only <i>list-name</i>-on and <i>list-name</i>-off).  The second mailet
handles list messages.  The repository will hold the e-mail addresses
of list subscribers.</p>

<p>The mailets go into the processor chain (e.g., at the top of the
<i>transport</i> processor, the last one goes into the
&lt;users-store&gt; block.</p>

<subsection name="Setting up the Mailets">

<p>You need to setup two mailets.</p>

<p>The first mailet that you need to setup is an instance of the <a
href="provided_mailets_2_1.html#AvalonListservManager">Avalon Listserv<commit_msg>Corrected nonsensical sentence from a bad cut and paste<commit_after><?xml version="1.0"?>
<document>
 <properties>
  <title>James 2.1 - Creating Mailing Lists</title>
 </properties>
<body>

<section name="How To Create Mailing Lists">
<p>One of the frequent questions on the James-User Mailing List is how
to create a mailing list. This document explains one way of using the
currently supplied Matchers and Mailets in James v2.1.</p>

<p>Basically, the process requires creating two &lt;mailet&gt; entries
and a repository.  The first mailet handles list commands (currently
only <i>list-name</i>-on and <i>list-name</i>-off).  The second mailet
handles list messages.  The repository will hold the e-mail addresses
of list subscribers.</p>

<p>The mailets go into the processor chain (e.g., at the top of the
<i>transport</i> processor), the repository goes into the
&lt;users-store&gt; block.</p>

<subsection name="Setting up the Mailets">

<p>You need to setup two mailets.</p>

<p>The first mailet that you need to setup is an instance of the <a
href="provided_mailets_2_1.html#AvalonListservManager">Avalon Listserv
{'fraction_non_alphanumeric': 0.10313493866424353, 'fraction_numerical': 0.007269422989550204, 'mean_word_length': 4.919354838709677, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 2, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4531084', 'n_tokens_mistral': 714, 'n_tokens_neox': 692, 'n_words': 282}