A Python library that is open source and enables developers to construct an SMTP server according to their preferences is available.
One of the most significant benefits of pymta is its usefulness in testing mail-sending code against a real SMTP server in your unit tests. Additionally, it opens the door to building custom SMTP servers with non-standard behavior without the need to reimplement the entire SMTP protocol.
Perhaps you're looking for a low-volume SMTP server that can be easily extended with Python. If so, pymta provides an excellent solution to help you achieve that.
As a final note, it's worth mentioning that pymta is developed and distributed under the permissive MIT license, making it a great option for developers to consider for their projects.
Version 0.3.1: N/A