Giter Club home page Giter Club logo

fake-smtp-server's Introduction

Fake SMTP Server

Simple SMTP Server which stores all received emails in an in-memory database and renders the emails in a web interface

Introduction

The root of this project comes from gessnerfl/fake-smtp-server. It is extended by a delete function for the emails and the it is secured behind a login.

Prerequisites

  1. docker, docker-compose
  2. JDK 8 3

Getting started

Start everything

$ make # ./gradlew build
$ make env

Configuration

Environment variables

SERVER-PORT         Port for the Web-UI, Default: 5080

APP_USER            Username for the Web-UI, Default: admin
APP_PASSWORD        Password for the Web-UI, Default: admin

MYSQL_USER          Username for the h2 user, Default: admin
MYSQL_PASSWORD      Password for the h2 user, Default: Test1234

SMTP_PORT           Port for the SMTP-Server, Default: 5025
SMTP_USER           Username for the SMTP-Server, Default: admin (optional)
SMTP_PASSWORD       Password for the SMTP-Server, Default: admin (optional)

MAX_NUMBER_EMAILS   Max. amount of emails stored in the h2, Default: 1000

Property Configuration

To enable the SMTP authentication you need to remove the # at the fakesmtp-Section for the attributes:

  • authentication
  • username
  • password

To bind the fakesmtp to another address remove the # at the fakesmtp-Section for bindAddress and add the desired address

Next Tasks

  • Refactoring (remove unnecessary gradle tasks, ...)
  • Connect keycloak as authentication

fake-smtp-server's People

Contributors

gessnerfl avatar rassie avatar gwallet avatar smuda avatar marcelgross90 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.