Actually I modified the mailet to handle dynamic list handling. I would be
more than happy if my works can be integrated into James. I am new to open
source development, should I send you the code?

In config.xml

<mailet match="IsMailingList=mailinglists" class="MyListServ">
    <repositoryName>mailinglists</repositoryName>
    <membersonly>false</membersonly>
    <attachmentsallowed>true</attachmentsallowed>
    <replytolist>true</replytolist>
    <autobracket>true</autobracket>
    <subjectprefix>SUBJECT-PREFIX</subjectprefix>
</mailet>

where mailinglists is the repository

<repository name="mailinglists"
class="org.apache.james.mailinglistrepository.MailingListsJdbcRepository"
destinationURL="db://maildb/mailinglists">
    <sqlFile>file://conf/sqlResources.xml</sqlFile>
</repository>

----- Original Message -----
From: "Noel J. Bergman" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 7:57 AM
Subject: RE: AvalonListserv / AvalonListservManager problem


> Chris,
>
> > if I just update the table "lists" with a new email address,
> > do I need to restart James? Tracing through the code, seems
> > to me that it grabs the members in init(), but not in service,
>
> You've read the code wrong.  All that AvalonListserv does is provide an
> implementation of getMembers().  GenericListserv calls getMembers() on the
> second line of the service method.
>
> > Another shortcoming is that ...
>
> All of those items, and more, are on the To-do list.  The current list
> management code is extremely primitive.
>
> --- Noel
>
>
> --
> To unsubscribe, e-mail:
<mailto:james-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:james-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:james-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>

Reply via email to