Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
/ slimSMTP Public archive

A Simple and Slim SMTP server aiming for a minimalistic and simple design.

Notifications You must be signed in to change notification settings

Torxed/slimSMTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlimSMTP

A Simple and Slim SMTP server aiming for a minimalistic and simple design.

Requirements

  • Python3.9+
  • python-dnspython
  • python-pydantic
  • python-systemd (Optional)

Installation

$ git clone https://github.com/Torxed/slimSMTP
$ cd slimSMTP
$ python example.py

Configuration

In example.py there is a configuration structure.
You'll need basic understanding of Python to navigate this.

The configuration looks like this:

slimSMTP.Configuration(
    port=25,
    address='',
    realms=[
        slimSMTP.Realm(name='hvornum.se')
    ]
)

Where port is the port the server will listen on.
address is the IP address of the interface you wish to bind to, '' means any interface.
realms is a list of domains that the server should accept mail to.

Meaning when someone sends a mail to github.test+label@hvornum.se, we will only accept it
if we have a realm configured for name='hvornum.se'.

About

A Simple and Slim SMTP server aiming for a minimalistic and simple design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages