From f1e9d4186e06a223a030179e152d4788ba10343f Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 16 Oct 2020 18:00:22 +0100 Subject: Add email configuration for ENPC --- mutt/.mutt/id_enpc | 19 +++++++++++++++++++ mutt/.mutt/id_imperial | 15 +++++++++++++++ mutt/.mutt/id_work | 15 --------------- mutt/.mutt/mailboxes | 2 +- mutt/.mutt/muttrc | 9 ++++++--- 5 files changed, 41 insertions(+), 19 deletions(-) create mode 100644 mutt/.mutt/id_enpc create mode 100644 mutt/.mutt/id_imperial delete mode 100644 mutt/.mutt/id_work (limited to 'mutt/.mutt') diff --git a/mutt/.mutt/id_enpc b/mutt/.mutt/id_enpc new file mode 100644 index 0000000..82bca7d --- /dev/null +++ b/mutt/.mutt/id_enpc @@ -0,0 +1,19 @@ +set from = "urbain.vaes@enpc.fr" +set sendmail="/usr/bin/msmtp -a enpc" + +set spoolfile = "+Enpc/Enpc" +set postponed = "+Enpc/Enpc.drafts" +set trash = "+Enpc/Enpc.bin" + +# Record not necessary because outlook saves messages +unset record + +macro index,pager gs " +Enpc/Enpc.sent" +macro index,pager gd " $postponed" +macro index,pager gb " $trash" +macro index,pager ga " +Enpc/Enpc.archive" +macro index,pager s "=Enpc/Enpc.archive" + +folder-hook 'Enpc*' 'source ~/.mutt/id_enpc' +# vim: ft=muttrc + diff --git a/mutt/.mutt/id_imperial b/mutt/.mutt/id_imperial new file mode 100644 index 0000000..ed7aeb2 --- /dev/null +++ b/mutt/.mutt/id_imperial @@ -0,0 +1,15 @@ +set from = "u.vaes13@imperial.ac.uk" +set sendmail="/usr/bin/msmtp -a imperial" + +set spoolfile = "+Imperial/Imperial" +set postponed = "+Imperial/Imperial.drafts" +set trash = "+Imperial/Imperial.bin" + +# Record not necessary because outlook saves messages +unset record + +macro index,pager gs " +Imperial/Imperial.sent" +macro index,pager gd " $postponed" +macro index,pager gb " $trash" + +# vim: ft=muttrc diff --git a/mutt/.mutt/id_work b/mutt/.mutt/id_work deleted file mode 100644 index ac75a03..0000000 --- a/mutt/.mutt/id_work +++ /dev/null @@ -1,15 +0,0 @@ -set from = "u.vaes13@imperial.ac.uk" -set sendmail="/usr/bin/msmtp -a imperial" - -set spoolfile = "+Work/Work" -set postponed = "+Work/Work.drafts" -set trash = "+Work/Work.bin" - -# Record not necessary because outlook saves messages -unset record - -macro index,pager gs " +Work/Work.sent" -macro index,pager gd " $postponed" -macro index,pager gb " $trash" - -# vim: ft=muttrc diff --git a/mutt/.mutt/mailboxes b/mutt/.mutt/mailboxes index 96bf701..9abd94f 100644 --- a/mutt/.mutt/mailboxes +++ b/mutt/.mutt/mailboxes @@ -1 +1 @@ -mailboxes "+Work/Work" "+Work/Work.bin" "+Work/Work.drafts" "+Work/Work.sent" "+Personal/Personal" "+Personal/Personal.bin" "+Personal/Personal.drafts" "+Personal/Personal.sent" "+Misc/rss" "+Misc/lists" +mailboxes "+Enpc/Enpc" "+Enpc/Enpc.bin" "+Enpc/Enpc.drafts" "+Enpc/Enpc.sent" "+Enpc/Enpc.archive" "+Imperial/Imperial" "+Imperial/Imperial.bin" "+Imperial/Imperial.drafts" "+Imperial/Imperial.sent" "+Personal/Personal" "+Personal/Personal.bin" "+Personal/Personal.drafts" "+Personal/Personal.sent" "+Misc/rss" "+Misc/lists" diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index 7ad8cbf..a75c088 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -13,7 +13,7 @@ source `FILE=$HOME/.mutt/colors/$COLORSCHEME.muttrc; if [ ! -s "$FILE" ]; then F source ~/.mutt/crypto source ~/.mutt/alias source ~/.mutt/mailboxes -source ~/.mutt/id_work +source ~/.mutt/id_enpc # General set realname = "Urbain Vaes" @@ -51,6 +51,7 @@ bind index,pager O sidebar-open # Prompts set delete = yes set quit = yes +set confirmappend = no # Pager set pager_stop @@ -69,7 +70,8 @@ set index_format="%X %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" # Macros macro index,pager gp " +Personal/Personal" -macro index,pager gw " +Work/Work" +macro index,pager gi " +Imperial/Imperial" +macro index,pager gw " +Enpc/Enpc" macro pager u "urlview\n" # Key bindings @@ -92,7 +94,8 @@ bind pager R group-reply macro compose \CA "!mutt_attach\n" # Hooks -folder-hook 'Work*' 'source ~/.mutt/id_work' +folder-hook 'Enpc*' 'source ~/.mutt/id_enpc' +folder-hook 'Imperial*' 'source ~/.mutt/id_imperial' folder-hook 'Personal*' 'source ~/.mutt/id_personal' macro index,pager gr " +Misc/rss" -- cgit v1.2.3