BSD Ports

mail/opendkim 2.10.3_24 FreeBSD

DKIM library and milter implementation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
85ba298b7e
License
BSD3CLAUSE, SENDMAIL
Categories
mail, security
Package size
319.2 KiB, 1275.7 KiB installed

Description

OpenDKIM is an open source implementation of the DKIM (Domain Keys Identified Mail) sender authentication system proposed by the E-mail Signing Technology Group (ESTG), now standardized by the IETF (RFC4871). It also includes an implementations of the Vouch By Reference (VBR, RFC5518) proposed standard.

The OpenDKIM package consists of a library that implements the DKIM service and a milter-based filter application that can plug in to any milter-aware MTA to provide that service to sufficiently recent sendmail MTAs and other MTAs that support the milter protocol.

In the other systems

SystemPortVersion
FreeBSDmail/opendkim2.10.3_24
OpenBSDmail/opendkim2.10.3p4
NetBSDmail/opendkim2.10.3nb12
DragonFlymail/opendkim2.10.3_20
MidnightBSDmail/opendkim2.10.3_1
HardenedBSDmail/opendkim2.10.3_23
GhostBSDmail/opendkim2.10.3_23

Install

Binary package:

pkg install opendkim

From the ports tree:

cd /usr/ports/mail/opendkim/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	opendkim>0:mail/opendkim
LIB_DEPENDS=	librbl.so:mail/opendkim

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.10.3_232.10.3_232.10.3_162.10.3_202.10.3_23
FreeBSD:14:quarterly2.10.3_232.10.3_23n/a2.10.3_202.10.3_23
FreeBSD:15:latest2.10.3_232.10.3_23n/a2.10.3_202.10.3_20
FreeBSD:15:quarterly2.10.3_232.10.3_23n/an/an/a
FreeBSD:16:latest2.10.3_232.10.3_23n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 8

Configuration

Options name: mail_opendkim

OptionDefaultDescription
BDB_BASEoffUse Berkeley DB from base
CURLoffUse cURL for web queries
DOCSoffBuild and/or install documentation
FILTERonOpenDKIM filter, requires libmilter/Sendmail
GNUTLSoffUse GnuTLS instead of OpenSSL
JANSSONoffStatistics and other output as JSON data
LDNSoffUse LDNS library for DNS queries
LMDBoffUse Lightning Memory-Mapped DB key-value store
LUAonDescribe filter policy with lua
MEMCACHEDoffUse memcached as a data set
OPENDBXoffStore filter policies via OpenDBX
OPENLDAPoffStore filter policies in LDAP
POPAUTHoffUse POP authentication DB
QUERY_CACHEoffCache DNS query results locally
SASLoffEnable SASL authentication with LDAP
STOCK_RESOLVERoffUse the stock resolver library
UNBOUNDonUse unbound DNS library
USES
autoreconf cpe libtool perl5 pkgconfig shebangfix ssl
Service scripts
none
Conflicts with
opendkim-devel

Message after installing

In order to run this port, write your opendkim.conf and:

if you use sendmail, add the milter socket `socketspec' in
/etc/mail/<your_configuration>.mc:

INPUT_MAIL_FILTER(`dkim-filter', `S=_YOUR_SOCKET_SPEC_, F=T, T=R:2m')

