blob: 2a53e103c8db8c0f181990ff8c0d32c78371d5e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
##
## ~/.msmtprc
## msmtp configuration
##
## Note:
## * Get server information (e.g., certificate fingerprint):
## $ msmtp --serverinfo --tls --tls-certcheck=off --host=<host>
##
## Reference:
## [1] ArchWiki - msmtp
## https://wiki.archlinux.org/index.php/Msmtp
##
## Aaron LI
## Created: 2015-02-01
## Updated: 2016-01-31
##
### 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"
### Autistici ###
account foxmail
host smtp.qq.com
# Validity: Wed 27 Jan 2016 08:00:00 AM CST - Mon 24 Oct 2016 07:59:59 AM CST
tls_fingerprint 7A:84:56:68:B9:72:88:AD:8D:26:53:72:F6:E6:E0:41:C7:3E:8D:1E
from liweitianux@foxmail.com
user liweitianux@foxmail.com
passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/foxmail.gpg"
### Set the default account ###
account default : outlook-aly
|