account default

host mail.servers.dxld.at
port 465

maildomain darkboxed.org
auto_from

# $ msmtp --serverinfo --tls --tls-certcheck=off --host=mail.dxld.at
# or $ openssl x509 -noout -fingerprint -sha256 -inform pem -in foo.crt
tls_fingerprint E7:1A:FD:D2:31:A7:77:C6:85:53:11:57:7C:37:98:AF:35:28:03:28:EC:A9:5A:83:EC:36:F6:71:98:47:17:77

tls on
tls_starttls off

# generate with:
#  $ openssl req -new -newkey rsa:4096 -x509 -sha256 -days 358201 -nodes -extensions usr_cert -out msmtp.crt -keyout msmtp.key -subj /CN=$(cat /etc/mailname); chown msmtp:msmtp msmtp.*; chmod 640 msmtp.key
#
# Then copy that to Janet in /etc/ssl/dxld-selfsigned as a msmtp@<host>.crt file
tls_cert_file /etc/ssl/msmtp/msmtp.crt
tls_key_file  /etc/ssl/msmtp/msmtp.key

auth off
