# Set default values for all following accounts.
defaults

# Always use TLS
tls            on

# Set a list of trusted CAs for TLS. The default is to use system settings,
# but you can select your own file.
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile        ~/.cache/msmtp.log

# Account iCloud
account        icloud

# Host name of the SMTP server
host           smtp.mail.me.com

# Use the mail submission port 587 instead of the SMTP port 25
port           587

# Envelop-from address
from           fscottodisantolo@icloud.com

# Authentication. The password is given using one of five methods
auth           on
user           fscottodisantolo@icloud.com
passwordeval   "pass show icloud-mail"

# Account Protonmail
account        protonmail

# Hostname of the Protonmail bridge
host           127.0.0.1

# Port of the Protonmail bridge
port           1025

# Envelop-from address
from           fscottodisantolo@protonmail.com

# Security
tls on
tls_trust_file ~/.config/protonmail/bridge-v3/cert.pem

# Authentication
auth           on
user           fscottodisantolo@protonmail.com
passwordeval   "pass show protonmail-bridge"

# Set a default account
account default : icloud
