diff options
author | Urbain Vaes <urbain@vaes.uk> | 2020-10-16 18:00:22 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2020-10-16 18:00:22 +0100 |
commit | f1e9d4186e06a223a030179e152d4788ba10343f (patch) | |
tree | 31ad817877666002ca702f4371a76596049d6400 /mutt/.mutt | |
parent | 3ccffd6eddb1d614ff3da9ce48594cd716ddcdcb (diff) |
Add email configuration for ENPC
Diffstat (limited to 'mutt/.mutt')
-rw-r--r-- | mutt/.mutt/id_enpc | 19 | ||||
-rw-r--r-- | mutt/.mutt/id_imperial (renamed from mutt/.mutt/id_work) | 8 | ||||
-rw-r--r-- | mutt/.mutt/mailboxes | 2 | ||||
-rw-r--r-- | mutt/.mutt/muttrc | 9 |
4 files changed, 30 insertions, 8 deletions
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 "<change-folder> +Enpc/Enpc.sent<enter>" +macro index,pager gd "<change-folder> $postponed<enter>" +macro index,pager gb "<change-folder> $trash<enter>" +macro index,pager ga "<change-folder> +Enpc/Enpc.archive<enter>" +macro index,pager s "<save-message>=Enpc/Enpc.archive<enter><sync-mailbox>" + +folder-hook 'Enpc*' 'source ~/.mutt/id_enpc' +# vim: ft=muttrc + diff --git a/mutt/.mutt/id_work b/mutt/.mutt/id_imperial index ac75a03..ed7aeb2 100644 --- a/mutt/.mutt/id_work +++ b/mutt/.mutt/id_imperial @@ -1,14 +1,14 @@ 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" +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 "<change-folder> +Work/Work.sent<enter>" +macro index,pager gs "<change-folder> +Imperial/Imperial.sent<enter>" macro index,pager gd "<change-folder> $postponed<enter>" macro index,pager gb "<change-folder> $trash<enter>" 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 "<change-folder> +Personal/Personal<enter>" -macro index,pager gw "<change-folder> +Work/Work<enter>" +macro index,pager gi "<change-folder> +Imperial/Imperial<enter>" +macro index,pager gw "<change-folder> +Enpc/Enpc<enter>" macro pager u "<pipe-message>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 "<change-folder> +Misc/rss<enter>" |