| MELI(1) | General Commands Manual | MELI(1) |
meli — terminal
e-mail client μέλι is the
Greek word for honey
meli |
[--help | -h]
[--version | -v]
[--config path]
|
meli is a terminal mail client aiming for
extensive and user-friendly configurability.
^^ .-=-=-=-. ^^
^^ (`-=-=-=-=-`) ^^
(`-=-=-=-=-=-=-`) ^^ ^^
^^ (`-=-=-=-=-=-=-=-`) ^^
( `-=-=-=-(@)-=-=-` ) ^^
(`-=-=-=-=-=-=-=-=-`) ^^
(`-=-=-=-=-=-=-=-=-`) ^^
(`-=-=-=-=-=-=-=-=-`)
^^ (`-=-=-=-=-=-=-=-=-`) ^^
^^ (`-=-=-=-=-=-=-=-`) ^^
(`-=-=-=-=-=-=-`) ^^
^^ (`-=-=-=-=-`)
`-=-=-=-=-` ^^
When launched for the first time, meli
will search for its configuration directory,
$XDG_CONFIG_HOME/meli/. If it doesn't exist, you
will be asked if you want to create one and presented with a sample
configuration file
($XDG_CONFIG_HOME/meli/config.toml) that includes
the basic settings required for setting up accounts allowing you to copy and
edit right away. See meli.conf(5) for the available
configuration options.
At any time, you may press ⟨?⟩ (shortcuts.general.toggle_help) for a searchable list of all available actions and shortcuts, along with every possible setting and command that your version supports.
Each mailbox may be viewed in 4 modes:
If you're using a light color palette in your terminal, you should set theme = light in the terminal section of your configuration. See meli-themes(5) for complete documentation on user themes.
See meli(7) for a more detailed tutorial on
using meli.
See meli.conf(5) SHORTCUTS for shortcuts and their default values.
Open attachments by typing their index in the attachments list and
then ⟨a⟩
(shortcuts.envelope_view.open_attachment).
meli will attempt to open text inside its pager, and
other content via xdg-open. Press
⟨m⟩ (shortcuts.envelope_view.open_mailcap)
instead to use the mailcap entry for the MIME type of the attachment, if
any. See FILES for the location of the
mailcap files and mailcap(5) for their syntax. You can
save individual attachments with the following command:
save-attachment
INDEX path-to-fileINDEX is the attachment's index in the listing.
You can pipe individual attachments to binaries with the following command:
pipe-attachment
INDEX binary
ARGSExample usage with the less(1) pager:
lessless -rEach e-mail storage backend has a default search method assigned.
IMAP uses
the SEARCH command,
notmuch
uses libnotmuch and Maildir/mbox performs a slow linear
search. It is advised to use a search backend on
Maildir/mbox accounts. meli, if
built with sqlite3, includes the ability to perform full text search on the
following fields:
From,
To,
Cc,
Bcc,
In-Reply-To,
References,
Subject
and Date.
The message body (in plain text human readable form) and the flags can also
be queried. To enable sqlite3 indexing for an account set
search_backend to sqlite3 in the
configuration file and to create the sqlite3 index issue command:
reindex
ACCOUNT_NAMETo search in the message body type your keywords without any special formatting. To search in specific fields, prepend your search keyword with "field:" like so:
Boolean operators are or, and and not (alias: !) String keywords with spaces must be quoted. Quotes should always be escaped.
To prevent downloading all your messages from your IMAP/JMAP
server, don't set search_backend to
sqlite3. meli will relay your
queries to the IMAP server. Expect a delay between query and response.
Sqlite3 on the contrary at reasonable mailbox sizes should have a non
noticeable delay.
query =
"(" query ")" |
from
| to |
cc |
bcc
|
message_id
|
in_reply_to
|
references
|
header
|
all_addresses
|
subject
|
flags
|
has_attachment
| query
"or" query |
query
"and" query |
not
querynot =
"not" |
"!"has_attachment =
"has:attachment" |
"has:attachments"quoted =
ALPHA / SP *(ALPHA / DIGIT / SP)term = ALPHA
*(ALPHA / DIGIT) |
DQUOTE
quoted DQUOTEtagname = termflagval
= "passed" |
"replied"
|
"seen"
|
"read"
|
"junk"
|
"trash"
|
"trashed"
|
"draft"
|
"flagged"
|
tagnameflagterm
= flagval |
flagval
"," flagtermflags = "flag:" flag |
"flags:"
flag |
"tag:"
flag |
"tags:"
flag |
"is:"
flagfrom = "from:" termto = "to:" termcc = "cc:" termbcc = "bcc:" termmessage_id = "message-id:"
term |
"msg-id:"
termin_reply_to = "in-reply-to:" termreferences = "references:" termheader = "header:" field_name ","
field_valuefield_name
= termfield_value
= termall_addresses = "all-addresses:"
termsubject = "subject:" termmeli supports the basic maildir flags:
passed, replied, seen, trashed, draft and flagged. Flags can be searched
with the ‘flags:’ prefix in a search
query, and can be modified by
flag set FLAGand
flag unset FLAGmeli supports tagging in notmuch and
IMAP/JMAP backends. Tags can be searched with the
‘tags:’ or
‘flags:’ prefix in a search query, and
can be modified by
tag add TAGand
tag remove TAG(see meli.conf(5) TAGS, settings
colors and ignore_tags for
how to set tag colors and tag visibility)
To create a new mail message, press ⟨m⟩ (shortcuts.listing.new_mail) while viewing a mailbox. To reply to a mail, press ⟨R⟩ (shortcuts.envelope_view.reply). Both these actions open the mail composer view in a new tab.
Esc key to exit.editor_command for how to select which
editor to launch).meli's embed
terminal emulator by setting embed to
true in your
composing settings (You can return to meli at any
time by pressing ⟨Ctrl-Z⟩)meli press
⟨Ctrl-z⟩ and to resume editing press the
edit command again.Attachments may be handled with the
add-attachment,
remove-attachment commands (see below).
Finally, pressing
⟨s⟩ (shortcuts.composing.send_mail)
will send your message according to your settings (see
meli.conf(5) COMPOSING, setting name
send_mail). With no Draft or Sent mailbox,
meli tries first saving mail in your INBOX and then
at any other mailbox. On complete failure to save your draft or sent message
it will be saved in your
tmp
directory instead and you will be notified of its location.
To save your draft without sending it, issue
COMMAND close and select 'save as
draft'.
To open a draft for further editing, select your draft in the mail
listing and press edit.
meli supports three kinds of contact
backends:
vcard_folder
option in the account section. The path defined as
vcard_folder can hold multiple vCards per file.
They are loaded read only.mutt_alias_fileSee meli.conf(5) ACCOUNTS for the complete account contact configuration values.
Esc key.set
plain | threaded |
compact | conversations| conversations | shows one entry per thread |
| compact | shows one row per thread |
| threaded | shows threads as a tree structure |
| plain | shows one row per mail, regardless of threading |
sort
[subject | date]
asc | descsubsort
[subject | date]
asc | descgo
ntoggle
thread_snoozesearch
STRINGselect
STRINGclear-selectionset
seen | unseenimport
FILEPATH MAILBOX_PATHcopyto,
moveto MAILBOX_PATHcopyto,
moveto ACCOUNT
MAILBOX_PATHdeleteexport-mbox
FILEPATHcreate-mailbox
ACCOUNT MAILBOX_PATHsubscribe-mailbox
ACCOUNT MAILBOX_PATHunsubscribe-mailbox
ACCOUNT MAILBOX_PATHrename-mailbox
ACCOUNT MAILBOX_PATH_SRC
MAILBOX_PATH_DESTdelete-mailbox ACCOUNT
MAILBOX_PATHpipe
EXECUTABLE [ARGS]filter
EXECUTABLE [ARGS]filterpager.named_filters
configuration value (See meli.conf(5) PAGER for its
syntax)list-postlist-unsubscribelist-archivexdg-openmailto
MAILTO_ADDRESSmailto: address.add-attachment
PATHadd-attachment
< CMD ARGSadd-attachment-file-pickerfile_picker_command in
meli.conf(5) TERMINALadd-attachment-file-picker
< CMD ARGSremove-attachment
INDEXtoggle
signsave-draftopen-in-tabclosesetenv
KEY=VALUEprintenv
KEYquitmeli.reload-configmeli.meli exits with 0 on a successful run.
Other exit statuses are:
EDITORMELI_CONFIGNO_COLORuse_color overrides
this.meli uses the following parts of the XDG
standard:
XDG_CONFIG_HOMEXDG_CACHE_HOMEand appropriates the following locations:
meli.Mailcap entries are searched for in the following files, in this order:
meli.conf(5), meli-themes(5), meli(7), xdg-open(1), mailcap(5)
Copyright 2017–2024 Manos Pitsidianakis <manos@pitsidianak.is>
Released under the GPL, version 3 or greater. This software carries no warranty of any kind. (See COPYING for full copyright and warranty notices.)
| March 10, 2024 | Debian |