dotfiles/msmtprc

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