msmtp: move config to $XDG_CONFIG_HOME/msmtp
[~bandali/configs] / .config / msmtp / config
1 # Set default values for all following accounts.
2 defaults
3 port 587
4 tls on
5 auth on
6 #tls_trust_file /etc/ssl/certs/ca-certificates.crt
7 logfile ~/.msmtp.log
8
9 # amin
10 account amin
11 host mail.bndl.org
12 # use `msmtp -a amin --serverinfo --tls --tls-certcheck=off --tls-fingerprint=` to get the current fingerprint
13 tls_fingerprint 2A:78:50:28:E5:7E:DB:E4:E8:98:F1:A9:45:4E:97:41:F9:D7:78:CC:9B:84:04:B6:6A:9B:E1:C6:20:EE:0D:8B
14 tls_starttls on
15 from amin@bndl.org
16 user amin@bndl.org
17 passwordeval gpg2 --no-tty -q -d ~/.passwd/amin.gpg
18
19 account aminb : amin
20 from amin@aminb.org
21
22 # gnu
23 account gnu
24 host fencepost.gnu.org
25 # use `msmtp -a gnu --serverinfo --tls --tls-certcheck=off --tls-fingerprint=` to get the current fingerprint
26 tls_fingerprint 2B:CF:6A:F6:B5:9A:49:BC:40:61:2F:00:A8:E2:4B:75:D7:EB:18:94:09:68:6B:90:80:98:DF:62:CE:28:BD:44
27 tls_starttls on
28 from bandali@gnu.org
29 user bandali
30 passwordeval gpg2 --no-tty -q -d ~/.passwd/gnu.gpg
31
32 # gnu (old)
33 account gnu-aminb : gnu
34 from aminb@gnu.org
35 account gnu-amin : gnu
36 from amin@gnu.org
37 account gnu-mab : gnu
38 from mab@gnu.org
39
40 # uwaterloo
41 account uwaterloo
42 host connect.uwaterloo.ca
43 tls_starttls on
44 from abandali@uwaterloo.ca
45 user abandali
46 passwordeval gpg2 --no-tty -q -d ~/.passwd/uwaterloo.gpg
47 tls_trust_file /etc/ssl/certs/ca-certificates.crt
48
49 # csclub
50 account csclub
51 host mail.csclub.uwaterloo.ca
52 tls_starttls on
53 from abandali@csclub.uwaterloo.ca
54 user abandali
55 passwordeval gpg2 --no-tty -q -d ~/.passwd/csclub.gpg
56 tls_trust_file /etc/ssl/certs/ca-certificates.crt
57
58 # Set a default account
59 account default : amin