Simple SMTP Server which stores all received emails in an in-memory database and renders the emails in a web interface
fork from https://github.com/gessnerfl/fake-smtp-server
https://hub.docker.com/r/fo0me/fake-smtp-server
- filter mails by matching the subject: variable: filteredSubjectRegexList (same like existing: filteredEmailRegexList)
version: "3"
services:
smtp-relay:
image: fo0me/fake-smtp-server:latest
ports:
- 465:5025
- 5080:5080
environment:
- FAKESMTP_FORWARD_EMAILS=true
- SPRING_MAIL_HOST=
- SPRING_MAIL_PORT=
- SPRING_MAIL_USERNAME=
- SPRING_MAIL_PASSWORD=
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH=true
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLED=false
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_SSL_ENABLE=true
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_SSL_TRUST=*
- SPRING_MAIL_PROPERTIES_MAIL_DEBUG=true
telnet <server> <smtp-port>
paste following content
helo localhost
mail from:<[email protected]>
rcpt to:<[email protected]>
data
From: [email protected]
TO: [email protected]
Subject: test mail from command line
this is a test mail
.
quit