summaryrefslogtreecommitdiff
path: root/.config/mutt/muttrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/mutt/muttrc')
-rw-r--r--.config/mutt/muttrc22
1 files changed, 20 insertions, 2 deletions
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
index 741cdd4..92c650b 100644
--- a/.config/mutt/muttrc
+++ b/.config/mutt/muttrc
@@ -1,8 +1,26 @@
+# Main config for Maildir (by mbsync)
+set folder = "~/Maildir/main"
+set mbox_type = Maildir
+set spoolfile = +Inbox
+set record = +Sent
+set postponed = +Drafts
+set header_cache = ~/.cache/mutt
+
+# Some nice to have
+set sort = threads
+set sort_aux = reverse-last-date-received
+set date_format = "%y/%m/%d %I:%M%p"
+
+# HTML
+set mailcap_path = "~/.config/mutt/mailcap"
+auto_view text/html
+alternative_order text/plain text/enriched text/html
+
# Read imap_pass
source ~/.config/mutt/secret
# IMAP
-set spoolfile = imaps://mail.mehdix.org/
+#set spoolfile = imaps://mail.mehdix.org/
set imap_user = mehdi@mehdix.org
# SMTP
@@ -16,4 +34,4 @@ set smtp_url = smtp://$imap_user@mehdix.org:587/
lists sr.ht-discuss
set reply_to = "ask-yes"
-source ~/.config/mutt/`hostname`
+#source ~/.config/mutt/`hostname`