Files
dotfiles/emacs/.msmtprc
Fabio Scotto di Santolo 1d937b9316 Fix SMTP client config
2025-11-08 17:22:02 +01:00

52 lines
1.2 KiB
Plaintext

# 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