dotfiles/msmtp/.msmtprc
Sanchayan Maity ae310a18f7 Update all mail related configs
1. Use app password for gmail accounts
2. Add nilenso account to mutt, imapfilter, mbsync, msmtp

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 10:55:00 +05:30

23 lines
853 B
Text

# echo "YourPassword" | gpg2 --encrypt --recipient "Your Name" -o ~/.mail-tudo-passwd.gpg
# Set default values for all following accounts.
defaults
port 587
protocol smtp
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
account Sanchayan
host smtp.gmail.com
from maitysanchayan@gmail.com
user maitysanchayan@gmail.com
passwordeval "gpg2 --use-agent --batch --quiet --no-greeting --no-tty --for-your-eyes-only --homedir /home/core/.gnupg --decrypt ~/.sanchayan.gpg"
account nilenso
host smtp.gmail.com
from sanchayan@nilenso.systems
user sanchayan@nilenso.systems
passwordeval "gpg2 --use-agent --batch --quiet --no-greeting --no-tty --for-your-eyes-only --homedir /home/core/.gnupg --decrypt ~/.nilenso.gpg"
# Set a default account
account default : Sanchayan