29 lines
1.1 KiB
Text
29 lines
1.1 KiB
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/sanchayan/.gnupg --decrypt ~/.sanchayan.gpg"
|
|
|
|
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"
|
|
|
|
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"
|
|
|
|
# Set a default account
|
|
account default : Sanchayan
|