Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (21 loc) · 569 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 569 Bytes

docker-postfix

run postfix with smtp authentication (sasldb) in a docker container.

Requirements

Docker 1.0

Installation

$ # replace assets/main.cf with actual config
$ sudo docker build -t hoopla/postfix .

Usage

$ sudo docker run -d -p 25:25 --name postfix hoopla/postfix

Testing (on ubuntu)

$ sudo docker run -d -p 25:25 --name postfix hoopla/postfix
$ sudo apt-get update
$ sudo apt-get install sendemail
$ sendemail -f [email protected] -t <recipent>@<host> -u <subject> -m <message> -s localhost:25