tozd / docker-nginx-mailer

Nginx Docker image with a simple mailer. Read-only mirror of https://gitlab.com/tozd/docker/nginx-mailer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tozd/nginx-mailer

https://gitlab.com/tozd/docker/nginx-mailer

Available as:

Image inheritance

tozd/basetozd/dinittozd/nginxtozd/nginx-mailer

See also tozd/mailer.

Tags

  • ubuntu-trusty: nullmailer 1.11
  • ubuntu-xenial: nullmailer 1.13
  • ubuntu-bionic: nullmailer 2.1
  • ubuntu-focal: nullmailer 2.2
  • ubuntu-jammy: nullmailer 2.2

Volumes

  • /var/log/nullmailer: Log files when LOG_TO_STDOUT is not set to 1.
  • /var/spool/nullmailer: Work files (e.g., queue). Persist this volume to not lose state.

Variables

  • ADMINADDR: If set, all e-mails to system users inside a container are send to this address.
  • REMOTES: E-mail relay server the container should be using to send e-mails.
  • LOG_TO_STDOUT: If set to 1 output logs to stdout (retrievable using docker logs) instead of log volumes.

Description

Image extending tozd/nginx image with a simple e-mailing out of the container using nullmailer.

When LOG_TO_STDOUT is set to 1, Docker image logs output to stdout and stderr. All stdout output is JSON.

This image primarily serves as a base image for other images which need to send e-mails out. It does not really deliver e-mails to wide Internet, but just relays it to the e-mail server you configure in REMOTES. But programs in your extended images do not have to worry about all that and can just use sendmail program locally.

If you need sending e-mails to wide Internet, consider using tozd/postfix Docker image. You can also then set REMOTES to send all e-mail to a tozd/postfix container.

GitHub mirror

There is also a read-only GitHub mirror available, if you need to fork the project there.

About

Nginx Docker image with a simple mailer. Read-only mirror of https://gitlab.com/tozd/docker/nginx-mailer


Languages

Language:Dockerfile 52.2%Language:Shell 47.8%