# Set default values for all following accounts.
defaults
auth    on
tls     on
logfile ~/.msmtp.log

# gmail.com
account      gmail
host         smtp.gmail.com
port         587
from         mikisabate@gmail.com
user         mikisabate
passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpassgmail.gpg"

# suse.com
account      comsuse
host         smtp.office365.com
port         587
auth         xoauth2
from         msabate@suse.com
user         msabate@suse.com
passwordeval ~/bin/mutt_oauth2.py ~/.mail/comsuse/sessionfile

# suse.de
account      desuse
host         imap.suse.de
port         587
from         msabate@imapsusede
user         msabate@imapsusede
passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.imapsusede.gpg"

# cgtsuse.org
account      sindicat
host         cgtsuse.org
port         587
from         msabate@cgtsuse.org
user         msabate@cgtsuse.org
passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpasssusede.gpg"

# capellades.cat
account      ajuntament
host         mail.diba.cat
port         587
from         sabatesm@capellades.cat
user         dibasp\sabatesm
passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpasssusede.gpg"

# uoc.edu
account      uoc
host         smtp.gmail.com
port         587
from         mssola@uoc.edu
user         mssola
passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.mbsyncpassuoc.gpg"

# Set a default account
account default : gmail
