Sign inSign up

dhylton/opensmtpd-alpine

By dhylton

•Updated almost 4 years ago

OpenBSD's fantastic OpenSMTPD 6.8.0p2, based on the alpine:3.16.2 container

Image
0

1.1K

dhylton/opensmtpd-alpine repository overview

⁠opensmtpd-alpine

⁠Description

OpenBSD's fantastic OpenSMTPD 6.8.0p2, based on the alpine:3.16.2 container.

⁠Defaults

  1. executes smtpd with -dv flags by default, can be overridden as shown below
  2. looks for configuration in /etc/smtpd/smtpd.conf
  3. config location symlinked to /etc/opensmtpd for convenience/compatibility with other systems
  4. queue data volume and work directory both default to /var/spool/smtpd

⁠Usage Examples

# obtain help message
docker run -it --rm dhylton/openbsd-alpine -h

# run config test
docker run -it --rm dhylton/openbsd-alpine -n

# provide pre-execution commands and own configuration
docker run -d -v cmdlist.sh:/precmd -v myconfig.conf:/etc/smtpd/smtpd.conf --name mymailserver dhylton/openbsd-alpine

# view queue, stats, and other things for running container
docker exec -it mymailserver smtpctl show queue
docker exec -it mymailserver smtpctl show status
docker exec -it mymailserver smtpctl show stats
docker exec -it mymailserver smtpctl stop

Tag summary

Content type

Image

Digest

sha256:aad61d276…

Size

4.4 MB

Last updated

almost 4 years ago

docker pull dhylton/opensmtpd-alpine