2020-01-23 23:31:23 +00:00
. \" meli - meli.conf.5
2019-09-16 11:07:38 +00:00
. \"
. \" Copyright 2017-2019 Manos Pitsidianakis
. \"
. \" This file is part of meli.
. \"
. \" meli is free software: you can redistribute it and/or modify
. \" it under the terms of the GNU General Public License as published by
. \" the Free Software Foundation, either version 3 of the License, or
. \" (at your option) any later version.
. \"
. \" meli is distributed in the hope that it will be useful,
. \" but WITHOUT ANY WARRANTY; without even the implied warranty of
. \" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
. \" GNU General Public License for more details.
. \"
. \" You should have received a copy of the GNU General Public License
. \" along with meli. If not, see <http://www.gnu.org/licenses/>.
. \"
.Dd September 16 , 2019
.Dt MELI.CONF 5
2019-11-22 11:12:44 +00:00
.Os
2019-09-16 11:07:38 +00:00
.Sh NAME
.Nm meli.conf
.Nd configuration file for the Meli Mail User Agent
.Sh SYNOPSIS
2020-01-27 22:32:40 +00:00
.Pa $XDG_CONFIG_HOME/meli/config.toml
2019-09-16 11:07:38 +00:00
.Sh DESCRIPTION
2020-01-28 16:43:14 +00:00
Configuration for meli is written in TOML.
Few things to consider before writing TOML (quoting the spec):
2019-09-16 11:07:38 +00:00
.Pp
.Bl -bullet -compact
.It
TOML is case sensitive.
.It
A TOML file must be a valid UTF-8 encoded Unicode document.
.It
Whitespace means tab (0x09) or space (0x20).
.It
Newline means LF (0x0A) or CRLF (0x0D 0x0A).
.El
.Pp
Refer to TOML documentation for valid TOML syntax.
2020-01-28 16:43:14 +00:00
.sp
2020-01-29 03:54:13 +00:00
Though not part of TOML syntax,
2019-11-27 20:13:14 +00:00
.Nm
2020-01-29 03:54:13 +00:00
can have nested configuration files by using the following
.Xr m4 1
include macro:
.Dl include(\&"/path/to/file\&")
2019-09-16 11:07:38 +00:00
.Sh SECTIONS
2020-01-08 19:41:57 +00:00
The top level sections of the config are accounts, shortcuts, notifications, pager, listing, composing, pgp, terminal.
2020-01-28 16:43:14 +00:00
.Sh EXAMPLES
example configuration
.sp
2019-09-16 11:07:38 +00:00
.Bd -literal
# Setting up a Maildir account
[accounts.account-name]
2020-02-26 08:54:10 +00:00
root_mailbox = "/path/to/root/folder"
2019-09-16 11:07:38 +00:00
format = "Maildir"
index_style = "Compact"
2019-09-26 09:10:36 +00:00
identity="email@address.tld"
2020-02-26 08:54:10 +00:00
subscribed_mailboxes = ["folder", "folder/Sent"] # or [ "*", ] for all mailboxes
2019-09-16 11:07:38 +00:00
display_name = "Name"
2020-02-26 08:54:10 +00:00
# Set mailbox-specific settings
[accounts.account-name.mailboxes]
2019-12-18 13:40:57 +00:00
"INBOX" = { alias="Inbox" } #inline table
"drafts" = { alias="Drafts" } #inline table
2020-02-26 08:54:10 +00:00
[accounts.account-name.mailboxes."foobar-devel"] # or a regular table
ignore = true # don't show notifications for this mailbox
2019-09-16 11:07:38 +00:00
# Setting up an mbox account
[accounts.mbox]
2020-02-26 08:54:10 +00:00
root_mailbox = "/var/mail/username"
2019-09-16 11:07:38 +00:00
format = "mbox"
index_style = "Compact"
identity="username@hostname.local"
[pager]
filter = "/usr/bin/pygmentize"
2019-10-03 16:51:34 +00:00
html_filter = "w3m -I utf-8 -T text/html"
2019-09-16 11:07:38 +00:00
[notifications]
script = "notify-send"
2019-09-27 09:48:48 +00:00
[composing]
2019-09-16 11:07:38 +00:00
# required for sending e-mail
mailer_cmd = 'msmtp --read-recipients --read-envelope-from'
2019-09-27 09:48:48 +00:00
editor_cmd = 'vim +/^$'
2019-09-16 11:07:38 +00:00
[shortcuts]
2019-11-26 23:43:03 +00:00
[shortcuts.composing]
edit_mail = 'e'
[shortcuts.listing]
new_mail = 'm'
set_seen = 'n'
2019-10-06 07:58:47 +00:00
[terminal]
theme = "light"
2019-09-16 11:07:38 +00:00
.Ed
.Pp
available options are listed below.
.Sy default values are shown in parentheses.
.Sh ACCOUNTS
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
2020-02-26 08:54:10 +00:00
.It Ic root_mailbox Ar String
the backend-specific path of the root_mailbox, usually INBOX.
2019-12-12 22:13:54 +00:00
.It Ic format Ar String Op maildir mbox imap notmuch jmap
2019-09-16 11:07:38 +00:00
the format of the mail backend.
2020-02-26 08:54:10 +00:00
.It Ic subscribed_mailboxes Ar [String,]
an array of mailbox paths to display in the UI.
Paths are relative to the root mailbox (eg "INBOX/Sent", not "Sent").
2019-11-24 18:44:24 +00:00
The glob wildcard
.Em \& *
2020-02-26 08:54:10 +00:00
can be used to match every mailbox name and path.
2019-11-22 11:12:44 +00:00
.It Ic identity Ar String
2019-09-16 11:07:38 +00:00
your e-mail address that is inserted in the From: headers of outgoing mail
2019-11-22 11:12:44 +00:00
.It Ic index_style Ar String
2019-09-16 11:07:38 +00:00
set the way mailboxes are displayed
.El
2019-11-22 11:12:44 +00:00
.TS
allbox tab(:);
lb l.
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
.TE
.Bl -tag -width 36 n
.It Ic display_name Ar String
2019-09-16 11:07:38 +00:00
(optional) a name which can be combined with your address:
"Name <email@address.tld>"
2019-11-22 11:12:44 +00:00
.It Ic read_only Ar boolean
2019-09-16 11:07:38 +00:00
attempt to not make any changes to this account.
.Pq Em false
2020-01-08 19:41:57 +00:00
.It Ic manual_refresh Ar boolean
2020-03-04 12:11:00 +00:00
(optional) if true, do not monitor account for changes (you can use shortcut listing.refresh)
2020-01-08 19:41:57 +00:00
.Pq Em false
.It Ic refresh_command Ar String
(optional) command to execute when manually refreshing (shortcut listing.refresh)
.Pq Em None
2019-11-22 11:12:44 +00:00
.It Ic cache_type Ar String
2020-01-28 16:43:14 +00:00
(optional) choose which cache backend to use.
Available options are 'none' and 'sqlite3'
2019-11-08 12:40:23 +00:00
.Pq Em "sqlite3"
2019-11-26 23:39:06 +00:00
.It Ic vcard_folder Ar String
2020-01-28 16:43:14 +00:00
(optional) Folder that contains .vcf files.
They are parsed and imported read-only.
2020-02-26 08:54:10 +00:00
.It Ic mailboxes Ar mailbox
(optional) configuration for each mailbox.
2020-01-28 16:43:14 +00:00
Its format is described below in
2020-02-26 08:54:10 +00:00
.Sx mailboxes Ns
2019-09-16 11:07:38 +00:00
\& .
.El
2019-11-14 15:55:06 +00:00
.Sh notmuch only
2020-02-26 08:54:10 +00:00
.Ic root_mailbox
2019-11-22 11:12:44 +00:00
points to the directory which contains the
2019-11-14 15:55:06 +00:00
.Pa .notmuch/
2020-01-28 16:43:14 +00:00
subdirectory.
2020-02-26 08:54:10 +00:00
notmuch mailboxes are virtual, since they are defined by user-given notmuch queries.
Thus you have to explicitly state the mailboxes you want in the
.Ic mailboxes
2019-11-22 11:12:44 +00:00
field and set the
2019-11-14 15:55:06 +00:00
.Ar query
2020-01-28 16:43:14 +00:00
property to each of them.
Example:
2019-11-14 15:55:06 +00:00
.Bd -literal
[accounts.notmuch]
format = "notmuch"
\& ...
2020-02-26 08:54:10 +00:00
[accounts.notmuch.mailboxes]
2019-11-14 15:55:06 +00:00
"INBOX" = { query="tag:inbox", subscribe = true }
"Drafts" = { query="tag:draft", subscribe = true }
"Sent" = { query="from:username@server.tld from:username2@server.tld", subscribe = true }
.Ed
.Sh IMAP only
2019-09-16 11:07:38 +00:00
IMAP specific options are:
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
.It Ic server_hostname Ar String
2019-09-16 11:07:38 +00:00
example:
.Qq mail.example.tld
2019-11-22 11:12:44 +00:00
.It Ic server_username Ar String
.It Ic server_password Ar String
2020-03-12 07:45:18 +00:00
.It Ic server_password_command Ar String
(optional) Use instead of
.Ic server_password
2019-11-22 11:12:44 +00:00
.It Ic server_port Ar number
2019-10-03 16:58:52 +00:00
(optional)
. \" default value
.Pq Em 143
2019-11-22 11:12:44 +00:00
.It Ic use_starttls Ar boolean
2019-10-03 16:58:52 +00:00
(optional) if port is 993 and use_starttls is unspecified, it becomes false by default.
. \" default value
.Pq Em true
2019-11-22 11:12:44 +00:00
.It Ic danger_accept_invalid_certs Ar boolean
2019-09-16 11:07:38 +00:00
(optional) do not validate TLS certificates.
. \" default value
.Pq Em false
.El
2019-12-12 22:13:54 +00:00
.Sh JMAP only
JMAP specific options are:
.Bl -tag -width 36 n
.It Ic server_hostname Ar String
example:
.Qq mail.example.tld
.It Ic server_username Ar String
.It Ic server_password Ar String
.It Ic server_port Ar number
(optional)
. \" default value
.Pq Em 443
.It Ic danger_accept_invalid_certs Ar boolean
(optional) do not validate TLS certificates.
. \" default value
.Pq Em false
.El
2020-02-26 08:54:10 +00:00
.Sh mailboxes
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
2019-12-18 13:40:57 +00:00
.It Ic alias Ar String
2020-02-26 08:54:10 +00:00
(optional) show a different name for this mailbox in the UI
2019-11-22 11:12:44 +00:00
.It Ic autoload Ar boolean
2020-03-02 10:06:19 +00:00
(optional) load this mailbox on startup
. \" default value
.Pq Em true
2019-11-22 11:12:44 +00:00
.It Ic subscribe Ar boolean
2020-02-26 08:54:10 +00:00
(optional) watch this mailbox for updates
2019-09-16 11:07:38 +00:00
. \" default value
.Pq Em true
2019-11-22 11:12:44 +00:00
.It Ic ignore Ar boolean
2020-02-26 08:54:10 +00:00
(optional) silently insert updates for this mailbox, if any
2019-09-16 11:07:38 +00:00
. \" default value
.Pq Em false
2019-11-22 11:12:44 +00:00
.It Ic usage Ar boolean
2020-02-26 08:54:10 +00:00
(optional) special usage of this mailbox.
2020-01-28 16:43:14 +00:00
Valid values are:
2019-09-16 11:07:38 +00:00
.Bl -bullet -compact
.It
.Ar Normal
.It
.Ar Inbox
.It
.Ar Archive
.It
.Ar Drafts
.It
.Ar Flagged
.It
.Ar Junk
.It
.Ar Sent
.It
.Ar Trash
.El
2020-02-26 08:54:10 +00:00
otherwise usage is inferred from the mailbox title.
2019-11-22 11:12:44 +00:00
.It Ic conf_override Ar boolean
2020-02-26 08:54:10 +00:00
(optional) override global settings for this mailbox.
2020-01-28 16:43:14 +00:00
Available sections to override are
2019-09-27 09:48:48 +00:00
.Em pager, notifications, shortcuts, composing
2019-09-16 11:07:38 +00:00
and the account options
.Em identity and index_style Ns
2020-01-28 16:43:14 +00:00
\& .
Example:
2019-09-16 11:07:38 +00:00
.Bd -literal
2020-02-26 08:54:10 +00:00
[accounts."imap.domain.tld".mailboxes."INBOX"]
2019-09-16 11:07:38 +00:00
index_style = "plain"
2020-02-26 08:54:10 +00:00
[accounts."imap.domain.tld".mailboxes."INBOX".pager]
2019-09-16 11:07:38 +00:00
filter = ""
.Ed
.El
2019-09-27 09:48:48 +00:00
.Sh COMPOSING
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
.It Ic mailer_cmd Ar String
2019-09-16 11:07:38 +00:00
command to pipe new mail to, exit code must be 0 for success.
2019-11-22 11:12:44 +00:00
.It Ic editor_cmd Ar String
2020-01-28 16:43:14 +00:00
command to launch editor.
Can have arguments.
Draft filename is given as the last argument.
If it's missing, the environment variable $EDITOR is looked up.
2019-11-22 11:12:44 +00:00
.It Ic embed Ar boolean
2019-11-05 06:35:07 +00:00
(optional) embed editor within meli
. \" default value
.Pq Em false
2019-11-22 11:12:44 +00:00
.It Ic format_flowed Ar boolean
(optional) set format=flowed [RFC3676] in text/plain attachments.
2019-11-17 11:27:22 +00:00
. \" default value
.Pq Em true
2020-03-01 15:45:55 +00:00
.It Ic default_header_values Ar hash table String[String]
Default header values used when creating a new draft.
2019-09-16 11:07:38 +00:00
.El
.Sh SHORTCUTS
Shortcuts can take the following values:
.Qq Em Backspace
.Qq Em Left
.Qq Em Right
.Qq Em Up
.Qq Em Down
.Qq Em Home
.Qq Em End
.Qq Em PageUp
.Qq Em PageDown
.Qq Em Delete
.Qq Em Insert
2019-11-26 23:43:03 +00:00
.Qq Em Enter
.Qq Em Tab
2019-09-16 11:07:38 +00:00
.Qq Em Esc
2019-11-26 23:43:03 +00:00
.Qq Em F1..F12
.Qq Em M-char
.Qq Em C-char
2019-09-16 11:07:38 +00:00
and
.Qq Em char Ns
, where char is a single character string.
2020-01-28 16:43:14 +00:00
.sp
The headings before each list indicate the map key of the shortcut list.
For example for the first list titled
2019-11-26 23:43:03 +00:00
.Em general
the configuration is typed as follows:
.Bd -literal
[shortcuts.general]
next_tab = 'T'
.Ed
2020-01-28 16:43:14 +00:00
.sp
2019-11-26 23:43:03 +00:00
and for
.Em compact-listing Ns
:
.Bd -literal
[shortcuts.compact-listing]
open_thread = "Enter"
exit_thread = 'i'
2020-01-28 16:43:14 +00:00
.Ed
.sp
2019-12-18 13:40:57 +00:00
.Pp
2020-01-28 16:43:14 +00:00
.Em general
2019-11-26 23:43:03 +00:00
.Bl -tag -width 36 n
.It Ic next_tab
Go to next tab.
. \" default value
.Pq Em T
.It Ic go_to_tab
2020-01-28 16:43:14 +00:00
Go to the
2019-11-26 23:43:03 +00:00
.Em n Ns
th tab
.Pq Em cannot be redefined
.El
2020-01-28 16:43:14 +00:00
.sp
.Em listing
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
.It Ic prev_page
2019-09-16 11:07:38 +00:00
Go to previous page.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em PageUp
2019-11-22 11:12:44 +00:00
.It Ic next_page
2019-09-16 11:07:38 +00:00
Go to next page.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em PageDown
2020-02-26 08:54:10 +00:00
.It Ic prev_mailbox
Go to previous mailbox.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em K
2020-02-26 08:54:10 +00:00
.It Ic next_mailbox
Go to next mailbox.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em J
2019-11-22 11:12:44 +00:00
.It Ic prev_account
2019-09-16 11:07:38 +00:00
Go to previous account.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em l
2019-11-22 11:12:44 +00:00
.It Ic next_account
2019-09-16 11:07:38 +00:00
Go to next account.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em h
2019-11-22 11:12:44 +00:00
.It Ic new_mail
2019-09-16 11:07:38 +00:00
Start new mail draft in new tab
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em m
2020-01-08 19:41:57 +00:00
.It Ic set_seen
Set thread as seen.
. \" default value
.Pq Em n
.It Ic refresh
2020-02-26 08:54:10 +00:00
Manually request a mailbox refresh.
2020-01-08 19:41:57 +00:00
. \" default value
.Pq Em F5
2019-11-26 23:43:03 +00:00
.It Ic search
Search within list of e-mails.
. \" default value
.Pq Em /
.It Ic toggle_menu_visibility
Toggle visibility of side menu in mail list.
. \" default value
.Pq Em `
.El
2020-01-28 16:43:14 +00:00
.sp
.Em compact-listing
2019-11-26 23:43:03 +00:00
.Bl -tag -width 36 n
2019-11-22 11:12:44 +00:00
.It Ic exit_thread
2019-09-16 11:07:38 +00:00
Exit thread view
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em i
.It Ic open_thread
Open thread.
. \" default value
.Pq Em Enter
.It Ic select_entry
Select thread entry.
. \" default value
.Pq Em v
.El
2020-01-28 16:43:14 +00:00
.sp
.Em pager
2019-11-26 23:43:03 +00:00
.Bl -tag -width 36 n
2019-11-22 11:12:44 +00:00
.It Ic scroll_up
2019-09-16 11:07:38 +00:00
Scroll up pager.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em k
2019-11-22 11:12:44 +00:00
.It Ic scroll_down
2019-09-16 11:07:38 +00:00
Scroll down pager.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em j
2019-11-22 11:12:44 +00:00
.It Ic page_up
2019-09-16 11:07:38 +00:00
Go to previous pager page
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em PageUp
2019-11-22 11:12:44 +00:00
.It Ic page_down
2019-09-16 11:07:38 +00:00
Go to next pager pag
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em PageDown
.El
2020-01-28 16:43:14 +00:00
.sp
.Em contact-list
2019-11-26 23:43:03 +00:00
.Bl -tag -width 36 n
2019-11-22 11:12:44 +00:00
.It Ic create_contact
2019-09-16 11:07:38 +00:00
Create new contact.
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em c
2019-11-22 11:12:44 +00:00
.It Ic edit_contact
2019-09-16 11:07:38 +00:00
Edit contact under cursor
2019-11-26 23:43:03 +00:00
. \" default value
.Pq Em e
.It Ic mail_contact
Mail contact under cursor
. \" default value
.Pq Em m
.It Ic toggle_menu_visibility
Toggle visibility of side menu in mail list.
. \" default value
.Pq Em `
.El
2020-01-28 16:43:14 +00:00
.sp
.sp
.Em composing
2019-11-26 23:43:03 +00:00
.Bl -tag -width 36 n
.It Ic send_mail
Deliver draft to mailer
. \" default value
.Pq Em s
.It Ic edit_mail
Edit mail.
. \" default value
.Pq Em e
2019-09-16 11:07:38 +00:00
.El
2020-01-28 16:43:14 +00:00
.sp
.Em envelope-view
2019-12-18 13:40:57 +00:00
.Pp
2019-11-26 23:43:03 +00:00
To "select" an attachment, type its index (you will see the typed result in the command buffer on your bottom right of the status line) and then issue the corresponding command.
.Bl -tag -width 36 n
.It Ic add_addresses_to_contacts Ns
Select addresses from envelope to add to contacts.
. \" default value
.Pq Em c
.It Ic view_raw_source
View raw envelope source in a pager.
. \" default value
.Pq Em M-r
.It Ic reply
Reply to envelope.
. \" default value
.Pq Em R
.It Ic edit
Open envelope in composer.
. \" default value
.Pq Em e
.It Ic return_to_normal_view
Return to envelope if viewing raw source or attachment.
. \" default value
.Pq Em r
.It Ic open_attachment
2020-01-28 16:43:14 +00:00
Opens selected attachment with
2019-11-26 23:43:03 +00:00
.Cm xdg-open
. \" default value
.Pq Em a
.It Ic open_mailcap
2020-01-28 16:43:14 +00:00
Opens selected attachment according to its mailcap entry.
See
2019-11-26 23:43:03 +00:00
.Xr meli.1 FILES
for the mailcap file locations.
. \" default value
.Pq Em m
.It Ic go_to_url
Go to url of given index
. \" default value
.Pq Em g
.It Ic toggle_url_mode
2020-01-28 16:43:14 +00:00
Toggles url open mode.
When active, it prepends an index next to each url that you can select by typing and open by issuing
2019-11-26 23:43:03 +00:00
.Ic go_to_url
. \" default value
.Pq Em u
.It Ic toggle_expand_headers
Expand extra headers (References and others)
. \" default value
.Pq Em h
.El
2020-01-28 16:43:14 +00:00
.sp
.Em thread-view
2019-11-26 23:43:03 +00:00
.Bl -tag -width 36 n
.It Ic reverse_thread_order
Reverse thread order.
. \" default value
.Pq Em r
.It Ic toggle_mailview
Toggle mail view visibility.
. \" default value
.Pq Em p
.It Ic toggle_threadview
Toggle thread view visibility.
. \" default value
.Pq Em t
.It Ic collapse_subtree
Collapse thread branches.
. \" default value
.Pq Em h
.It Ic prev_page
Go to previous page.
. \" default value
.Pq Em PageUp
.It Ic next_page
Go to next page.
. \" default value
.Pq Em PageDown
.El
2020-01-28 16:43:14 +00:00
.sp
2019-09-16 11:07:38 +00:00
.Sh NOTIFICATIONS
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
.It Ic enable Ar boolean
2020-01-28 16:43:14 +00:00
enable freedesktop-spec notifications.
this is usually what you want
2019-09-16 11:07:38 +00:00
. \" default value
.Pq Em true
2019-11-22 11:12:44 +00:00
.It Ic script Ar String
2019-09-16 11:07:38 +00:00
(optional) script to pass notifications to, with title as 1st arg and body as 2nd
. \" default value
.Pq Em none
2019-11-22 11:12:44 +00:00
.It Ic xbiff_file_path Ar String
2019-09-16 11:07:38 +00:00
(optional) file that gets its size updated when new mail arrives
.Pq Em none
. \" default value
2019-11-22 11:12:44 +00:00
.It Ic play_sound Ar boolean
2019-09-16 11:07:38 +00:00
(optional) play theme sound in notifications if possible
.Pq Em false
. \" default value
2019-11-22 11:12:44 +00:00
.It Ic sound_file Ar String
2019-09-16 11:07:38 +00:00
(optional) play sound file in notifications if possible
. \" default value
.Pq Em none
.El
.Sh PAGER
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
.It Ic pager_context Ar num
2020-01-28 16:43:14 +00:00
(optional) number of context lines when going to next page.
(Unimplemented)
2019-09-16 11:07:38 +00:00
. \" default value
.Pq Em 0
2019-11-22 11:12:44 +00:00
.It Ic headers_sticky Ar boolean
2019-09-16 11:07:38 +00:00
(optional) always show headers when scrolling.
. \" default value
2019-11-24 18:47:05 +00:00
.Pq Em true
2019-11-22 11:12:44 +00:00
.It Ic html_filter Ar String
2019-10-03 16:51:34 +00:00
(optional) pipe html attachments through this filter before display
. \" default value
.Pq Em none
2019-11-22 11:12:44 +00:00
.It Ic filter Ar String
2019-09-16 11:07:38 +00:00
(optional) a command to pipe mail output through for viewing in pager.
. \" default value
.Pq Em none
2019-11-22 11:12:44 +00:00
.It Ic format_flowed Ar bool
(optional) respect format=flowed
. \" default value
.Pq Em true
.It Ic split_long_lines Ar bool
(optional) Split long lines that would overflow on the x axis.
. \" default value
.Pq Em true
.It Ic minimum_width Ar num
(optional) Minimum text width in columns.
. \" default value
.Pq Em 80
2020-03-01 18:58:24 +00:00
.It Ic auto_choose_multipart_alternative Ar boolean,
(optional) Choose `text/html` alternative if `text/plain` is empty in `multipart/alternative` attachments.
. \" default value
.Pq Em true
2019-09-16 11:07:38 +00:00
.El
2020-01-08 19:41:57 +00:00
.Sh LISTING
.Bl -tag -width 36 n
.It Ic context_lines Ar num
2020-01-28 16:43:14 +00:00
(optional) number of context lines when going to next page.
(Unimplemented)
2020-01-08 19:41:57 +00:00
. \" default value
.Pq Em 0
.It Ic datetime_fmt Ar String
(optional) datetime formatting passed verbatim to strftime(3).
. \" default value
.Pq Em \& %Y-\&%m-\&%d \& %T
.It Ic recent_dates Ar Boolean
(optional) Show recent dates as `X {minutes,hours,days} ago`, up to 7 days.
. \" default value
.Pq Em true
2020-03-01 18:24:00 +00:00
.It Ic filter Ar Query
(optional) Show only envelopes matching this query (for query syntax see
.Xr meli 1 )
. \" default value
.Pq Em None
.Pp
Example:
.Bd -literal
filter = "not flags:seen" # show only unseen messages
.Ed
2020-01-08 19:41:57 +00:00
.El
2019-12-08 09:26:15 +00:00
.Sh TAGS
.Bl -tag -width 36 n
.It Ic colours Ar hash table String[Color]
(optional) set UI colors for tags
2019-12-15 22:14:55 +00:00
.It Ic ignore_tags Ar Array String
2019-12-08 09:26:15 +00:00
(optional) hide tags (not the tagged messages themselves)
2019-12-15 22:14:55 +00:00
.El
2020-01-28 16:43:14 +00:00
.sp
2019-12-15 22:14:55 +00:00
example configuration:
2020-01-28 16:43:14 +00:00
.sp
2019-12-08 09:26:15 +00:00
.Bd -literal
[tags]
# valid inputs: #HHHHHH, #ABC -> #AABBCC, XTERM_NAME, 0-255 byte
colors = { signed="#Ff6600", replied="DeepSkyBlue4", draft="#f00", replied="8" }
[accounts.dummy]
2020-01-27 22:32:40 +00:00
\& ...
2020-02-26 08:54:10 +00:00
[accounts.dummy.mailboxes]
# per mailbox override:
2019-12-08 09:26:15 +00:00
"INBOX" = { tags.ignore_tags=["inbox", ] }
.Ed
2019-09-26 09:10:36 +00:00
.Sh PGP
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
.It Ic auto_verify_signatures Ar boolean
2019-09-26 09:10:36 +00:00
auto verify signed e-mail according to RFC3156
. \" default value
.Pq Em true
2019-11-22 11:12:44 +00:00
.It Ic auto_sign Ar boolean
2019-09-26 09:10:36 +00:00
(optional) always sign sent messages
. \" default value
.Pq Em false
2019-11-22 11:12:44 +00:00
.It Ic key Ar String
2019-09-26 09:10:36 +00:00
(optional) key to be used when signing/encrypting (not functional yet)
. \" default value
.Pq Em none
2019-11-22 11:12:44 +00:00
.It Ic gpg_binary Ar String
2019-09-26 09:10:36 +00:00
(optional) gpg binary name or file location to use
. \" default value
.Pq Em "gpg2"
.El
2019-10-06 07:58:47 +00:00
.Sh TERMINAL
2019-11-22 11:12:44 +00:00
.Bl -tag -width 36 n
.It Ic theme Ar String
2019-10-06 07:58:47 +00:00
(optional) select between these themes: light / dark
. \" default value
.Pq Em dark
2019-11-22 11:12:44 +00:00
.It Ic ascii_drawing Ar boolean
2019-10-06 08:28:12 +00:00
(optional) if true, box drawing will be done with ascii characters.
. \" default value
.Pq Em false
2020-01-27 22:32:40 +00:00
.It Ic use_color Ar boolean
(optional) if false, no ANSI colors are used
. \" default value
.Pq Em true
2019-11-22 11:12:44 +00:00
.It Ic window_title Ar String
2019-10-15 19:58:40 +00:00
(optional) set window title in xterm compatible terminals (empty string means no window title is set)
. \" default value
.Pq Em "meli"
2020-01-27 22:32:40 +00:00
.It Ic themes Ar hash table String[String[Attribute]]
2020-01-28 16:43:14 +00:00
define UI themes.
See
2020-01-27 22:32:40 +00:00
.Xr meli-themes 5
for details.
.Bd -literal
[terminal]
theme = "themeB"
[terminal.themes.themeA]
"mail.view.body" = {fg = "HotPink3", bg = "LightSalmon1"}
\& ...
[terminal.themes.themeB]
"mail.view.body" = {fg = "CadetBlue", bg = "White"}
\& ...
[terminal.themes.themeC]
\& ...
.Ed
2019-10-06 08:28:12 +00:00
.El
2019-09-16 11:07:38 +00:00
.Sh SEE ALSO
2020-01-27 22:32:40 +00:00
.Xr meli 1 ,
.Xr meli-themes 5
2019-09-16 11:07:38 +00:00
.Sh CONFORMING TO
TOML Standard v.0.5.0 https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.5.0.md
.Sh AUTHORS
Copyright 2017-2019
.An Manos Pitsidianakis Aq epilys@nessuent.xyz
2020-01-28 16:43:14 +00:00
Released under the GPL, version 3 or greater.
This software carries no warranty of any kind.
(See COPYING for full copyright and warranty notices.)
2019-09-16 11:07:38 +00:00
.Pp
.Aq https://meli.delivery