aboutsummaryrefslogtreecommitdiffstats
path: root/.msmtprc
blob: 9c0878986d10bc2ea718a2bcf4dd629df830c616 (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
##
## msmtp configuration
## ~/.msmtprc
##
## Weitian LI <liweitianux@gmail.com>
## 2015/02/01
##
## Reference:
## [1] ArchWiki - msmtp
##     https://wiki.archlinux.org/index.php/Msmtp
##

# SMTP: 25
# SSL:  465
# TLS:  587

### Set default values for all following accounts.
defaults
auth                on
port                587
tls                 on
tls_starttls        on
tls_certcheck       on
tls_trust_file      ~/.offlineimap/ca-certificates.crt
logfile             ~/.msmtp/msmtp.log


### Gmail - aaronly.me ###
account             gmail-aly
host                smtp.gmail.com
from                aaronly.me@gmail.com
user                aaronly.me@gmail.com
passwordeval        gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/gmail-aly.gpg


### Outlook - aaronly.me ###
account             outlook-aly
host                smtp-mail.outlook.com
from                aaronly.me@outlook.com
user                aaronly.me@outlook.com
passwordeval        gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/outlook-aly.gpg


### Outlook - liweitianux ###
account             outlook-li
host                smtp-mail.outlook.com
from                liweitianux@live.com
user                liweitianux@live.com
passwordeval        gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/outlook-li.gpg


### SJTU - liweitianux ###
account             sjtu
host                smtp.sjtu.edu.cn
from                liweitianux@sjtu.edu.cn
user                liweitianux@sjtu.edu.cn
passwordeval        gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/sjtu.gpg


### Gmail - liweitianux ###
account             gmail-li
host                smtp.gmail.com
from                liweitianux@gmail.com
user                liweitianux@gmail.com
passwordeval        gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/gmail-li.gpg


### Autistici ###
account             autistici
host                smtp.autistici.org
tls_trust_file      ~/.offlineimap/autistici_ca.crt
from                liweitianux@autistici.org
user                liweitianux@autistici.org
passwordeval        gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/autistici.gpg


### Set the default account ###
account default : outlook-aly