Hi Benoit, It takes time to learn Apache James for specific configuration with business need because some features such as ExpireMailboxTask has not been clearly declared on James website. There are no document mentioned about its parameters.
Does Cassandra Guice James store emails, folders out of database? I want to make sure about this to work directly in database, meaning I have to implement a Microservice to automatically delete old messages in specific folders. A hard way! Why? Best regards, Huy Van Vào 22:26, T.4, 1 Th3, 2023 Benoit TELLIER <btell...@apache.org> đã viết: > Hello Huy, > > > Does James allow to automatically delete emails in Junk or Trash > folder after a period? > > No so far we do not have such features but they are easy to write with a > custom route. > > I can provide technical assistance in doing so if you need it. > > ExpireMailboxTask exposes similar feature, where all the content older > than a given date gets destroyed after some time accross all accounts > and flders. you might want to take a look at it. > > > How to configure it without a hard method like Cron Jobs? > > Apache James do not have an internal scheduling components and likely > won't (distributed scheduling is a hard problem that can easily be > solved by sys-admin / ops eg that is natively supported on Kubernetes. > > Best regards, > > Benoit TELLIER > > On 01/03/2023 14:12, Huy Van wrote: > > Hi, > > > > Does James allow to automatically delete emails in Junk or Trash folder > > after a period? How to configure it without a hard method like Cron Jobs? > > > > Best regards, > > Huy Van > >