I'm looking for information on any libraries or methods that would help me to build an email archiving system using Ruby (I'm open to other languages if suggested).
The application would need to do the following:
1) Sit on a incoming mail server, receiving and storing all incoming email.
2) After storing email, push it out to our actual email server.
3) The Email archive should be searchable.
Any thoughts on this are appreciated, I can't seem to find an existing project that does this.