or if you use postfix write your milter socket `socketspec' in
/usr/local/etc/postfix/main.cf:

smtpd_milters = _YOUR_SOCKET_SPEC_


And to run the milter from startup, add milteropendkim_enable="YES" in
your /etc/rc.conf.
Extra options can be found in startup script.

Note: milter sockets must be accessible from postfix/smtpd;
  using inet sockets might be preferred.

Files

Manual pages 23
  • autobuild(8)
  • miltertest(8)
  • opendkim(8)
  • opendkim-atpszone(8)
  • opendkim-expire(8)
  • opendkim-gengraphs(8)
  • opendkim-genkey(8)
  • opendkim-genrates(8)
  • opendkim-genstats(8)
  • opendkim-genzone(8)
  • opendkim-importstats(8)
  • opendkim-lua(3)
  • opendkim-modtotals(8)
  • opendkim-rephistory(8)
  • opendkim-reprrdimport(8)
  • opendkim-spam(1)
  • opendkim-stats(8)
  • opendkim-testkey(8)
  • opendkim-testmsg(8)
  • opendkim.conf(5)
  • rbl(3)
  • ut(3)
  • vbr(3)
pkg-plist 78
  • share/man/man8/opendkim-atpszone.8.gz
  • sbin/opendkim-atpszone
  • share/man/man5/opendkim.conf.5.gz
  • share/man/man8/opendkim.8.gz
  • sbin/opendkim
  • bin/autobuild
  • share/man/man8/autobuild.8.gz
  • bin/miltertest
  • share/man/man3/opendkim-lua.3.gz
  • share/man/man8/miltertest.8.gz
  • bin/opendkim-spam
  • sbin/opendkim-importstats
  • share/man/man1/opendkim-spam.1.gz
  • share/man/man8/opendkim-importstats.8.gz
  • include/rbl/rbl.h
  • lib/librbl.a
  • lib/librbl.so
  • lib/librbl.so.1
  • lib/librbl.so.1.0.0
  • libdata/pkgconfig/rbl.pc
  • share/man/man3/rbl.3.gz
  • bin/opendkim-reprrdimport
  • include/reprrd/reprrd.h
  • lib/libreprrd.a
  • lib/libreprrd.so
  • lib/libreprrd.so.1
  • lib/libreprrd.so.1.0.0
  • share/man/man8/opendkim-reprrdimport.8.gz
  • include/repute/repute.h
  • include/ut/ut.h
  • lib/librepute.a
  • lib/librepute.so
  • lib/librepute.so.1
  • lib/librepute.so.1.0.0
  • lib/libut.a
  • lib/libut.so
  • lib/libut.so.1
  • lib/libut.so.1.0.0
  • libdata/pkgconfig/repute.pc
  • libdata/pkgconfig/ut.pc
  • share/man/man3/ut.3.gz
  • share/man/man8/opendkim-genrates.8.gz
  • share/man/man8/opendkim-modtotals.8.gz
  • share/man/man8/opendkim-rephistory.8.gz
  • sbin/opendkim-genrates
  • sbin/opendkim-modtotals
  • sbin/opendkim-rephistory
  • share/man/man8/opendkim-expire.8.gz
  • share/man/man8/opendkim-gengraphs.8.gz
  • share/man/man8/opendkim-genstats.8.gz
  • share/man/man8/opendkim-stats.8.gz
  • sbin/opendkim-expire
  • sbin/opendkim-gengraphs
  • sbin/opendkim-genstats
  • sbin/opendkim-reportstats
  • sbin/opendkim-stats
  • include/vbr/vbr.h
  • lib/libvbr.a
  • lib/libvbr.so
  • lib/libvbr.so.2
  • lib/libvbr.so.2.0.0
  • libdata/pkgconfig/vbr.pc
  • share/man/man3/vbr.3.gz
  • @sample etc/mail/opendkim.conf.sample
  • include/opendkim/dkim.h
  • lib/libopendkim.a
  • lib/libopendkim.so
  • lib/libopendkim.so.10
  • lib/libopendkim.so.10.0.3
  • libdata/pkgconfig/opendkim.pc
  • share/man/man8/opendkim-genkey.8.gz
  • share/man/man8/opendkim-genzone.8.gz
  • share/man/man8/opendkim-testkey.8.gz
  • share/man/man8/opendkim-testmsg.8.gz
  • sbin/opendkim-genkey
  • sbin/opendkim-genzone
  • sbin/opendkim-testkey
  • sbin/opendkim-testmsg
distinfo 1
FileSizeSHA256
opendkim-2.10.3.tar.gz1.210224e+0643a0ba57bf942095fe159d0748d8933c6b1dd1117caf0273fa9a0003215e681b
Master sites 3
  • SF/opendkim
  • SF/opendkim/Previous%20Releases
  • ftp://ftpmirror.uk/freebsd-ports/opendkim/

Commit history 2

DateCommitCreditsLog message
85ba298b7e Baptiste Daroussin databases/lmdb: allow to install both 0.x and 1.x together
LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are incompatibles as well. Rename or relocate everything databases/lmdb0 installs so that it no longer overlaps with databases/lmdb: - the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0 - the header is include/lmdb0/lmdb.h - the linker name is liblmdb0.so, the shared object keeps its ABI name liblmdb.so.0 so already linked programs are unaffected - the pkg-config file is lmdb0.pc A compatibility prefix holding the previous layout is also installed under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that build systems which expect to find lmdb.h and -llmdb relative to a single directory only need a path change. Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease …
5f9d389f29 Xin LI databases/lmdb0: Add port for LMDB 0.9.x legacy ABI
LMDB 1.0 introduced an incompatible on-disk format change and subtle API breakage: applications that compiled cleanly against 1.0 headers could fail silently at run time. Known affected ports include dns/knot3, mail/bogofilter, and mail/postfix; the postfix issue has been confirmed upstream. Linux distributions such as Arch Linux have observed the same breakage. Samba can also be affected in certain configurations. Because the regression is not detectable in an -exp build run -- the postfix failure only manifests at run time, and bogofilter was caught only because post-build self-tests happen to exercise this path -- we cannot rely on package builds to validate the 1.0 upgrade. This commit introduces databases/lmdb0 as a holding port for the 0.9.35 …