aboutsummaryrefslogtreecommitdiffstats
path: root/_msmtprc
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-03-11 12:56:33 +0800
committerAaron LI <aaronly.me@outlook.com>2017-03-11 12:56:42 +0800
commit2a8428b07f7012faf07e2319f3a2b19662add84a (patch)
tree0c29bd1bf10cfe972121dc18942970dd2b043cd9 /_msmtprc
parented5c04e370619553fb7f43b1993d82ba85f4b2dd (diff)
downloaddotfiles-2a8428b07f7012faf07e2319f3a2b19662add84a.tar.bz2
msmtp: Use pass[1] to retrieve passwords
Diffstat (limited to '_msmtprc')
-rw-r--r--_msmtprc16
1 files changed, 8 insertions, 8 deletions
diff --git a/_msmtprc b/_msmtprc
index 75504ef..d4e2ae6 100644
--- a/_msmtprc
+++ b/_msmtprc
@@ -26,7 +26,7 @@ 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
+tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.cache/msmtp.log
@@ -38,7 +38,7 @@ host smtp.gmail.com
#tls_fingerprint 9A:55:E3:4C:C1:B1:43:3A:24:B0:FF:9A:3F:BF:7A:8B:14:F6:52:A0
from aaronly.me@gmail.com
user aaronly.me@gmail.com
-passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/gmail-aly.gpg"
+passwordeval "pass show email/gmail/aaronly.me/laptop | head -n1"
### Gmail - liweitianux ###
@@ -48,7 +48,7 @@ host smtp.gmail.com
#tls_fingerprint 9A:55:E3:4C:C1:B1:43:3A:24:B0:FF:9A:3F:BF:7A:8B:14:F6:52:A0
from liweitianux@gmail.com
user liweitianux@gmail.com
-passwordeval "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.private/gmail-li.gpg"
+passwordeval "pass show email/gmail/liweitianux/laptop | head -n1"
### Outlook - aaronly.me ###
@@ -59,7 +59,7 @@ host smtp-mail.outlook.com
#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"
+passwordeval "pass show email/outlook/aaronly.me/laptop | head -n1"
### Outlook - liweitianux ###
@@ -69,7 +69,7 @@ host smtp-mail.outlook.com
#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"
+passwordeval "pass show email/outlook/liweitianux/laptop | head -n1"
### SJTU - liweitianux ###
@@ -79,7 +79,7 @@ host smtp.sjtu.edu.cn
#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"
+passwordeval "pass show email/sjtu | head -n1"
### Autistici ###
@@ -90,7 +90,7 @@ host smtp.autistici.org
#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"
+passwordeval "pass show email/autistici | head -n1"
### QQ/Foxmail ###
@@ -100,7 +100,7 @@ host smtp.qq.com
#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"
+passwordeval "pass show email/qq/527922216/laptop | head -n1"
### Set the default account ###