Feat: Initial Postfix alpine image with DKIM and user authentication
Summary
This merge request introduces the initial version of the Postfix Docker image. It is designed to provide a secure and lightweight SMTP server with:
- TLS and STARTTLS support
- User authentication via SASL (Dovecot)
- DKIM signing (OpenDKIM)
The image is compatible with both AMD64 and ARM architectures and aims to be simple to configure and extend.
Changes
- Add a Dockerfile based on Alpine 3.21
- Install and configure Postfix, Dovecot, and OpenDKIM
- Provide example configuration files:
main.cf
dovecot.conf
opendkim.conf
- Add an entrypoint script to initialize services
- Expose SMTP port (25)
- Revamp README.md with documentation:
- Features
- Supported tags
- Quick reference
How to Test
- Build the image:
docker build -t postfix:local .
- Run the container:
docker run -d --name postfix -p 25:25 postfix:local
- Check logs to ensure Postfix, Dovecot, and OpenDKIM are running properly.
## Notes DKIM keys should be placed in /etc/opendkim/domainkeys/ inside the container.
Edited by Pierre-Louis TALBOT