Re: Automatically delete mails in Junk or Trash folder
Benoit TELLIER <[email protected]>
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
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 >