MHI
mhi is a commandline style mailreader in the tradition of mh and nmh, but mutated to support IMAP.
Why?
One thing that IMAP provides is the ability for multiple clients to access the same mail store. Graphical clients are all well and good, but sometimes a reversion to the commandline is necessary. Neither mh nor nmh will talk to an IMAP server (mh's original semantics, which nmh duplicates, rely on messages not auto-renumbering, as they do in IMAP folders), so I had to write my own client. Python's imaplib made this easy.
How?
As of v0.6.5 MHI is available as a PyPI package (pipx install mhi)
The same version also incorporates the old mkLinks wrapper-script functionality
via:
python -m mhi.mklinks <destdir>
.mhirc
.mhirc is an ini-style config file (parsed with configobj). Useful keys:
-
connection- an imap[s]://[username[:password]]@host[:port]/path url string that specifies how to connect to the imap server -
connection_passwd- the password to use when connection. To avoid putting the password in plaintext in this file, if the string is surrounded by backticks (`), it will be executed as a shell script whose stdout will be used as the password. -
folder_prefix- the prefix to add to your IMAP folders -
comp_template- the template put into your editor when you usecompto write new mail -
repl_template- the template put into your editor when youreply to a message
TODO:
- use click - but would require new commands?
- more help - should be self-documenting
Licensing information is in the LICENSE file. (short version: GPLv3 or CCBYSA)
Metadata
Release files for mhi 0.8.6
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 |
|---|---|---|---|---|
| mhi-0.8.6.tar.gz | 55.2 kB | Without provenance | Details for mhi-0.8.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mhi-0.8.6-py3-none-any.whl | Python 3 | none | any | Details for mhi-0.8.6-py3-none-any.whl |
Total release size: 96.7 kB
Release files / mhi-0.8.6.tar.gz
| Download URL | mhi-0.8.6.tar.gz |
|---|---|
| Size | 55.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65c79df4f6352974dd9793c8cae362d72c329dfbe3d7eeb18c6e46e887bb028f
|
|
BLAKE2b-256 checksum How to use checksums |
1e5d2721f41cc6940f65de8312a6fecc2287cf09e4f74605c07088b31bd758f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / mhi-0.8.6-py3-none-any.whl
| Download URL | mhi-0.8.6-py3-none-any.whl |
|---|---|
| Size | 41.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0dea021b76a915239f3d0673dc24508d0f6cc9725f0c6d4889e145932601c9de
|
|
BLAKE2b-256 checksum How to use checksums |
aa106ed239429b73e60b64527b2655532f80375a9724f3c5ed98543d50f163f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for mhi 0.8.6
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.