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(),
)
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(),
)
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-3.0.0.tar.gz
(10.9 kB
view details)
File details
Details for the file secure-smtpd-3.0.0.tar.gz
.
File metadata
- Download URL: secure-smtpd-3.0.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73dd569e65f357cd374f1dd7e74f95f5af37423181c2f293464370aedfe45956 |
|
MD5 | 57dc3f6e25d3f7085090474bce325e65 |
|
BLAKE2b-256 | 45f26bccade00a3b5c503ffa80e5b9bcdd3fcc8534e3259477533f48da670a78 |