2013/9/24 Justin Robinson <dkim-proj...@fluidnotions.com>: > Hi, > I'm integrating an application (which uses Sendmail as MTA, and hybrid > java/python mailing list manager) with apache jdkim. > > Other existing oss libraries (which I'd previously based the app on) seem > to work fine for plain text, but multipart/alternative results in DKIM > result: fail (wrong body hash) > > I see there are no junit tests for content type multipart DKIM only for > it's predecessor DK. > > In org.apache.james.jdkim.impl.Message on line 79 > > ((SingleBody) message.getBody()).getInputStream(); > > However RFC 4871, say that no special processing is required for multipart, > so this cast might be valid. > > I'm debugging and would like to affirm the premiss that pache-jdkim-0.2 for > multipart/* content types is indeed considered functional?
I'm using jDKIM on millions multipart messages and they are correctly signed. You have to make sure the email you give in input have CRLF newline. If you use a different newline it won't work. If you find it doesn't work anyway please povide a failing test case and I will have a look at it. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org