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.4.tar.gz
(10.9 kB
view details)
File details
Details for the file secure-smtpd-2.1.4.tar.gz
.
File metadata
- Download URL: secure-smtpd-2.1.4.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a431909be28c9c0eeb78221801c473a926819fedee15b5bb9c2e5b3ee222d8c4 |
|
MD5 | 9071a6322566076263a95ac4201011d4 |
|
BLAKE2b-256 | c21e86bfbb6a9df179dd94b13a5ed8d872c9a7a7ad3933fd09e5998c78185953 |