New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-3400
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Andrew Stevens
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

MessageHandler to delete old messages from POP3 service

Created: 15/Mar/04 05:02 PM   Updated: 15/Mar/04 05:58 PM
Component/s: Services
Affects Version/s: 2.5.1 Enterprise
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Java Source File PurgeHandler.java (1 kB)


Participants: Andrew Stevens
Since last comment: 4 years, 23 weeks, 6 days ago
Labels:


 Description  « Hide
Having successfully got the CVS Log integration working again for the XDoclet JIRA, I noticed that there were a number of mail messages accumulating in the relevant POP3 account. This is because the CVS commit logs are mailed to the developer's mailing list, and the other messages on the list aren't processed by the CVS Log (or any other) MessageHandler. However, the mailbox in question has a 20 Meg limit, and at some point in the future it will start bouncing messages if nothing is done to delete the extra messages. It would be nice, therefore, if there was a MessageHandler which deleted all the messages older than a specified number of days, so I could set up a service to clear out the surplus ones.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Andrew Stevens added a comment - 15/Mar/04 05:58 PM
I think the attached should do this. However, I haven't even compiled it, never mind tested it, as I don't have access to a copy of JIRA (other than as a user). I wrote it based purely on the existing handler code in http://www.atlassian.com/software/jira/docs/v2.5.1/examples/