MH for IMAP
Project description
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 usecomp
to write new mail -
repl_template
- the template put into your editor when yourepl
y 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)
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
Built Distribution
File details
Details for the file mhi-0.8.6.tar.gz
.
File metadata
- Download URL: mhi-0.8.6.tar.gz
- Upload date:
- Size: 55.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c79df4f6352974dd9793c8cae362d72c329dfbe3d7eeb18c6e46e887bb028f |
|
MD5 | 9dd17338601cd5cdfdaadef663b7e435 |
|
BLAKE2b-256 | 1e5d2721f41cc6940f65de8312a6fecc2287cf09e4f74605c07088b31bd758f9 |
File details
Details for the file mhi-0.8.6-py3-none-any.whl
.
File metadata
- Download URL: mhi-0.8.6-py3-none-any.whl
- Upload date:
- Size: 41.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dea021b76a915239f3d0673dc24508d0f6cc9725f0c6d4889e145932601c9de |
|
MD5 | 2e71e0091649d5c49cd81f8ccfa2c353 |
|
BLAKE2b-256 | aa106ed239429b73e60b64527b2655532f80375a9724f3c5ed98543d50f163f6 |