Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiredofit/docker-postfix
Dockerized MTA with many customizable features, LDAP, SASL, Milter, Relay Support
https://github.com/tiredofit/docker-postfix
docker mta mx postfix smtp
Last synced: about 2 months ago
JSON representation
Dockerized MTA with many customizable features, LDAP, SASL, Milter, Relay Support
- Host: GitHub
- URL: https://github.com/tiredofit/docker-postfix
- Owner: tiredofit
- License: mit
- Created: 2020-06-09T19:35:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T21:23:40.000Z (7 months ago)
- Last Synced: 2024-05-31T23:36:23.205Z (7 months ago)
- Topics: docker, mta, mx, postfix, smtp
- Language: Dockerfile
- Homepage:
- Size: 206 KB
- Stars: 8
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# github.com/tiredofit/docker-postfix
[![GitHub release](https://img.shields.io/github/v/tag/tiredofit/docker-postfix?style=flat-square)](https://github.com/tiredofit/docker-postfix/releases/latest)
[![Build Status](https://img.shields.io/github/actions/workflow/status/tiredofit/docker-postfixmain.yml?branch=main&style=flat-square)](https://github.com/tiredofit/docker-postfix.git/actions)
[![Docker Stars](https://img.shields.io/docker/stars/tiredofit/postfix.svg?style=flat-square&logo=docker)](https://hub.docker.com/r/tiredofit/postfix/)
[![Docker Pulls](https://img.shields.io/docker/pulls/tiredofit/postfix.svg?style=flat-square&logo=docker)](https://hub.docker.com/r/tiredofit/postfix/)
[![Become a sponsor](https://img.shields.io/badge/sponsor-tiredofit-181717.svg?logo=github&style=flat-square)](https://github.com/sponsors/tiredofit)
[![Paypal Donate](https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal&style=flat-square)](https://www.paypal.me/tiredofit)## About
Dockerfile to build a Postfix image to support MTA functionality.
This is a work in progress and not stable for production use.
## Maintainer
- [Dave Conroy](https://github.com/tiredofit)
## Table of Contents
- [About](#about)
- [Maintainer](#maintainer)
- [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Build from Source](#build-from-source)
- [Prebuilt Images](#prebuilt-images)
- [Multi Architecture](#multi-architecture)
- [Configuration](#configuration)
- [Quick Start](#quick-start)
- [Persistent Storage](#persistent-storage)
- [Environment Variables](#environment-variables)
- [Base Images used](#base-images-used)
- [Networking](#networking)
- [Maintenance](#maintenance)
- [Shell Access](#shell-access)
- [Support](#support)
- [Usage](#usage)
- [Bugfixes](#bugfixes)
- [Feature Requests](#feature-requests)
- [Updates](#updates)
- [License](#license)
- [References](#references)## Installation
### Build from Source
Clone this repository and build the image with `docker build -t (imagename) .`### Prebuilt Images
Builds of the image are available on [Docker Hub](https://hub.docker.com/r/tiredofit/postfix)```bash
docker pull docker.io/tiredofit/postfix:(imagetag)
```
Builds of the image are also available on the [Github Container Registry](https://github.com/tiredofit/docker-postfix/pkgs/container/docker-postfix)
```
docker pull ghcr.io/tiredofit/docker-postfix:(imagetag)
```The following image tags are available along with their tagged release based on what's written in the [Changelog](CHANGELOG.md):
| Container OS | Tag |
| ------------ | --------- |
| Alpine | `:latest` |#### Multi Architecture
Images are built primarily for `amd64` architecture, and may also include builds for `arm/v7`, `arm64` and others. These variants are all unsupported. Consider [sponsoring](https://github.com/sponsors/tiredofit) my work so that I can work with various hardware. To see if this image supports multiple architecures, type `docker manifest (image):(tag)`## Configuration
### Quick Start
* The quickest way to get started is using [docker-compose](https://docs.docker.com/compose/). See the examples folder for a working [docker-compose.yml](examples/docker-compose.yml) that can be modified for development or production use.
* Set various [environment variables](#environment-variables) to understand the capabilities of this image.
* Map [persistent storage](#data-volumes) for access to configuration and data files for backup.### Persistent Storage
The following directories are used for configuration and can be mapped for persistent storage.
| Directory | Description |
| --------- | ----------- |
| /data | Volatile Information (Configuration, Queue, Archive) |
| /logs | Logfiles |* * *
### Environment Variables#### Base Images used
This image relies on an [Alpine Linux](https://hub.docker.com/r/tiredofit/alpine) base image that relies on an [init system](https://github.com/just-containers/s6-overlay) for added capabilities. Outgoing SMTP capabilities are handlded via `msmtp`. Individual container performance monitoring is performed by [zabbix-agent](https://zabbix.org). Additional tools include: `bash`,`curl`,`less`,`logrotate`,`nano`.
Be sure to view the following repositories to understand all the customizable options:
| Image | Description |
| ------------------------------------------------------ | -------------------------------------- |
| [OS Base](https://github.com/tiredofit/docker-alpine/) | Customized Image based on Alpine Linux |### Networking
| Port | Description |
| ----- | ----------- |
| `25` | |
| `587` | |## Maintenance
### Shell AccessFor debugging and maintenance purposes you may want access the containers shell.
```bash
docker exec -it (whatever your container name is) bash
```
## SupportThese images were built to serve a specific need in a production environment and gradually have had more functionality added based on requests from the community.
### Usage
- The [Discussions board](../../discussions) is a great place for working with the community on tips and tricks of using this image.
- [Sponsor me](https://tiredofit.ca/sponsor) for personalized support
### Bugfixes
- Please, submit a [Bug Report](issues/new) if something isn't working as expected. I'll do my best to issue a fix in short order.### Feature Requests
- Feel free to submit a feature request, however there is no guarantee that it will be added, or at what timeline.
- [Sponsor me](https://tiredofit.ca/sponsor) regarding development of features.### Updates
- Best effort to track upstream changes, More priority if I am actively using the image in a production environment.
- [Sponsor me](https://tiredofit.ca/sponsor) for up to date releases.## License
MIT. See [LICENSE](LICENSE) for more details.## References
*