dotfiles/msmtprc

24 lines
857 B
Text
Raw Normal View History

2016-03-07 17:31:28 +01:00
# 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
2016-03-07 17:31:28 +01:00
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/sanchayan/.gnupg --decrypt ~/.sanchayan.gpg"
2016-03-07 17:31:28 +01:00
account Victor
host smtp.gmail.com
from victorascroft@gmail.com
user victorascroft@gmail.com
passwordeval "gpg2 --use-agent --batch --quiet --no-greeting --no-tty --for-your-eyes-only --homedir /home/sanchayan/.gnupg --decrypt ~/.victor.gpg"
2016-03-07 17:31:28 +01:00
# Set a default account
account default : Sanchayan