emacs: don’t hard code msmtp’s location, use executable-find instead
[~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.shemshak.org
12 # use `msmtp -a amin --serverinfo --tls --tls-certcheck=off --tls-fingerprint=` to get the current fingerprint
13 tls_fingerprint 2F:48:C6:F4:BA:AB:3F:52:84:06:56:33:4B:29:57:84:0F:74:1B:DB:C1:83:25:03:67:05:9A:D4:2A:CE:D4:00
14 tls_starttls on
15 from amin@shemshak.org
16 user amin@shemshak.org
17 passwordeval gpg2 --no-tty -q -d ~/.passwd/amin.gpg
18
19 account aminb : amin
20 from amin@aminb.org
21 account bndl : amin
22 from amin@bndl.org
23
24 # gnu
25 account gnu
26 host fencepost.gnu.org
27 # use `msmtp -a gnu --serverinfo --tls --tls-certcheck=off --tls-fingerprint=` to get the current fingerprint
28 tls_fingerprint 13:CE:26:A2:60:33:FB:E0:B1:3E:91:06:AD:67:7A:A3:55:40:BA:04:80:D4:A7:DC:EE:35:89:E8:B6:58:94:AF
29 tls_starttls on
30 from bandali@gnu.org
31 user bandali
32 passwordeval gpg2 --no-tty -q -d ~/.passwd/gnu.gpg
33
34 # gnu (old)
35 account gnu-aminb : gnu
36 from aminb@gnu.org
37 account gnu-amin : gnu
38 from amin@gnu.org
39 account gnu-mab : gnu
40 from mab@gnu.org
41
42 # uwaterloo
43 account uwaterloo
44 host connect.uwaterloo.ca
45 tls_starttls on
46 from abandali@uwaterloo.ca
47 user abandali
48 passwordeval gpg2 --no-tty -q -d ~/.passwd/uwaterloo.gpg
49 tls_trust_file /etc/ssl/certs/ca-certificates.crt
50
51 # csclub
52 account csclub
53 host mail.csclub.uwaterloo.ca
54 tls_starttls on
55 from abandali@csclub.uwaterloo.ca
56 user abandali
57 passwordeval gpg2 --no-tty -q -d ~/.passwd/csclub.gpg
58 tls_trust_file /etc/ssl/certs/ca-certificates.crt
59
60 # Set a default account
61 account default : amin