mettmail
Get mail from IMAP server with IDLE extension and deliver to LMTP server, nothing else.
Requirements
- python >=3.8
- poetry (
pip install --user poetry)
Install
Install mettmail python package and CLI command.
poetry install --no-root
Run
Create configuration file based on the example:
cp mettmail.example.yaml mettmail.yaml
Edit it with your IMAP/LMTP connection details. You can override most of DeliverLMTP and FetchIMAP constructor parameters.
Run parameters:
poetry run mettmail --help
Development
Build Dependencies
Install dependencies and pre-commit hooks:
# you may need to install the following tools outside of your virtualenv, too:
pip install nox poetry pre-commit
poetry install --no-root
poetry run pre-commit install
Test/Coverage setup
Quickly
You can quickly run tests with:
# using your default interpreter
poetry run pytest
# using nox (add -r for the following runs)
nox -p 3.8
Thoroughly
Note: Python 3.10 support is currently broken because of a bug in aioimaplib.
Use nox to run tests and other useful things automatically for all supported python versions.
Initial setup for all interpreters and environments:
pyenv install 3.8.12
pyenv install 3.9.9
pyenv install 3.10.1
pyenv local 3.8.12 3.9.9 3.10.1
nox
After that it runs much more quickly reusing the created virtualenvs:
nox -r
Metadata
Release files for mettmail 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mettmail-0.1.1.tar.gz | 22.5 kB | Without provenance | Details for mettmail-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mettmail-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for mettmail-0.1.1-py3-none-any.whl |
Total release size: 61.4 kB
Release files / mettmail-0.1.1.tar.gz
| Download URL | mettmail-0.1.1.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d45d8b7176177404ecd4bab5c4052e36090447ab88dd15d70a2aad1ed37836b
|
|
BLAKE2b-256 checksum How to use checksums |
cbd0502d7a611740a1129a6a520d6b9877eab2ac7654c56a6d3ed95e9821b0d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.9.9 Linux/4.18.0-348.7.1.el8_5.x86_64
|
Release files / mettmail-0.1.1-py3-none-any.whl
| Download URL | mettmail-0.1.1-py3-none-any.whl |
|---|---|
| Size | 38.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89ac3e1b6812bc33a78c03948034026079efb2ffde00f071be6ad85ef11c11a4
|
|
BLAKE2b-256 checksum How to use checksums |
271c1d7ba3c0b44d90708405cec4b7ff5ba1e3288414951ad67dcff196419901
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.9.9 Linux/4.18.0-348.7.1.el8_5.x86_64
|
Security for mettmail 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.