Skip to content

Latest commit

 

History

History
39 lines (36 loc) · 1.21 KB

README.md

File metadata and controls

39 lines (36 loc) · 1.21 KB

Docker-SMTA

SMTA This is a securely configured mail relay with REST API.

Components:

Full documentation for allowed API-methods and parameters see in Swagger UI files by location in api-smta/swagger.

Make image:

docker build -t smta .

Run docker ephemeral:

docker run -d --name smta \
 -v postfix_conf:/etc/postfix \
 -v amavis_conf:/etc/amavisd \
 -p 25:25 -p 9443:9443 \
 --hostname=mta01.company.com smta

Run with volumes(recommended):

docker run -d --name smta \
  -p 25:25 -p 9443:9443 \
  -v postfix_conf:/etc/postfix \
  -v amavis_conf:/etc/amavisd \
  -v smta_logs:/var/log \
  -v clamav:/var/lib/clamav \
  -v quarantine:/var/amavis/quarantine \
  -v local_mail:/var/mail \
  -v spool:/var/spool/postfix/ \
 --hostname=mta01.company.com smta