/
DirectorySecurity Advisories
Sign In
Directory
mailpit logo

mailpit

Last changed

Create your Free Account

Be the first to hear about exciting product updates, critical vulnerability alerts, compare alternative images, and more.

Sign Up
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for mailpit

Mailpit is an email and SMTP testing tool with API for developers

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/mailpit:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Deploy this Image

You can deploy via Helm using the jouve Helm Chart, which is maintained by a mailpit user.

For compatibility with Chainguard Images, the values.yaml should look like this:

image:
  registry: cgr.dev
  repository: <your-repo>/mailpit
  tag: <tag>
  digest: <digest>

and you can deploy the Helm chart with:

helm repo add jouve https://jouve.github.io/charts/
helm install mailpit jouve/mailpit -f values.yaml

Send a Test Email

These instructions are based on upstream docs.

Once you've deployed mailpit to Kubernetes via Helm, as described above, you can try to send a test email.

Create a text file email.txt with the following contents:

From: sender@example.com
To: recipient@example.com
Subject: Email Subject

This is the body of the email.
It can contain multiple lines of text.

Port forward the mailpit service:

kubectl port-forward svc/mailpit-http 8025:80

In a separate terminal, port forward the SMTP server:

kubectl port-forward svc/mailpit-smtp 1025:25

In a separate terminal, send the email:

mailpit sendmail < email.txt

If you navigate to http://localhost:8025 you should see the email appear in the Mailpit UI.

What are Chainguard Containers?

Chainguard Containers are minimal container images that are secure by default.

In many cases, the Chainguard Containers tagged as :latest contain only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager. Chainguard Containers are built with Wolfi, our Linux undistro designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a -dev variant.

Although the -dev container image variants have similar security features as their more minimal versions, they feature additional software that is typically not necessary in production environments. We recommend using multi-stage builds to leverage the -dev variants, copying application artifacts into a final minimal container that offers a reduced attack surface that won’t allow package installations or logins.

Learn More

To better understand how to work with Chainguard Containers, please visit Chainguard Academy and Chainguard Courses.

In addition to Containers, Chainguard offers VMs and Libraries. Contact Chainguard to access additional products.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • LGPL-2.1-or-later

  • MIT

  • MPL-2.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
application

Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2025 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Products

Chainguard ContainersChainguard LibrariesChainguard VMs