From 9f195fe44d0181214f9a8bfa98d6cb9ae47d574e Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Sat, 14 Jul 2018 10:40:10 +0100 Subject: [PATCH] Add online mail just for home --- .../.mutt/account.com.friedersdorff.max | 21 +++++++ home_online_mail/.mutt/colors.mutt | 22 +++++++ home_online_mail/.mutt/gpg.rc | 9 +++ home_online_mail/.mutt/muttrc | 59 ++++++++++++++++++ home_online_mail/.mutt/passwords.gpg | Bin 0 -> 405 bytes 5 files changed, 111 insertions(+) create mode 100644 home_online_mail/.mutt/account.com.friedersdorff.max create mode 100644 home_online_mail/.mutt/colors.mutt create mode 100644 home_online_mail/.mutt/gpg.rc create mode 100644 home_online_mail/.mutt/muttrc create mode 100644 home_online_mail/.mutt/passwords.gpg diff --git a/home_online_mail/.mutt/account.com.friedersdorff.max b/home_online_mail/.mutt/account.com.friedersdorff.max new file mode 100644 index 0000000..e756dc6 --- /dev/null +++ b/home_online_mail/.mutt/account.com.friedersdorff.max @@ -0,0 +1,21 @@ +unmailboxes * + +set imap_user = "max@friedersdorff.com" +set imap_pass = $my_personal_password +set smtp_url = "smtp://max@friedersdorff.com@mail.friedersdorff.com:587" +set smtp_pass = $my_personal_password +set from = "max@friedersdorff.com" +set realname = "Maximilian Friedersdorff" +set folder = "imaps://max@friedersdorff.com@mail.friedersdorff.com:993" +set spoolfile = "+INBOX" +set postponed = "+Drafts" +set header_cache = ~/.mutt/com.friedersdorff.max/cache/headers +set message_cachedir = ~/.mutt/com.friedersdorff.max/cache/bodies +set certificate_file = ~/.mutt/com.friedersdorff.max/certificates + +set trash = "+Trash" +set record = "+Sent" + +set pgp_sign_as="0xDA2EDF6D" + +mailboxes "+INBOX" "+todo" "+quicknote" "+google" diff --git a/home_online_mail/.mutt/colors.mutt b/home_online_mail/.mutt/colors.mutt new file mode 100644 index 0000000..4f97f8b --- /dev/null +++ b/home_online_mail/.mutt/colors.mutt @@ -0,0 +1,22 @@ +# vim: filetype=muttrc + +color normal brightyellow default +color error red default +color tilde black default +color message cyan default +color markers red white +color attachment white default +color search brightmagenta default +color status brightyellow black +color indicator brightblack yellow +color tree yellow default # arrow in threads + +color index brightmagenta default "~Q" # messages that have been replied to +color index blue default "~U" # unread messages +color index blue default "~U~$" # unread, unreferenced messages +color index black red "~D" # deleted messages + +# Sidebar +color sidebar_indicator default color17 +color sidebar_highlight default color238 +color sidebar_new green default diff --git a/home_online_mail/.mutt/gpg.rc b/home_online_mail/.mutt/gpg.rc new file mode 100644 index 0000000..b2cca5b --- /dev/null +++ b/home_online_mail/.mutt/gpg.rc @@ -0,0 +1,9 @@ +set crypt_autosign +set crypt_autopgp +set crypt_replyencrypt +set crypt_replysign +set crypt_replysignencrypted +set crypt_timestamp +set crypt_use_gpgme +set pgp_use_gpg_agent +set pgp_auto_decode diff --git a/home_online_mail/.mutt/muttrc b/home_online_mail/.mutt/muttrc new file mode 100644 index 0000000..2daed34 --- /dev/null +++ b/home_online_mail/.mutt/muttrc @@ -0,0 +1,59 @@ +macro index 'c' '?^K+' + +# Source the passwords file +#source "gpg2 -dq ~/.mutt/passwords.gpg |" +set my_personal_password=`pass Home/xenon/mail/max@friedersdorff.com | head -n 1` +# Always check personal email first +source ~/.mutt/account.com.friedersdorff.max + +# Automatically render html emails. Not sure if this is a good idea +auto_view text/html +alternative_order text/plain text/enriched text/html + +# use abook for aliases +set alias_file=~/.mutt/aliases +set sort_alias= alias +source $alias_file + +# View urls more easily with urlview +macro index \cb "|urlview\n" +macro pager \cb "|urlview\n" + +set text_flowed=yes +set reflow_text=yes + +set editor="vim +':set textwidth=72' +'set fo=aw'" + +# Encryption +source ~/.mutt/gpg.rc + +# Speed up folder switch +set sleep_time=0 + +# Mutt colors +source ~/.mutt/colors.mutt + +set sort=threads +set sort_aux=last-date-received + +set fast_reply=yes + +# Show message some message headers when reading mail +set pager_index_lines=10 + +# Remove all headers by default +ignore * +unignore from date subject to cc + +# Use sidebar +set mail_check_stats +set sidebar_visible=yes +set sidebar_width=25 +set sidebar_folder_indent=yes +set sidebar_short_path=yes +set sidebar_divider_char='│' +set sidebar_format='%B%* %N' + +bind index,pager \CP sidebar-prev +bind index,pager \CN sidebar-next +bind index,pager \CO sidebar-open diff --git a/home_online_mail/.mutt/passwords.gpg b/home_online_mail/.mutt/passwords.gpg new file mode 100644 index 0000000000000000000000000000000000000000..6c3883bc6e3a80b6477c8189de9acb911a717d35 GIT binary patch literal 405 zcmV;G0c!q*0Sp7T%)}e0opU4s2mqZ8{1^SAB61m!oEBA#p54kgRTyvgoe~2-3cKIF zSHk*=OR&->Fi4y54b{@DKUVTFNyDk0u%oHOF;C$3B=bI;s-h%KJ#bTXo4*0c>e!V} zVTJvgF00DyXvaUeQSNx-<{lscfmE~h4>SOV;#vN+IM0lqY<r`RcioaHChVe&=9#ep-{~q+KbFB8q4a4tJ>An)zq45F1YmjgH-pFRF4exx3WBj$=mQJV zQXm(>D{=VXwU{e>Ka$uHkUzA|8jm$;4K*-kRXw&On5pA{r|OL0g5F)fZ~}bC_Y1=5 zDB5Oo6#fZjU@go