Getting DKIM working
Sir Dotcom <[email protected]>
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've gotten to the point where I need DKIM so I followed the HowTo on the James page. Generating the keys and putting the one in DNS was easy. The tough part is I keep having James crash when I have the mailetcontainer.xml code in there. I've tried removing the "BEGIN' and 'END' RSA lines but no difference. I tried pushing the keys over a few spaces to the right but every time I start James it crashes. I take it out, it works fine. Here is my snippet (which is just a copy/paste of what is in the howto:) <processor state="relay" enableJmx="true"> <mailet match="All" class="org.apache.james.jdkim.mailets.DKIMSign"> <signatureTemplate>v=1; s=sirjames; d=myrealdomain.net ; h=from : reply-to : subject : date : to : cc : resent-date : resent-from : resent-sender : resent-to : resent-cc : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; a=rsa-sha256; bh=; b=;</signatureTemplate> <privateKey> -----BEGIN RSA PRIVATE KEY----- =======KEY=========== -----END RSA PRIVATE KEY----- </privateKey> </mailet> </processor> Has anyone had trouble with this? Regards, Steve