ottoka opened a new pull request, #1004:
URL: https://github.com/apache/james-project/pull/1004

   As discussed in the Jira ticket, this is my solution for deleting old emails 
form users INBOX. It can work in two ways:
   
   1. Use Expires header in the stored mails:
       POST http://ip:port/mailboxes?task=expireInboxes
   2. Use age relative to time of invocation, e.g. all mails older than 30 days:
       POST http://ip:port/mailboxes?task=expireInboxes&maxAge=30d
   
   Optionally include &usersPerSecond=10 to control execution throttling.
   
   To use variant 1, there is also a new "Expires" Mailet, which can add a 
default expires header, or enforce a min/max time bracket on an existing 
Expires header.
   
   (Also includes a small fix to MessageSearches to respect the zone offset in 
a date-time value.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to