From: Maximilian Friedersdorff Date: Fri, 29 Jan 2016 18:07:26 +0000 (+0000) Subject: fix mutt passwords X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;ds=inline;h=33f978f402c0b4138fab453d94c4eab6ff6a523c;p=max%2Fdotfiles.git fix mutt passwords Now encrypted with gpg --- diff --git a/mutt/account.com.friedersdorff.max b/mutt/account.com.friedersdorff.max new file mode 100644 index 0000000..d67ad5d --- /dev/null +++ b/mutt/account.com.friedersdorff.max @@ -0,0 +1,12 @@ +set imap_user = "max@friedersdorff.com" +set imap_pass = $my_personal_password +set smtp_url = "smtp://max@mail.friedersorff.com:587" +set smtp_pass = $my_personal_password +set from = "max@friedersdorff.com" +set realname = "Maximilian Friedersdorff" +set folder = "imaps://max@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 diff --git a/mutt/account.com.gmail.maxf130 b/mutt/account.com.gmail.maxf130 new file mode 100644 index 0000000..fdff011 --- /dev/null +++ b/mutt/account.com.gmail.maxf130 @@ -0,0 +1,12 @@ +set imap_user = "maxf130@gmail.com" +set imap_pass = $my_personal_gmail_password +set smtp_url = "smtp://maxf130@smtp.gmail.com:587" +set smtp_pass = $my_personal_gmail_password +set from = "maxf130@gmail.com" +set realname = "Maximilian Friedersdorff" +set folder = "imaps://imap.gmail.com:993" +set spoolfile = "+INBOX" +set postponed = "+[Gmail]/Drafts" +set header_cache = ~/.mutt/com.gmail.maxf130.account/cache/headers +set message_cachedir = ~/.mutt/com.gmail.maxf130.account/cache/bodies +set certificate_file = ~/.mutt/com.gmail.maxf130.account/certificates diff --git a/mutt/account.uk.ac.le.student.mf195 b/mutt/account.uk.ac.le.student.mf195 new file mode 100644 index 0000000..6013b83 --- /dev/null +++ b/mutt/account.uk.ac.le.student.mf195 @@ -0,0 +1,12 @@ +set imap_user = "mf195@student.le.ac.uk" +set imap_pass = $my_student_password +set smtp_url = "smtp://mf195@smtp.office365.com:587" +set smtp_pass = $my_student_password +set from = "mf195@student.le.ac.uk" +set realname = "Maximilian Friedersdorff" +set folder = "imaps://outlook.office365.com:993" +set spoolfile = "+INBOX" +set postponed = "+Drafts" +set header_cache = ~/.mutt/uk.ac.le.student.mf195/cache/headers +set message_cachedir = ~/.mutt/uk.ac.le.student.mf195/cache/bodies +set certificate_file = ~/.mutt/uk.ac.le.student.mf195/certificates diff --git a/mutt/makelinks.sh b/mutt/makelinks.sh index 18f2443..764c320 100755 --- a/mutt/makelinks.sh +++ b/mutt/makelinks.sh @@ -1,7 +1,7 @@ dir=~/etc/dotfiles/mutt olddir=~/etc/dotfiles.bak/mutt target=~/.mutt -files="account.com.friedersdorff.max account.com.gmail.maxf130 account.uk.ac.le.student.mf195 mailcap muttrc" +files="account.com.friedersdorff.max account.com.gmail.maxf130 account.uk.ac.le.student.mf195 mailcap muttrc passwords.gpg" directories="com.friedersdorff.max com.gmail.maxf130.account uk.ac.le.student.mf195" mkdir -p $olddir diff --git a/mutt/muttrc b/mutt/muttrc index 10986d1..65132ff 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -8,6 +8,8 @@ folder-hook 'friedersdorff.com' 'source ~/.mutt/account.com.friedersdorff.max' folder-hook 'office365.com' 'source ~/.mutt/account.uk.ac.le.student.mf195' folder-hook 'gmail.com' 'source ~/.mutt/account.com.gmail.maxf130' +# Source the passwords file +source "gpg -dq ~/.mutt/passwords.gpg |" # Always check personal email first source ~/.mutt/account.com.friedersdorff.max diff --git a/mutt/passwords.gpg b/mutt/passwords.gpg new file mode 100644 index 0000000..1ed4e2b --- /dev/null +++ b/mutt/passwords.gpg @@ -0,0 +1,3 @@ +… ·ÌĨs$ý—VPuyí˜(z™OLè-î[k\_ZH ¡‚Difªy +ÄH¦åe•æhTNo·Ùs½VX©'}‡;”Êc\õçÔ>LȘlߓ90_?’ðʶ:„> à\ʲD¿×Ù¬…?11!ï™XÕ6¢· +SVDÏÜÑ{jìróh†àïŒâÔ³£ÚCßõ$»a‰õÔùۘª5î•ë?–c•P…Rok9ƒ+7¬%š…YäçnŠ‚KnY̓áØÄ׏ø™ú«¨<–Ãð 22 ®bŽÙ‰&¢´õ³%ÀËQ³¼­‡Õ™Sü®‘ÄYõ|sôÌ*OÝ›Ö̬ҟ*úBý.±Ûš^>&”(½·BI÷ò«iaŸ4Ä¢!º±’Zvþµü–÷Q„˜q1ק—(¬bhPþ„2Ö(Ù÷ceO´÷í•"ãS×yŸ|íP–*«•5¥Y¯ŽcSàJ!AÁYSœÒÇÿ²8¡“„ŠÖ‡¬‚¹ äj>XTN6™Yù%¾Y…óIáaÖÝz¼,sŒ`ÏAqK: \ No newline at end of file