Sorry, we are still on 2.3 because it works for us and is stable. and haven't had a reason to migrate yet.. (is 3.0 stable?)
Thanks for the link to the code.. We have a requirement for a feature in our non production environment to conditionally send mail out. (so that we don't spam people) We have implemented that by using a series of matchers to set attributes on the message, then only call the mailet that does remote delivery if the attribute is sent. Then everything left over we just send to a repository called "notsent" The testers now want a view of what wasn't sent and who it was slated to go to, to confirm their tests. (all of the recipients on the messages are BCC'ed so from the copy of the message they received, they can not deduce if the system was going to send it to the right set of people) I was thinking i'd build a simple java web page that just had a view of "notsent". Or is there an easier way? Cole On Tue, May 1, 2012 at 3:42 AM, Eric Charles <[email protected]> wrote: > On 04/30/2012 07:16 PM, Cole Ferrier wrote: > >> I was wondering if there is a Java API that i can deserialize the >> FileObjectStore and FileStreamStore files >> >> use case: >> >> 1) conditionally send mail to a repository instead of transmitting it. >> 2) user wants to see what was slated to be sent, and to whom. >> >> > Are you referring to classes from 2.3 version? > > In 3.0, we have http://james.apache.org/**server/3/apidocs/org/apache/** > james/repository/file/**AbstractFileRepository.html<http://james.apache.org/server/3/apidocs/org/apache/james/repository/file/AbstractFileRepository.html>(with > FilePersistentObjectRepository > **, FilePersistentStreamRepository**) > > I'm not sure to understand your usecases, but the conditional access is > already well covered by the mailet/matcher systems. > > If you want to access via java code the mail files of 2.3, you can get > some inspiration from some code we wrote to import James 2.3 mails into > James 3.0 [1] > > > - [1] > > https://svn.apache.org/repos/asf/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/tool/James23Importer.java > > > > ---------------- >> >> On an aside, is there any wrong with using the file repository instead of >> the database connectors? (do we get any extra functionality if we use the >> database connectors?) Our low volume implementation has been in production >> for over two years as is. Our setup allows this filesystem to be presented >> to any individual server, and we can move the IP/DNS entry to it, and >> bring >> it up, without any dependency on any other infrastructure. >> >> > Are you asking for 2.3 or 3.0 server? > Can you also bring more context on your question? > > Cole >> >> > Thx, Eric > -- > eric | http://about.echarles.net | @echarles > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > server-user-unsubscribe@james.**apache.org<[email protected]> > For additional commands, e-mail: > [email protected].**org<[email protected]> > >
