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.1.tar.gz
(6.5 kB
view details)
File details
Details for the file secure-smtpd-2.1.1.tar.gz
.
File metadata
- Download URL: secure-smtpd-2.1.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | daac20646d293a7cf7e0aa6c3395e959499e6dbdf3ca6828bcd6c0eb5755f946 |
|
MD5 | e7c221de01ec9f0a9e15d80f6ef69e7f |
|
BLAKE2b-256 | 6a2c4fee52db3493851235aee148af0d82c31a029fcceea236bf48c042fc90fa |