MJMAP(1)
π NAME π
okay so bestie, welcome to MJMAP(1) β the general commands manual for mjmap, a sendmail-compatible JMAP client. This is your group chat with Unix, and yes, it slays. π
β¨ SYNOPSIS β¨
mjmap [-h] [--version] [--mailbox <name>] [-c <file>] [-S] [-d] [-t] [-f <from>] [-i] [-X <file>] [<recipient...>]
π POSITIONAL ARGUMENTS π
<recipient...>β email address of a recipient to send the message to. Can be specified multiple times. yes bestie, stack those recipients like your fave playlists π
π OPTIONS π
-h,--helpβ show usage help and exit. your lil βwhat do I do again?β button π«Ά--versionβ print version information and exit. identity check, iconic behavior π-S,--server-infoβ print information about the JMAP server and exit. a little server vibe check π--mailbox=<name>β additional mailbox to add the message to, in addition toSent. Can be specified multiple times. yes, one message can live in multiple mailboxes β multitasking queen π-c,--config=<file>β use the specified configuration file. point it at ur chosen config, bestie π-d,--debugβ print lots of debugging information. lore dump mode π-t,--read-recipientsβ read recipient addresses from theTo,Cc, andBccheaders of the mail in addition to the ones specified on the command line. the headers are speaking, and weβre listening π-f,--from=<from>β set the envelopeFromaddress if it is missing from the email headers. gotta have a sender, no cap π-i,--ignore-dotsβ compatibility withsendmail(1), ignored option. itβs giving βIβm here for the compatibilityβ π«-X,--logfile=<file>β compatibility withsendmail(1), ignored option. also just vibing in the options list β¨
πΈ CONFIGURATION πΈ
The -c, --config option specifies the configuration file. If the option is omitted, mjmap uses the path in MJMAP_CONFIG when set, then falls back to $XDG_CONFIG_HOME/mjmap/config.scfg. You will find a sample configuration file in /usr/share/mjmap/sample_config.scfg. cute, right? π
The file format is SCFG: https://git.sr.ht/~emersion/scfg.
Minimal example, literally right here:
account "myaccount" {
session-url "https://api.fastmail.com/jmap/session"
token "my_token"
}
There must be a single account entry (the name does not matter and can even be omitted). Which supports the following configuration fields:
session-url "<url>"(mandatory) β the JMAP session endpoint. This is often in the form:"https://<hostname>/.well-known/jmap".tokenβ the secret token used for OAUTH bearer authentication. keep it secret, keep it safe π«Άtoken-cmdβ a command that will print the token value on its standard output to avoid storing it in plain text. The command is executed withsh -c. Example:
token-cmd "pass fastmail/api-token"
usernameβ the username for basic authentication.passwordβ the password for basic authentication.password-cmdβ a command that will print the password value on its standard output to avoid storing it in plain text. The command is executed withsh -c. Example:
password-cmd "pass foobar/jmap-password"
bestie, if youβre putting secrets in plain text, maybe donβt? the *-cmd options are right there for a reason π
π¦ SEE ALSO π¦
π AUTHORS π
Created by Tim Culverhouse who is assisted by other open source contributors. For more information about mjmap development, see https://git.sr.ht/~rockorager/mjmap. icons supporting icons, fr fr π
xoxo bestie β this page is dated 1980-01-01 and signs off as MJMAP(1) π«Άπ
π¦ where this page comes from
- nixpkgs unstable: mjmap 1.1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms