Git Product home page Git Product logo

fsmtp-server's Introduction

Fannst Banner

ABANDONDED !!!

New project: https://github.com/skywa04885/fsmtp-v2

FSMTP Server

Open source C++ SMTP Server, developed by Fannst Software

Example conversation

  • R: Client received
  • S: Client sent
$ telnet 127.0.0.1 25

--- Server connects and assigns new thread ---

R: 220 smtp.fannst.nl - ESMTP Ready
S: HELO [127.0.0.1]

R: 250-smtp.fannst.nl at your service, [127.0.0.1]
   250-STARTTLS
   250-HELP
   250 AUTH DIGEST-MD5
S: STARTTLS
R: 220 Ok: continue - fsmtp

--- TLS Connecting ---

S: HELO [127.0.0.1]
R: 250-smtp.fannst.nl at your service, [127.0.0.1]
   250-STARTTLS
   250-HELP
   250 AUTH DIGEST-MD5 PLAIN LOGIN

S: MAIL FROM: <[email protected]>
R: 250 Ok: proceed - fsmtp

S: RCPT TO: <[email protected]>
R: 250 ok: proceed - fsmtp

S: DATA
R: 354 End data with <CR><LF>.<CR><LF> - fsmtp

S: From: Luke A.C.A. Rieff <[email protected]>
   To: Luke Rieff <[email protected]>
   Subject: Hello World
   Message-ID: <[email protected]>
   MIME-Version: 1.0
   Content-Type: text/plain; charset=utf-8; format=flowed;

   test

   .

R: 250 Ok: queued as 0 - fsmtp
S: QUIT
R: 221 Goodbye ! - fsmtp

--- Server terminates connection ---

Example generated MIME Message, by FSMTP

MIME-Version: 1.0
X-Author: Luke A.C.A. Rieff
Subject: Hello World
Return-Path: <[email protected]>
Message-ID: <[email protected]>
Content-Type: multipart/alternative; boundary="--_CujdngdVAfkhJkZgyyd0tGPFx1C"
Date: Tue, 21 Apr 2020 09:32:34 +0200
From: Webmaster <[email protected]>
To: Test <[email protected]>
DKIM-Signature: d=fannst.nl; s=default; t=1587454355; x=1587460355; c=relaxed/relaxed; 
    q=dns/txt; v=1; a=rsa-sha256; h=mime-version:subject:message-id:date:from:to; 
    bh=hjcJt7MMn2BmW1t5n4zsq+OXU8iXDGbAcM3rzZaDveY=; 
    b=Ce1gEZrFXaLzxRdWxFfKItZH3J42xn/GWXe4gb3oAcenWXEDCBFcyEdiZVchg2mV9
     Gra7+3rkv5DDE4IIhzoCiV9p6M5ts5bp4nX19uEYVym6Cej6FEuuxZ7vfN9RyTLtsvL
     Fk9DrlUuhFZjHQCVDVW94BhmldsWQWC2Joga7e3HXJ2ujuzJ6Us+FPLhOJG7ueAdup5
     dvnGZxJUu8MxG5n+UYb5B12puXWiDesSTqjsOSscL5F8FBsvDWPXIT9axxIwyO+MFfy
     su21yHu1soDi3X1lV+gatYqdvLdUa8ifG+lUJZTihIZJnDe8obuIwvAz2O0QeZGmodB
     yXSNxKzPA==

----_CujdngdVAfkhJkZgyyd0tGPFx1C
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<h1>Hello World</h1><p>Kaas</p>
----_CujdngdVAfkhJkZgyyd0tGPFx1C
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

Hello World
Kaas
----_CujdngdVAfkhJkZgyyd0tGPFx1C--

Tested with, and worked

  • Outlook
  • Google Mail
  • Yahoo Mail

Currently supporting

  • ESMTP
  • ESMTP With STARTTLS
  • DKIM Signer
  • ESMTP Relaying
  • ESMTP Auth ( Plain only )

Future support

  • ESMTP, with pipelining
  • Web API
  • Spam filters, using spamhaus
  • DKIM Verification
  • IMAP Server [ Not sure yet ]

Dependencies

How to build ?

sudo chmod +x ./build.sh
sudo bash ./build.sh

Developers

Name Github Website
Luke Rieff skywa04885 me.fannst.nl

Want to become an developer for Fannst Software ? Feel free to contact us for more information, keep in mind that you will be doing this as a volunteer, and will not get payed. Click Here to get in touch.


fsmtp-server's People

Contributors

skywa04885 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.