Skip to content
Fork of Python's standard SMTP server. Adding support for various extensions to the protocol.
Python
Latest commit 3aac9a8 Mar 9, 2016 @duongkai duongkai Merge pull request #27 from duongkai/master
support authentication for proxy server
Failed to load latest commit information.
examples
secure_smtpd
.gitignore
LICENSE.txt
MANIFEST.in removing trailing / in MANIFEST.in to work with distutil/util.py Nov 27, 2014
README.markdown
setup.py

README.markdown

Secure SMTPD

Secure-SMTPD extends on Petri Lehtinen's SMTPD library adding support for AUTH and SSL.

Usage

from secure_smtpd import SMTPServer, FakeCredentialValidator
SMTPServer(
    self,
    ('0.0.0.0', 465),
    None,
    require_authentication=True,
    ssl=True,
    certfile='examples/server.crt',
    keyfile='examples/server.key',
    credential_validator=FakeCredentialValidator(),
)
asyncore.loop()
Something went wrong with that request. Please try again.