last modified:

Patch collection for OpenDMARC 1.3.2


I created this page to support others in running an up-to-date OpenDMARC installation and to support the author to release a new version.
The former version of this page can be found here.

I created a Ubuntu PPA with the these patches applied:

Download OpenDMARC 1.3.2

Get the current release from and untar it in a directory of your choice with
tar -xzf opendmarc-1.3.2.tar.gz

Get the patch collection

Download the patch collection from Then untar it with
tar -xzf patches-2018040601.tar.gz
in the same directory as above.

Apply the patches

Change into the directory of the OpenDMARC source an apply all patches in the order of the ticket numbers. The thre patches without ticket numbers must be applied last:
cd opendmarc-1.3.2
for patch in ../patches-2018040601/*; do echo $patch; patch -sp1 < $patch; done

Run configure

Here is how I configure the OpenDMARC source to use libspf2 - it's actually taken from the Debian package build by Scott Kitterman:
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc LDFLAGS="-lresolv -Wl,-z,defs -L/usr/lib/libmilter" --enable-live-tests --enable-filter-tests --with-spf --with-spf2-include=/usr/include/spf2 --with-spf2-lib=/usr/lib --with-sql-backend

The patches: