You saved my time since I didn't see this document before. Yes, dealing
with James underling data is not best practice. Apache James has powerful
components and is the heart of business email logic.

Thank you, Benoit.

Vào 00:34, T.5, 2 Th3, 2023 Benoit TELLIER <btell...@apache.org> đã viết:

>
> On 02/03/2023 00:27, Huy Van wrote:
> > 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.
>
> https://james.staged.apache.org/james-distributed-app/3.7.3/operate/webadmin.html#_deleting_old_messages_of_all_users
> >
> > 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?
> There are clearly better alternatives than the ones you propose.
>
> Eg contribute these featrues upstream. Or implement them as extensions.
>
> Dealing manually with James underlying data is strongly not advised!
> Write an extension using the MailboxManager API if needed, cf
>
> https://github.com/apache/james-project/tree/master/examples/custom-webadmin-route
>
> Best regards,
>
> Benoit
> >
> > 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
> >>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
>
>

Reply via email to