Skip to content

Latest commit

 

History

History
39 lines (36 loc) · 876 Bytes

README.md

File metadata and controls

39 lines (36 loc) · 876 Bytes

duotail-smtp-server

A smtp server unconditionally accepts any incoming messages

Target

This product is to create a simple SMTP server without any validation. It serves as the gate of a mail delivery system.

Usage

Telnet

You can use telnet to connect to the server and send a mail. The default port is 25.

telnet localhost 25

Then you can send a mail like this:

HELO localhost
MAIL FROM: test@abc.com
RCPT TO: first@duotail.com
DATA
Subject: Test mail
From: test@abc.com
To: first@duotail.com
This is a test mail.
.
QUIT

Credit

The initial code of this project is branched from fake-smtp-server v2.3.0. I've changed the package names to match with my other products but many thanks to the original authors.