Skip to content

Launch Fake SMTP server to test emails and not risk sending emails to clients

License

Notifications You must be signed in to change notification settings

tegonal/docker-fake-smtp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Fake SMTP server based on https://github.com/Nilhcem/FakeSMTP

Is a wrapper around the FakeSMTP java app running on alpine linux with openjdk 8's JRE

Start with docker:

This will start an instance that puts the emails in /tmp/fakemail and listens on port 1025

docker run -d --name fakesmtp -p 1025:25 -v /tmp/fakemail:/var/mail digiplant/fake-smtp

Or use in your docker compose file:

This will start an instance that listens on port 1025 and saves the emails in the email folder in the project

version: "2"

services:
  fakesmtp:
    image: digiplant/fake-smtp
    ports:
      - "1025:25"

    volumes:
      - ./email:/var/mail

About

Launch Fake SMTP server to test emails and not risk sending emails to clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published