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:
less
less -r
Each 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
query
not =
"not"
|
"!"
has_attachment =
"has:attachment"
|
"has:attachments"
quoted =
ALPHA / SP *(ALPHA / DIGIT / SP)
term = ALPHA
*(ALPHA / DIGIT)
|
DQUOTE
quoted DQUOTE
tagname = term
flagval
= "passed"
|
"replied"
|
"seen"
|
"read"
|
"junk"
|
"trash"
|
"trashed"
|
"draft"
|
"flagged"
|
tagname
flagterm
= flagval
|
flagval
"," flagterm
flags = "flag:" flag
|
"flags:"
flag
|
"tag:"
flag
|
"tags:"
flag
|
"is:"
flag
from = "from:" term
to = "to:" term
cc = "cc:" term
bcc = "bcc:" term
message_id = "message-id:"
term
|
"msg-id:"
term
in_reply_to = "in-reply-to:" term
references = "references:" term
header = "header:" field_name ","
field_value
field_name
= term
field_value
= term
all_addresses = "all-addresses:"
term
subject = "subject:" term
meli
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 FLAG
and
flag unset FLAG
meli
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 TAG
and
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_file
See meli.conf(5) ACCOUNTS for the complete account contact configuration values.
Esc
key.set
plain | threaded |
compact | conversationsconversations | 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_snooze
search
STRINGselect
STRINGclear-selection
set
seen | unseenimport
FILEPATH MAILBOX_PATHcopyto,
moveto
MAILBOX_PATHcopyto,
moveto
ACCOUNT
MAILBOX_PATHdelete
export-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]filter
pager.named_filters
configuration value (See meli.conf(5) PAGER for its
syntax)list-post
list-unsubscribe
list-archive
xdg-open
mailto
MAILTO_ADDRESSmailto
: address.add-attachment
PATHadd-attachment
<
CMD ARGSadd-attachment-file-picker
file_picker_command
in
meli.conf(5) TERMINALadd-attachment-file-picker
<
CMD ARGSremove-attachment
INDEXtoggle
sign
save-draft
open-in-tab
close
setenv
KEY=VALUEprintenv
KEYquit
meli
.reload-config
meli
.meli
exits with 0 on a successful run.
Other exit statuses are:
EDITOR
MELI_CONFIG
NO_COLOR
use_color
overrides
this.meli
uses the following parts of the XDG
standard:
XDG_CONFIG_HOME
XDG_CACHE_HOME
and 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 |