I'm very confused. Since I can't seem to find any documentation other than a mailet tag sample in one of the javadocs, I'm completely guessing at what I need to do to get jDKIM installed and running

So I downloaded all the jars and zips as Stephano referenced. I merged all the dups into one subdirectory. For lack of knowledge of anywhere to put them, I unloaded them all to SAR-INF\lib. I copied the mailet tag and still have no clue what all the parameters mean and what I need to change to make them real for my installation. But I started up james and it immediately died saying it couldn't find DKIMSign. The error message listed several paths that it looked in (e.g org.apache.james.mailet., etc.) But it didn't say it was looking in org.apache.james.jdkim.mailets, which is where the class lives. But I don't know how James would have known to look for it by that name. Where was I supposed to tell it that?

I'm not a dummy. I teach java. But I feel like I'm having to be a hacker and reverse engineer this and ultimately just guess at how to install it. Basically, I don't feel like a single sample mailet tag in one javadoc file is anywhere near adequate to instruct me as to how to correctly install, configure and get this package up and running.

1) Where do I put all of the jar files?

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?

3) What is a complete config.xml block for all three of the mailets for both signing and verifying?

I really want to use this package. But I am lost and can find no documentation to help. Am I overlooking something obvious here?

BTW... I'm running james 2.3.1

Thanks.

Jerry

On 8/14/2010 1:18 PM, Jerry M wrote:
 Stephano,

Thanks for the response. I looked at the javadoc for the mailets. Still pretty thin on telling me what I need to do.

On the hudson site, it lists 2 zip files and 7 jar files (including a javadoc "jar"???). Some of the jar files are contained in the bin zip, but not all (??). I know I don't need the src zip. But how many of the other ones do I need to get? And where do I put them in my JAMES installation (what path)? I know I could guess at all of this. But that's just going to waste time.

Then on the mime4j site, there are all kinds of downloads, assembly, DOM, Core, etc. How many of them do I need? (Sorry... I'm a seasoned java programmer, but as far as JAMES goes, I'm just a user. I just want to get the jar files I need, configure the mailets in my config.xml and be up and running. I'm not up to date on the specific terminology for JAMES builds. And I just don't have the bandwidth to jump in blind with trial and error.

I see the example config block for signing. But there are two other mailets. You said in a response earlier today that the 7bit thing had to be in the chain. But in what order and what is the syntax? And what about the 3rd mailet? Where does it go, and what is the syntax?

It appears that this is designed for signing mail. Is there a way to verify DKIM for received mail?

As far as keys, I know my DNS server has a utility to generate private/public key pairs. Is that good enough? (Any key pair?) Or are there restrictions on the types of keys (and if so, where do I go to generate them?)

And the last question deals specifically with DKIM specs. But I don't know where to find info on DKIM... specific question... I believe I need to put my public key in my DNS record, correct? But what is the precise syntax? Or where can I go to find documentation on that?

Sorry for all the questions... But I just need the complete set of steps to get this thing running.

Thanks.

Jerry


On 8/14/2010 12:43 PM, Stefano Bagnara wrote:
2010/8/14 Jerry M<[email protected]>:
  Is there a way to just download the jDKIM package with a jar file,
documentation, etc? Or do I have to set up a build environment and download
the source from the trunk, etc?  I looked on the jDKIM pages on the web
site. There is minimal information that I can find, and even though the sidebar links to the downloads page, I don't see in jDKIM downloads. Is there any documentation on how to install, configure, set up keys, etc. to
make this work?
There are some comments in the javadocs for the Mailets (if you are
using James Server), otherwise you could look at the DKIMSign code to
understand how to use the jdkim library.

You can find nighly builds here:
http://hudson.zones.apache.org/hudson/view/James/job/jdkim-trunk/
and maybe you also need the nightly for mime4j (depending on how you
use the library):
http://hudson.zones.apache.org/hudson/view/James/job/mime4j-trunk/

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]



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

Reply via email to