From 156610914715974965b7bb91a4755adafc286963 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 30 Jan 2016 21:35:41 +0800 Subject: Move _msmtprc, _mbsyncrc, _offlineimaprc from private. --- _msmtprc | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 _msmtprc (limited to '_msmtprc') diff --git a/_msmtprc b/_msmtprc new file mode 100644 index 0000000..0cbc3a7 --- /dev/null +++ b/_msmtprc @@ -0,0 +1,98 @@ +## +## ~/.msmtprc +## msmtp configuration +## +## Note: +## * Get server information (e.g., certificate fingerprint): +## $ msmtp --serverinfo --tls --tls-certcheck=off --host= +## +## Reference: +## [1] ArchWiki - msmtp +## https://wiki.archlinux.org/index.php/Msmtp +## +## Aaron LI +## Created: 2015-02-01 +## Updated: 2016-01-29 +## + + +### Default settings for all accounts ### +defaults +auto_from off +auth on +port 587 +tls on +tls_starttls on +tls_certcheck on +# Just use `tls_fingerprint' for better security. +# If use `tls_trust_file', the `tls_crl_file' should also be used. +#tls_trust_file ~/.private/ca-certificates.crt +logfile ~/.msmtp/msmtp.log + + +### Gmail - aaronly.me ### +account gmail-aly +host smtp.gmail.com +# Fingerprint of a single certificate to accept for TLS +# Validity: Wed 20 Jan 2016 07:49:35 PM CST - Tue 19 Apr 2016 08:00:00 AM CST +tls_fingerprint BD:73:EF:CF:E2:A0:34:32:CE:3C:12:C2:34:B8:AC:6A:94:A9:20:76 +from aaronly.me@gmail.com +user aaronly.me@gmail.com +passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/gmail-aly.gpg" + + +### Gmail - liweitianux ### +account gmail-li +host smtp.gmail.com +# Validity: Wed 20 Jan 2016 07:49:35 PM CST - Tue 19 Apr 2016 08:00:00 AM CST +tls_fingerprint BD:73:EF:CF:E2:A0:34:32:CE:3C:12:C2:34:B8:AC:6A:94:A9:20:76 +from liweitianux@gmail.com +user liweitianux@gmail.com +passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/gmail-li.gpg" + + +### Outlook - aaronly.me ### +account outlook-aly +host smtp-mail.outlook.com +# Fingerprint of a single certificate to accept for TLS +# Validity: Wed 16 Dec 2015 06:26:11 AM CST - Fri 16 Dec 2016 06:26:11 AM CST +tls_fingerprint C9:14:DD:96:6D:BD:09:12:C3:6E:C2:94:F8:3D:8D:3B:5A:43:47:29 +from aaronly.me@outlook.com +user aaronly.me@outlook.com +passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/outlook-aly.gpg" + + +### Outlook - liweitianux ### +account outlook-li +host smtp-mail.outlook.com +# Validity: Wed 16 Dec 2015 06:26:11 AM CST - Fri 16 Dec 2016 06:26:11 AM CST +tls_fingerprint C9:14:DD:96:6D:BD:09:12:C3:6E:C2:94:F8:3D:8D:3B:5A:43:47:29 +from liweitianux@live.com +user liweitianux@live.com +passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/outlook-li.gpg" + + +### SJTU - liweitianux ### +account sjtu +host smtp.sjtu.edu.cn +# Validity: Thu 22 May 2014 08:46:47 AM CST - Thu 06 Apr 2017 02:54:22 PM CST +tls_fingerprint B1:EC:0B:44:E7:AE:FB:98:3E:01:DB:C3:C7:43:2B:3A:AE:49:10:FE +from liweitianux@sjtu.edu.cn +user liweitianux@sjtu.edu.cn +passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/sjtu.gpg" + + +### Autistici ### +account autistici +host smtp.autistici.org +#tls_trust_file ~/.private/ca-autistici.crt +# Validity: Sat 23 May 2015 05:57:46 PM CST - Mon 22 May 2017 05:57:46 PM CST +tls_fingerprint D2:85:4A:D7:33:88:48:E5:9B:6A:55:A9:06:3C:ED:76:88:88:69:6F +from liweitianux@autistici.org +user liweitianux@autistici.org +passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/autistici.gpg" + + +### Set the default account ### +account default : outlook-aly + -- cgit v1.2.2