Adds support for SSL, AUTH, and other goodies, to Petri Lehtinen's SMTPD library.
Project description
Secure SMTPD
============
Secure-SMTPD extends on Petri Lehtinen's SMTPD library adding support for AUTH and SSL.
Usage
-----
```python
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(),
debug=True
)
asyncore.loop()
```
============
Secure-SMTPD extends on Petri Lehtinen's SMTPD library adding support for AUTH and SSL.
Usage
-----
```python
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(),
debug=True
)
asyncore.loop()
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
secure-smtpd-2.1.3.tar.gz
(6.6 kB
view hashes)