From: Murray S. K. <ms...@se...> - 2007-05-04 02:20:24
|
A new version of dkim-milter is now available for download from SourceForge. This version contains a few bug fixes, but more importantly includes a much cleaner build system and a large set of unit tests to verify that libdkim is working properly. In addition, five FFR features are now live code, plus the first of several important feature requests which will move libdkim toward multiple signature support has been added. The build now uses a common m4 file at devtools/Site/site.config.m4 to contain your configuration for the entire package rather than having you make module-specific edits in each of their Makefile.m4 files. If you have any custom hacks in those files for your current version, you'll have to massage them into the master site.config.m4 file, but hopefully this process will be fairly self-explanatory. A file called site.config.m4.dist is included in the top-level build directory to use as a template. When you have it how you want it, simply move or copy it to devtools/Site/site.config.m4 and do "sh Build" from the top-level build directory. The nice thing about this approach is that you can copy this site.config.m4 file from release to release, generally without any modifications to any other files in the package, and it will build the new package the same way your old one was built. To run the self-tests on libdkim, run "sh Build check" from inside the libdkim directory. There are currently 42 tests plus two fake tests which actually set up and then clean up the test environment. I'll be adding more as time goes on to make sure the library is fully exercised. If you have any test cases or suggestions for test cases you'd like to see added, let me know. The formal release notes entry: 0.7.0 2007/05/03 Several more fixes in _FFR_STATS related to DB versions. LIBDKIM: Add support for optional callbacks to do key and policy lookups using an API provided by the caller rather than using DNS directly. New functions dkim_set_key_lookup() and dkim_set_policy_lookup() set these callbacks. Also add dkim_getdomain() and dkim_getselector() utility functions so those callbacks can extract the data required to make the queries. Note that these will probably change slightly when support for multiple signatures is finally added. Suggested by James Sargent of AOL. LIBDKIM: Fix bug #SF1708756: Set dkim_partial earlier during signing so that the "l=" portion is included in the canonicalized signature header. Reported by Andrey Chernov. LIBDKIM: Algorithm and initialization fixes in policy retrieval found by the new unit tests. LIBDKIM: Several more fixes in _FFR_QUERY_CACHE related to DB versions. LIBDKIM: Fix bug #SF1706248: Rewrite dkim_getidentity() so it returns a more sane value for the sender in all cases. Another utility function will be added later for obtaining the signer's identity. Reported by Andrey Chernov. BUILD: Overhaul the build scripts so that all the user editing is done in devtools/Site/site.config.m4 rather than in each individual directory's Makefile.m4. Include a template for this purpose. BUILD: Begin a collection of automated unit tests. Activate the following FFRs: _FFR_LOG_SSL_ERRORS _FFR_MULTIPLE_KEYS _FFR_OMIT_HEADERS _FFR_QUERY_FILE _FFR_SET_DNS_CALLBACK (Feature request #SF1473171) Please use the trackers and mailing lists on SourceForge to report problems or make comments or other suggestions. -- Murray S. Kucherawy ========================================= ms...@se... Senior Software Engineer Sendmail, Inc. Emeryville, CA, USA (510) 594-5400 http://www.sendmail.com |