Sign inSign up

amane/postfix

By amane

Updated about 1 year ago

Postfix server for only sending (without auth).

Image
0

392

amane/postfix repository overview

postfix-docker

Dockerfile and run.sh for https://hub.docker.com/r/amane/postfix/

run Postfix in Docker

docker run --rm -p 2525:25 -e MYHOSTNAME="mail.example.com" -e MYDOMAIN="example.com" -e MYNETWORKS="permitted/8, network/16, withtout/24, localhost/32" amane/postfix

Set HIDERECEIVED as a nonempty string to remove Received: headers from an email before relaying to hide your private/backend IP adsresses.

Set WHITEADDRESS as mail address list to restrict recipient. The list is regular expressions separated with ";".

You can communicate with Postfix by telnet localhost 2525 or echo TEST_BODY | heirloom-mailx -s TEST_SUBJECT -S "smtp-hostname=smtp://localhost:2525" -S "v15-compat" [email protected] now.

Tag summary

Content type

Image

Digest

sha256:9a9731278

Size

8.6 MB

Last updated

about 1 year ago

docker pull amane/postfix