You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by "Noel J. Bergman" <no...@devtech.com> on 2003/02/08 23:04:07 UTC
RE: AvalonListserv / AvalonListservManager problem
Chris,
I don't know how this slipped through the cracks, but if you are interested
in helping out on the list server code, please join the james-dev mailing
list. We'd be happy to have you help on the code. :-)
--- Noel
-----Original Message-----
From: Christopher Cheng [mailto:mailing-list@chrisshare.net]
Sent: Thursday, November 07, 2002 8:00
To: James Users List
Cc: noel@devtech.com
Subject: Re: AvalonListserv / AvalonListservManager problem
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" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
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: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org