From: Maximilian Friedersdorff Date: Sat, 14 Jul 2018 09:40:10 +0000 (+0100) Subject: Add online mail just for home X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=9f195fe44d0181214f9a8bfa98d6cb9ae47d574e;p=max%2Fdotfiles.git Add online mail just for home --- 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 0000000..6c3883b Binary files /dev/null and b/home_online_mail/.mutt/passwords.gpg differ