Well, I'm not sure exactly how the sar loader works, so I don't really know
why that didn't work.  I would recommend downloading the source for the
version of james you have, then replace the java file, and build.  You will
then have a new SAR file.  This is what I do, and it works fine.

Daniel.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 31 May 2005 13:57
> To: James Users List
> Subject: Re: Mailet, matcher and distribution list
>
>
> I did all you explained, replacing the old .class with the new ones.
> It seems to do not have effect, new fields aren't readed.
> Even I tried to delete the class and the newsletter works again
> following th original rules, thats is very strange.
> Obviously I stoped and started the James each time.
> It seems James have its own classes that have priority on the ones in
> the james.sar inside the apps/james.sar
> Last I want to try to put some logging inside the class, to check if the
> class is loaded, how can I log from inside there?
> Any other suggestion, please?
>
> Regards
>
> Daniel Perry wrote:
>
> >Hah, that's a tricky one. (I normally just rebuild the whole of
> james), then
> >replace james.sar
> >
> >It is in: apps/james.sar
> >
> >a sar file is a jar file, which is a zip file.
> >
> >Inside james.sar, the james class files are in a jar file:
> >SAR-INF/lib/james.jar
> >
> >Hope that makes sense,
> >
> >Daniel.
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >>Sent: 26 May 2005 16:45
> >>To: James Users List
> >>Subject: Re: Mailet, matcher and distribution list
> >>
> >>
> >>Thanks for your reply, one last question;
> >>where have I to place the .class ?
> >>Have I to substitute with old one in the jar archive or there is a
> >>lib/classes folder where I can store it?
> >>
> >>Regards
> >>
> >>
> >>Daniel Perry wrote:
> >>
> >>
> >>
> >>>I added this to the command mail list a while ago, and it was
> commited to
> >>>the subversion repository.
> >>>
> >>>http://svn.apache.org/viewcvs.cgi/*checkout*/james/server/branche
> >>>
> >>>
> >>s/branch_2_
> >>
> >>
> >>>1_fcs/src/java/org/apache/james/transport/mailets/CommandListserv
> >>>
> >>>
> >>Processor.j
> >>
> >>
> >>>ava
> >>>(for v2.1/2 branch)
> >>>
> >>>You'll need to recompile  to use it :) It adds the config
> options below:
> >>>
> >>><specifiedpostersonly>true</specifiedpostersonly>
> >>><allowedposters>
> >>>   <address>[EMAIL PROTECTED]</address>
> >>>   <address>[EMAIL PROTECTED]</address>
> >>>   <address>[EMAIL PROTECTED]</address>
> >>></allowedposters>
> >>>
> >>>Also, see http://issues.apache.org/jira/browse/JAMES-367 for a
> >>>
> >>>
> >>patch which
> >>
> >>
> >>>makes footers optional, and also allows you to modify the to
> >>>
> >>>
> >>address for the
> >>
> >>
> >>>list, so that it appears that the email was sent to a different
> >>>
> >>>
> >>address than
> >>
> >>
> >>>it actually was. I have used this to make a list reply to an
> >>>
> >>>
> >>admin, and also
> >>
> >>
> >>>when moving lists from one server to another - put the list
> >>>
> >>>
> >>temporarily on a
> >>
> >>
> >>>new domain, while the domain records are propergating, and then
> >>>
> >>>
> >>set the new
> >>
> >>
> >>>list to appear as if it was the old domain.
> >>>
> >>>Daniel.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>-----Original Message-----
> >>>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >>>>Sent: 26 May 2005 13:44
> >>>>To: James Users List
> >>>>Subject: Mailet, matcher and distribution list
> >>>>
> >>>>
> >>>>Hi, I activated a mailing list following the Apache James
> user guide and
> >>>>FAQ.
> >>>>All work well, but I prefer to have only one, or at least some users
> >>>>that can write to the distribution list,
> >>>>while for the other the message should going back.
> >>>>
> >>>>Is it possibledoing using the provided mailet, matchers ?
> >>>>Have I to write my own mailet?
> >>>>
> >>>>May someone help me to have the rigth directions to start this job.
> >>>>
> >>>>Thanks
> >>>>
> >>>>
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to