email-configs/msmtp/config

42 lines
972 B
Plaintext

# https://marlam.de/msmtp/msmtp.html
# NOTE: Debian's msmtp AppArmor profile restricts using this file as a symlink,
# so GNU Stow won't work. Use a hardlink.
# Set default values for all following accounts.
defaults
#logfile $XDG_CACHE_HOME/msmtp.log
logfile - # log to stdout
tls on
tls_starttls off
# TLSv1.3 only
# https://gnutls.org/manual/html_node/Priority-Strings.html
tls_priorities PFS:-VERS-ALL:+VERS-TLS1.3
# Tor
proxy_host 127.0.0.1
proxy_port 9050
auth on
set_date_header off
### Disroot ###
account user_disroot
host disroot.org
port 465
tls_trust_file /etc/ssl/certs/ISRG_Root_X1.pem
#tls_fingerprint AD:87:AC:96:F8:DC:6E:1F:2E:0B:C5:6D:79:43:34:25:D8:2D:8F:02:74:69:7F:F3:AD:8D:26:73:9B:BF:3F:45
# expires: Sep 21 16:25:17 2023 GMT
# openssl s_client disroot.org:465 </dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -enddate -noout
user USER
passwordeval pass show USER-disroot
from USER@disroot.org
account default : user_disroot