-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Mar 04, 2008 at 12:29:59PM -0800, Janet N wrote:
> Hi there,
>
> I'm in need of a quick answer how to run sendmail/dkim milter using
> openssl 0.9.7 which does not support Sha256. I'm getting the following
> error when starting dkim:
A better route to take IMHO is to build a custom local version of
openssl and then configure dkim-milter to use that version instead of
the 0.9.7 libs that the distro provides.
1. Build a local openssl:
Extract the source, cd into the source base directory.
./config shared zlib no-idea no-mdc2 no-rc5 no-ec no-ecdh no-ecdsa no-krb5
make depend
make all build-shared
make rehash build-shared
LD_LIBRARY_PATH="`pwd`"; export LD_LIBRARY_PATH; make -C test apps tests
make install
2. The above step installed ssl into /usr/local/ssl, now tell
dkim-filter where to find it when compiling and when running by adding
these two lines to the dkim-filter site.config.m4:
APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include ')
APPENDDEF(`confLIBDIRS', `-L/usr/local/ssl/lib -Xlinker -rpath -Xlinker
/usr/local/ssl/lib')
3. The options in step 2 prevent you from building a shared libdkim
library. I do not know why. So you must disable `bld_LIBDKIM_SHARED'
by either commenting it out or setting it to false. I'll post a
separate email with the output of that.
4. sh Build && sh Build install
You'll go from this:
[EMAIL PROTECTED] dkim-milter-2.5.0.Beta9]# dkim-filter -V
dkim-filter: Sendmail DKIM Filter v2.5.0.Beta9
Compiled with OpenSSL 0.9.6b [engine] 9 Jul 2001
Supported signing algorithms:
rsa-sha1
To this:
[EMAIL PROTECTED] dkim-milter-2.5.0.Beta9]# dkim-filter -V
dkim-filter: Sendmail DKIM Filter v2.5.0.Beta9
Compiled with OpenSSL 0.9.8e 23 Feb 2007
Supported signing algorithms:
rsa-sha1
rsa-sha256
- --
Regards... Todd
The greatest shortcoming of the human race is our inability to
understand the exponential function. --Albert Bartlett, physicist
Linux kernel 2.6.22-14-generic 5 users, load average: 0.18, 0.06, 0.05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHzcTdY2VBGxIDMLwRAhZUAJwJGSOM14RFR1ZsO/ReZNigOSYorwCfVS0O
aa5QxOvRUgjXyYLRGcM0dMA=
=r6AC
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss