content:linux:mutt
Table of Contents
Mutt
Intro
Client di posta via terminale.
Configurazione
Prerequisiti
Installare w3m.
muttrc
Usa un file di configurazione; sul pc Saturno è stato creato come:
~.mutt/muttrc
con questo contenuto:
set mbox_type=Maildir set folder="~/Maildir" set mask="!^\\.[^.]" set mbox="~/Maildir" set record="+.Sent" set postponed="+.Drafts" set spoolfile="~/Maildir" set sort = reverse-date-received set index_format="%Z %{%Y %b %e %H:%M} %?X?(%X)& ? %-22.22F %.100s %> %5c " set mailcap_path = "~/.mutt/mailcap" # Tells Mutt to automatically view files with these mime types auto_view text/html # Order to try and show multipart emails alternative_order text/plain text/enriched text/html mailboxes `echo -n "+ "; find ~/Maildir -maxdepth 1 -type d -name ".*" -printf "+'%f' "` macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder" macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder" macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox" macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox" macro compose A "<attach-message>?<toggle-mailboxes>" "attach message(s) to this message"
mailcap
~.mutt/mailcap
text/html; $BROWSER %s text/html; w3m -I %{charset} -T text/html -dump; copiousoutput;
Uso
Cambia Cartella: c
Ricerca: l (sta per limit)
Riferimenti
content/linux/mutt.txt · Last modified: 2022/07/02 11:13 by admin