Slimta logo

Slimta

  •  0 ratings
In category: Communication / Email / Mail Transfer Agents

About Slimta

Mail Transfer Library built on Python.

  •   372  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: 868  
  •   164  
  •   44  
  •  Latest commit: N/A  

Deploy this app to Linode with a free $100 credit!

Languages/Platforms/Technologies:
Lincenses:

More about Slimta

API Documentation and Manual


About

The python-slimta project is a Python library offering the building blocks necessary to create a full-featured MTA. Most MTAs must be configured, but an MTA built with python-slimta is coded. An MTA built with python-slimta can incorporate any protocol or policy, custom or built-in. An MTA built with python-slimta can integrate with other Python libraries and take advantage of Python's great community.

The python-slimta project is released under the MIT License. It is tested for Python 3.6+.

build PyPI PyPI PyPI

Getting Started

Use a virtualenv to get started developing against python-slimta:

$ cd python-slimta/
$ python3 -m venv .venv
$ source .venv/bin/activate
(.venv)$ pip install -U pip wheel setuptools

To run the suite of unit tests included with slimta:

(.venv)$ pip install -r requirements-dev.txt
(.venv)$ py.test

Running the Example

The example in examples/slimta-mail.py provides a fully functional mail server for inbound and outbound email. To avoid needing to run as superuser, the example uses ports 1025, 1465 and 1587 instead.

It needs several things to run:

  • An activated virtualenv as created above in Getting Started.

  • A TLS certificate and key file. The easiest way to generate one:

openssl req -x509 -nodes -subj '/CN=localhost' -newkey rsa:1024 -keyout cert.pem -out cert.pem

Check out the in-line documentation with --help, and then run:

(.venv)$ ./slimta-mail.py

Manually or with a mail client, you should now be able to deliver messages. On port 1025, messages will go to unique files in the current directory. On port 1587, messages will be delivered to others using MX records! To try out a TLS connection:

$ openssl s_client -host localhost -port 1587 -starttls smtp

Contributing

If you want to fix a bug or make a change, follow the fork pull request model. We've had quite a few awesome contributors over the years, and are always open to more.

Special thanks to JocelynDelalande for extensive work bringing Python 3 compatibility to the project!

Comments (0)

Please login to join the discussion on this project.

Slimta Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Popular Projects

FluxBB

in Social Networks and Forums
 29k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 17k    1    1    0  

Libreddit

in Social Networks and Forums
 5k    0    1    0  

CasaOS

in Self-hosting Solutions
 4k    0    0    0  

Audiobookshelf

in Audio Streaming
 3k    0    1    0  

Mediagoblin

in Photo and Video Galleries
 3k    0    0    0  

Dashboard

in Personal Dashboards
 2k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 17k    1    1    0  

Tube Archivist

in Automation
 2k    0    1    0  

OneDev

in Project Management
 1k    0    0    0  

iodine

in Proxy
 1k    0    0    0  

Alf.io

in Booking and Scheduling
 1k    0    0    0  

sysPass

in Password Managers
 743    0    0    0  

Misskey

in Social Networks and Forums
 2k    0    0    0  
pCloud Lifetime

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

MailHog logo
MailHog cover

MailHog

Small Golang executable which runs an SMTP MTA gateway that…

vSMTP logo
vSMTP cover

vSMTP

Next-gen MTA. Secured, Faster and Greener.

Qmail logo
Qmail cover

Qmail

Secure Sendmail replacement.