zdkimfilter does not work properly with >mail-filter/opendkim-2.2.2. It will cause a segmentation fault when verifying arriving emails through courier. "zdkimfilter[19398]: segfault at e ip 00007f3a3093d411 sp 00007fffc48f5400 error 4 in libopendkim.so.9.0.1[7f3a3092c000+20000]" This is becuase the API ( dkim_policy() ) is slightly changed in newer versions of OpenDKIM, which is used during verification of emails. It is therefore probably an an upstream issue either with OpenDKIM or zdkimfilter. In any case, zdkimfilter should depend on =mail-filter/opendkim-2.2.2 until a new version of opendkim or zdkimfilter has addressed this issue. This is verified with zdkimfilter-1.1 and 1.2.
More information here from the opendkim author: http://lists.opendkim.org/archive/opendkim/dev/2013/07/1890.html
zdkimfilter-1.1 (or 1.2 for that matter) has a configure check to determine whether the function 'dkim_policy' takes three or four arguments. It is necessary that dkim.h and libopendkim.so agree for that to work.
I believe there was a "stale" dkim.h in /usr/local/include left over from an old opendkim-2.2.2. This caused wrong version dkim.h to be used. Therefore perhaps this bug can be closed?
Closing.