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 details)
File details
Details for the file secure-smtpd-2.1.3.tar.gz
.
File metadata
- Download URL: secure-smtpd-2.1.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 051d0454b79c9a8ca5b29ce4b87b3c5850c9555af4827c899fcb9c30f7780152 |
|
MD5 | e6fd0f30e5edae2a2a6b206eecb89dba |
|
BLAKE2b-256 | 72ae80d655bb0b5c69b434ece28e1c7b7eb77b0861e7979eb145fe6f19c30828 |