Thank you so much. Sorry to interrupt your vacation. I made the
changes and got james to load. But if you don't mind, just a couple of
more questions. Basically, the port25.com tester is failing DKIM.
I understand DKIM and private key / public key digital signing at least
in concept. But not down to the details of the individual parameters
and values. But I'm not sure how the algorithms match up. In the
sample you have a=rsa-sha256. I found port25.com that will generate key
pairs. No options on algorithms on the generator. But as part of the
public key dns record it has k=rsa. Do I need to change one or the
other of these to match up? If so, is it acceptable to change a= on the
mailet template to "rsa"? Or do I leave the a= as is on the signer tag
and change the k= in the DNS record? Any other obvious things that might
cause signature verification to fail?
I added the ConvertTo7Bit mailet ahead of DKIMSign. Couldn't find any
info on parameters. So I assume no parms (??)
Finally, what about HeaderSkippingOutputStream mailet? No references to
that. Is that internal? Or do I need to add it to the processor chain
in config.xml?
Thanks again.
Jerry
On 8/15/2010 4:50 PM, Stefano Bagnara wrote:
1) Where do I put all of the jar files?
jamesfolder/apps/james/SAR-INF/lib
2) How do I configure James to tell it how to find DKIMSign and the other
classes that are in the org.apache.james.jdkim packages?
in your config.xml
either you use the fully qualified name for mailet:
org.apache.james.jdkim.mailets.DKIMSign or you add
"org.apache.james.jdkim.mailets" to the "mailetpackages" config.
3) What is a complete config.xml block for all three of the mailets for both
signing and verifying?
jdkim doesn't include a mailet for verification yet. You can see the
DKIMSign configuration sample in the javadoc. You have to understand
how DKIM works in order to put appropriate content in the
"signatureTemplate". It's called "template" because you have to put
there every dkim TAG and leave empty "b" and "bh" tags that will be
filled by the mailet while signing.
Just search the internet for some guide about DKIM (how to generate
key pairs, how to decide dkim flags, and so on).
I really want to use this package. But I am lost and can find no
documentation to help. Am I overlooking something obvious here?
I'm on vacation but I'll try to help.. just try with the hints above
and let me know...
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]