faq

Is there a Docker image available for MIMEDefang?

Yes. The MIMEDefang project publishes official Docker images on Docker Hub, one per supported MTA. Use them rather than building your own: they are rebuilt for every release.

Pull the latest release, or pin a version:

docker pull mimedefang/postfix
docker pull mimedefang/sendmail:v3.8.0
Tag Purpose
latest Current stable release, production image (no build tools)
vX.Y.Z Pinned release, e.g. v3.8.0
ci Full build toolchain, used by the MIMEDefang test suite

Mount your filter on /etc/mail/mimedefang-filter; see the Getting Started guide for a complete docker run example and the image pages on Docker Hub for every environment variable and volume.

The model servers used by the machine-learning classifier (Mail::MIMEDefang::ML, MIMEDefang 3.8+) are official images too, with -preload (model included), -cuda and -multilang variants:

The Dockerfiles and Compose files are in the MIMEDefang-Docker repository.

OpenSMTPD is also a supported MTA, but no Docker image is published for it yet.