HUB
Sign inSign up
opendmarc logo

webkutir/opendmarc

By webkutir

•Updated 21 days ago

Docker Image for OpenDMARC 1.4.2 on Ubuntu 26.10. Follows the sender's DMARC policy.

Image
Security
0

225

webkutir/opendmarc repository overview

OpenDMARC milter for Postfix. The image listens on a TCP port and evaluates DMARC for incoming mail.

⁠Image

  • Base image: ubuntu:26.10
  • OpenDMARC 1.4.2, the version packaged in Ubuntu 26.10
  • Listens on inet:${DMARC_PORT} instead of a local socket

⁠Behavior in this image

  • AuthservID and TrustedAuthservIDs are set to PF_HOSTNAME. OpenDKIM should use that same name, so OpenDMARC trusts its DKIM result.
  • RejectFailures is off. A failure is handled with the sender’s published policy (none, quarantine, or reject).
  • OpenDMARC runs its own SPF check (SPFSelfValidate).
  • Mail from authenticated clients is not checked (IgnoreAuthenticatedClients).
  • Messages without a From or Date header fail (RequiredHeaders).

The container needs DNS that can look up DMARC and SPF records.

⁠Required environment

VariablePurpose
PF_HOSTNAMEPublic mail hostname. Used as the auth server id.
DMARC_PORTTCP port OpenDMARC listens on. This stack uses 10020.

⁠Run

docker run -d --name opendmarc \
  -p 10020:10020 \
  -e PF_HOSTNAME=mail.example.com \
  -e DMARC_PORT=10020 \
  webkutir/opendmarc:1.4.2

Point Postfix at that port, after the DKIM milter:

smtpd_milters = inet:opendkim:41001, inet:opendmarc:10020
Tag summary
Recent tags
Content type
Image
Digest
sha256:ddfd69cd4…
Size
79.4 MB
Last updated
21 days ago
docker pull webkutir/opendmarc:latest