====== 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 "?" "open a different folder"
macro pager c "?" "open a different folder"
macro index C "?" "copy a message to a mailbox"
macro index M "?" "move a message to a mailbox"
macro compose A "?" "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 =====
https://jonathanh.co.uk/blog/mutt-setup.html