Skip to main content

Project Homepage

Usage Manual


About

slimta is a configurable MTA based on the python-slimta libraries. While the purpose of the python-slimta library is to avoid configuration files and allow full control via Python code, the slimta project recognizes that not everyone will want or need that level of control. Setup, configuration, and execution of slimta is designed to be familiar to non-programmers.

The slimta project is released under the MIT License.

Getting Started

Install slimta from PyPi:

$ pip install slimta

Pip should pull in all the required dependencies. Next, we create the basic configuration files:

$ slimta-setup config

This creates 3 files, in ~/.slimta/ or wherever you specified. The sample configs are designed to work out of the box, so lets give it a shot:

$ slimta --no-daemon

In another terminal, let's connect to port 1025 to see if it's working. After the banner (the line beginning with 220 ), type in QUIT to end the session:

$ telnet localhost 1025
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP example.com Mail Delivery Agent
QUIT
221 2.0.0 Bye
Connection closed by foreign host.

Port 1025 is fully capable of accepting mail in the SMTP session, but is configured by default with the blackhole relay to silently discard messages. You can also try it out with the built-in Python SMTP libraries:

>>> import smtplib
>>> smtplib.SMTP('localhost', 1025).sendmail('test@example.com',
                                             ['postmaster@example.com'],
                                             'test message')

At this point, we're still a little ways off from where you'd probably like to be: actually sending and receiving email to the Internet. Please check out the Usage Manual for information on configuring slimta to your liking, including more advanced and custom setups.

The MIT License (MIT)

Copyright (c) 2021 Ian Good

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slimta-0.9.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slimta-0.9.0-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file slimta-0.9.0.tar.gz.

File metadata

  • Download URL: slimta-0.9.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for slimta-0.9.0.tar.gz
Algorithm Hash digest
SHA256 90dcfe2c07b413e16b012709b1c6b316f00cb1fdaf6895fdfa884919f0912040
MD5 f913482b9af7a12139eb78341473da27
BLAKE2b-256 355cd74abffa6a8d7509bf9385ebd69ea84dc273d02f428732616ae1c1c89abc

See more details on using hashes here.

File details

Details for the file slimta-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: slimta-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for slimta-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ccce00cf955134f37efaf36714b44a726c9d8d226ec375c55ec41cc0622cdb5
MD5 7116e068efe0b7d91d6557ae348edf48
BLAKE2b-256 c9ec8982ef8efa9d9978a0298f5ecb918e88468e1603374bd9e8407a9aec58cc

See more details on using hashes here.

Release history Release notifications | RSS feed

0.9.1

2 files

This release

0.9.0 This release

2 files

0.8.1

2 files

0.8.0

2 files

0.7.9

2 files

0.7.8

1 file

0.7.7

1 file

0.7.6

1 file

0.7.5

1 file

0.7.4

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.7

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

1 file

0.5.1

1 file

0.5.0

1 file

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page