aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-07-28 15:26:52 +0800
committerAaron LI <aly@aaronly.me>2019-07-28 15:26:52 +0800
commitdf88e42f0c3657bd848bd2f65b931fa0999d3361 (patch)
treee727dd79943ce0f0652d600823680bb85823241b
parent8b0ba74be9deb2bae927c7eb7a878cbbd6283994 (diff)
downloaddotfiles-df88e42f0c3657bd848bd2f65b931fa0999d3361.tar.bz2
msmtprc: Add note to disable AppArmor and change logfile path
About AppArmor: * https://salsa.debian.org/kolter/msmtp/merge_requests/1/diffs * https://salsa.debian.org/kolter/msmtp/merge_requests/3/diffs
-rw-r--r--_msmtprc17
1 files changed, 7 insertions, 10 deletions
diff --git a/_msmtprc b/_msmtprc
index 1684f94..7573f18 100644
--- a/_msmtprc
+++ b/_msmtprc
@@ -1,18 +1,15 @@
##
-## ~/.msmtprc
-## msmtp configuration
+## ~/.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: 2017-04-19
+## AppArmor (e.g., on Debian Linux):
+## AppArmor would prevent msmtp to invoking 'pass' as configured in
+##'passwordeval'. To disable AppArmor for msmtp:
+## $ apparmor_parser -R /etc/apparmor.d/usr.bin.msmtp
+## $ ln -s /etc/apparmor.d/usr.bin.msmtp /etc/apparmor.d/disable/
##
@@ -27,7 +24,7 @@ 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 /etc/ssl/certs/ca-certificates.crt
-logfile ~/.cache/msmtp.log
+logfile ~/.cache/msmtp/msmtp.log
### aly@aaronly.me ###