From df88e42f0c3657bd848bd2f65b931fa0999d3361 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 28 Jul 2019 15:26:52 +0800 Subject: 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 --- _msmtprc | 17 +++++++---------- 1 file 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= ## -## 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 ### -- cgit v1.2.2