Hi,
A Java update seems to introduce an incompatibility between the current
release of djigzo and the java runtime.
Under certain circumstances messages can no longer be decrypted and
error like the following will be shown in the MPA log:
(mitm.application.djigzo.james.mailets.SMIMEHandler) [Spool Thread #3]
java.lang.ClassCastException:
com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeMultipart cannot
be cast to javax.mail.Multipart
at mitm.common.mail.PartScanner.scanMultipart(PartScanner.java:145)
at mitm.common.mail.PartScanner.scanPart(PartScanner.java:116)
at mitm.common.mail.PartScanner.scanPart(PartScanner.java:95)
If you have this problem with your djigzo gateway you can install the
following fix (the upcoming release will have this fix in place)
Download the following tar file
http://www.djigzo.com/downloads/mailcap.tar.gz
The tar contains the following 3 files:
static-mailcap.jar
activate-staticmailcap.xml
mailcap
Installation steps:
1. untar the file to a temp folder
2. move static-mailcap.jar to /usr/share/djigzo/lib/lib.d/
3. move activate-staticmailcap.xml to
/usr/share/djigzo/conf/spring/spring.d/
4. move mailcap to /usr/share/djigzo/conf
5. restart djigzo
In the djigzo log you should see the following line during startup:
Setting StaticMailcapCommandMap as the default CommandMap. Loading
mailcap definitions from conf/mailcap
This indicates that the fix is activated.
This should fix the problem.
Kind regards,
Martijn Brinkers
--
DJIGZO email encryption
_______________________________________________
Users mailing list
[email protected]
https://lists.djigzo.com/lists/listinfo/users