MailingListServer capability.
Requires a configuration element in the config.xml file of the form:
<mailet match="RecipientIs=LIST-ADDRESS" class="AvalonListserv">
<repositoryName>LIST-NAME</repositoryName>
<membersonly>[true|false]</membersonly>
<attachmentsallowed>[true|false]</attachmentsallowed>
<replytolist>[true|false]</replytolist>
<autobracket>[true|false]</autobracket>
<subjectprefix [xml:space="preserve"]>SUBJECT-PREFIX</subjectprefix>
</mailet>
repositoryName - the name of a user repository configured in the
UsersStore block, e.g.,
<repository name="list-name" class="org.apache.james.userrepository.ListUsersJdbcRepository" destinationURL="db://maildb/lists/list-name">
<sqlFile>file://conf/sqlResources.xml</sqlFile>
</repository>
or
<repository name="list-name" class="org.apache.james.userrepository.UsersFileRepository">
<destination URL="file://var/lists/list-name/"/>
</repository>
membersonly - if true only members can post to the list
attachmentsallowed - if false attachments are not allowed
replytolist - if true, replies go back to the list address; if
false they go to the sender.
subjectprefix - a prefix that will be inserted at the front of
the subject. If autobracketing is disabled (see below), the
xml:space="preserve" attribute can be used to precisely control the
prefix.
autobracket - if true the subject prefix will be rendered as
"[PREFIX] ", if false, the prefix will be used literally. |