From 2a04c7f786998410b0afba88094d70ba0ec8bd22 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 5 Mar 2021 15:58:12 +0100 Subject: mutt: configureted for 2+ mails --- mutt/.mbsyncrc | 6 +++++- mutt/.neomutt/first.email | 26 ++++++++++++++++++++++++++ mutt/.neomuttrc | 35 +++++++++-------------------------- 3 files changed, 40 insertions(+), 27 deletions(-) create mode 100644 mutt/.neomutt/first.email (limited to 'mutt') diff --git a/mutt/.mbsyncrc b/mutt/.mbsyncrc index 26aee4c..cb2ed55 100644 --- a/mutt/.mbsyncrc +++ b/mutt/.mbsyncrc @@ -1,4 +1,8 @@ -IMAPStore santo@dcariotti.me-remote +# ================== # +# # +# ================== # + +IMAPStore -remote # Address to connect to Host Port diff --git a/mutt/.neomutt/first.email b/mutt/.neomutt/first.email new file mode 100644 index 0000000..c394da9 --- /dev/null +++ b/mutt/.neomutt/first.email @@ -0,0 +1,26 @@ +set realname = "Santo Cariotti" +set from = "" +set use_from = yes +set envelope_from = yes + +set smtp_url = "smtp://@:/" +set smtp_pass = "" + +set imap_user = "" +set imap_pass = "" + +set folder = "~/.mail/" + +set ssl_force_tls = yes +set sendmail = "msmtp -a " +set mbox_type = Maildir +set spoolfile = +INBOX +set record = +Sent +set postponed = +Drafts +set trash = +Trash +mailboxes =INBOX =Sent =Drafts =Trash + +# synchronization settings ['S' to sync] +macro index S "mbsync -V " "sync email" + +color indicator black color214 diff --git a/mutt/.neomuttrc b/mutt/.neomuttrc index d28af36..7ca9cde 100644 --- a/mutt/.neomuttrc +++ b/mutt/.neomuttrc @@ -1,24 +1,11 @@ -set realname = "Santo Cariotti" -set from = "" -set use_from = yes -set envelope_from = yes +# Folder hooks +folder-hook '' 'source ~/.neomutt/' -set smtp_url = "smtp://@:/" -set smtp_pass = "" +# Default account +source ~/.neomutt/ -set imap_user = "" -set imap_pass = "" - -set folder = "~/.mail/" - -set ssl_force_tls = yes -set sendmail = "msmtp -a " -set mbox_type = Maildir -set spoolfile = +INBOX -set record = +Sent -set postponed = +Drafts -set trash = +Trash -mailboxes =INBOX =Sent =Drafts =Trash +# Macros for switching accounts +macro index 'source ~/.neomutt/!' set editor = "vim" set charset = "utf-8" @@ -51,8 +38,9 @@ bind index,pager J sidebar-next bind index,pager L sidebar-open bind index,pager B sidebar-toggle-visible -# synchronization settings ['s' to sync] -macro index S "mbsync -V " "sync email" +source ~/.neomutt/colors.muttrc +bind index j next-entry +bind index k previous-entry bind pager j next-line bind pager k previous-line @@ -79,8 +67,3 @@ set fcc_attach # save attachments with the body set forward_format = "Fwd: %s" # format of subject when forwarding set mailcap_path = ~/.neomutt/mailcap - -color indicator black yellow - -source ~/.neomutt/colors.muttrc - -- cgit v1.2.3-18-g5258