diff --git a/msmtprc b/msmtprc new file mode 100644 index 0000000..2be8767 --- /dev/null +++ b/msmtprc @@ -0,0 +1,34 @@ + +# Set default values for all following accounts. +defaults +auth on +tls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +logfile ~/.config/msmtp.log + +# Gmail +account gmail +host smtp.gmail.com +port 587 +from felix.vanderjeugt@gmail.com +user felix.vanderjeugt +passwordeval "gpg -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/gmail=//p'" + +# UGent +account ugent +host smtp.ugent.be +port 587 +from felix.vanderjeugt@ugent.be +user felix.vanderjeugt@ugent.be +passwordeval "gpg -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/ugent=//p'" + +# 12UL +account 12ul +host smtp.gmail.com +port 587 +from felix.vanderjeugt@12urenloop.be +user felix.vanderjeugt@12urenloop.be +passwordeval "gpg -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/12ul=//p'" + +# Set a default account +account default : gmail