Skip to content

Instantly share code, notes, and snippets.

@AbhishekGhosh
Created May 29, 2023 17:16
Show Gist options
  • Save AbhishekGhosh/913218e687480d39f0abe7913c4d2648 to your computer and use it in GitHub Desktop.
Save AbhishekGhosh/913218e687480d39f0abe7913c4d2648 to your computer and use it in GitHub Desktop.
msmtprc settings
# common settings
defaults
port 587
auth on
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /var/log/msmtp/msmtp.log
# outlook smtp settings
account microsoft
host smtp.office365.com
from username@hotmail.com
user username@hotmail.com
password outlook-password
# set a default account
account default: microsoft
aliases /etc/aliases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment