OpenDKIM Postfix & Centos 5.5

2010 May 28
by Simon

Installing OpenDKIM from source on CentOS 5.5 to sign and verify emails with Postfix

This guide assumes you have CentOS 5.5 installed, a  working Postfix configuration and that you would like to sign mail for more than one domain. It was carried out with the following software versions:

  • Postfix 2.3.3
  • OpenDKIM 2.0.4
  • Sendmail (sources) 8.13.8
  • OpenSSL 0.9.8e

Important links:

Install other necessary software

# yum install sendmail-devel
# yum install openssl-devel

If you want to know exactly where the files belonging to a package are (OpenDKIM’s compiler should find them automatically):

# rpm -ql sendmail-devel
/usr/include/libmilter
/usr/include/libmilter/mfapi.h
/usr/include/libmilter/mfdef.h
/usr/lib/libmilter.a
/usr/lib/libsm.a
/usr/lib/libsmutil.a

Installing OpenDKIM

Download then extract OpenDKIM. Change to the extracted direcotry and run configure, make and then, as root, make install

$ tar -xzvf opendkim-2.0.4.tar.gz
$ cd opendkim
$./configure
$ make
$ su -
# make install

Pages: 1 2 3 4

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS