Skip to content
No description, website, or topics provided.
Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config/etc
mails
Dockerfile
README.md
docker-compose.yml

README.md

Receive mails with OpenSMTPD

You better don't use this docker image directly. Check out the Dockerfile and create a version for yourself.

Configuration

Aliases

edit the config/etc/mail/aliases.

Enable your domain

edit config/etc/smtpd/smtpd.conf.

Replace "example.org" with your domainname.

Start the mail server

Plain docker

docker run -it --rm -p "25:25" -v "${PWD}/config/etc/mail/aliases:/etc/mail/aliases" -v "${PWD}/mails:/var/mail" -v "${PWD}/config/etc/smtpd/smtpd.conf:/etc/smtpd/smtpd.conf" schipplock/opensmtpd:6.4.2p1

Docker compose

docker-compose up -d opensmtpd

Usage

Mails are stored in mails/a.

You can’t perform that action at this time.