Hi Michael,

You can use a custom mailet (you need to develop it) to encrypt incoming mails before they arrive in the mail repository.

For the decryption part when a user consults his mailbox via pop3/imap4, there is no mailet equivalent... For James 3, you could overwrite (develop your own) org.apache.james.pop3server.core.CoreCmdHandlerLoader defined in pop3server.xml, and org.apache.james.imap.processor.main.DefaultImapProcessorFactory defined in spring-beans.xml.
I'm not sure how to do it in James 2.3, except hacking James internals.

Maybe someone else has other ideas?

Tks,

Eric


On 30/09/2010 16:02, Michael Fielding wrote:
Is there a convenient way to encrypt mail BEFORE it goes to the mail repository, and to decrypt it on the way back out?

We are building a high security service and I envisage a separate database server. I would like to encrypt data BEFORE it goes to that server, so that the database can be managed by someone else (and in fact, to lock us out of general access).

Note that I'm not talking about encrypting the link to the database, that is secured already.

Many thanks,

Michael Fielding
read4sure Ltd.


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

Reply via email to