On Mon, 5 Oct 2009, W B Hacker wrote: > From: W B Hacker <[email protected]> > To: exim users <[email protected]> > Cc: Ian Eiloart <[email protected]> > Date: Mon, 5 Oct 2009 13:59:32 > Subject: Re: [exim] Exim development
... > There is still a domainkeys lib in ports for that also - same > maintainer, [email protected] > > I haven't checked NetBSD, OpenBSD, DragonFlyBSD, but 'pkgsrc' may > well have the DKIM option also. There's no port of libdkim in the ports system for OpenBSD4.5. A recent ports snapshot doesn't include it, so it looks like it won't be in OpenBSD4.6. Obviously there'll be no libdkim-flavoured version of exim in OpenBSD4.5/6. The above's not a problem. libdkim-1.0.17 won't compile out of the box on OpenBSD4.5. It fails with the error: dkimverify.cpp: In member function `int SelectorInfo::Parse(char*)': dkimverify.cpp:1199: error: invalid conversion from `const unsigned char**' to `unsigned char**' gmake: *** [dkimverify.o] Error 1 (The above is with gcc (GCC) 3.3.5 (propolice), later versions of gcc may be more lenient.) The fix is simple: --- dkimverify.cpp.orig Wed Apr 2 12:42:08 2008 +++ dkimverify.cpp Tue Oct 6 09:49:47 2009 @@ -1196,7 +1196,7 @@ else { unsigned char *PublicKeyData = (unsigned char *)values[4]; - EVP_PKEY *pkey = d2i_PUBKEY(NULL, ((const unsigned char **)(&PublicKeyData)), PublicKeyLen); + EVP_PKEY *pkey = d2i_PUBKEY(NULL, ((unsigned char **)(&PublicKeyData)), PublicKeyLen); if (pkey == NULL) return DKIM_SELECTOR_PUBLIC_KEY_INVALID; so it should be straightforward to build a libdkim-flavoured version of exim from source. -- Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK [email protected] Phone: +44 1225 386101 -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
