My company is looking at using jforums as an advanced email archival system. We want people to be able to both keep using their current email tools in exactly the same way as they currently are, but also offer the functionality of a forum for those who would want it. Making a forum for each email list, a topic for each thread, and a reply for each message in a thread. This means programatically creating forums, assigning ownership to each forum, then creating topics and adding messages to them programatically as different users depending on who sent the email. We know we need to make an email gateway to receive the email, but we're trying to figure out how, if possible, we can populate the forum with the data. Also, we'll need to programatically add people to be listening to a forum as they subscribe to the mailing list using another tool.
Also, is there any support for expiring data after a certain amount of time? On each forum, I'd like to be able to set a time that when a thread has been quiet for that amount of time, the thread is deleted. [originally posted on jforum.net by xaxxon]
There is a net.jforum.api.integration.mail.pop package that has been around for a few versions. There have been posting here about people using this and the e-mail notification code to link jForum with e-mail lists. AFAIK, the pop package is pretty complete, the documentation is the code and it isn't wrapped into any admin function.
A quick look at the code, seems to indicate it's set up as a Quartz job that can be added to jForum's background job processer. Not sure about the logic of how forums are mapped, etc. (e.g. does it require a single Pop address/mbox for each forum). You'll have to dig around in the code for this.
As to "archiving"/deleting old threads, there is currently nothing built in. However, creating a job to find all topics with the last reply older than a certain date, would seem to be do able. You just need to make sure you update the correct Repostitory (Cache) information when you delete them.
There are probably a lot of "gotcha" cases you will need to determine and test for. E.g., AW: instead of Re: in subject; determining if a new posting should be forwarded to the e-mail list or not (don't want endless e-mail loops....); and the like. [originally posted on jforum.net by monroe]
This will take every ounce of my mental strength! All for a tiny ad: