28 lines
680 B
Plaintext
28 lines
680 B
Plaintext
# Set default values for all following accounts.
|
|
defaults
|
|
auth on
|
|
tls on
|
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
|
logfile ~/.msmtp.log
|
|
|
|
# first example
|
|
account example
|
|
host smtp.example.com
|
|
port 465
|
|
from myuser@example.com
|
|
user myuser
|
|
# passwd.gpg contains the password for the first account.
|
|
passwordeval "gpg -dq ~/.getmail/passwd.gpg"
|
|
tls_starttls off
|
|
|
|
# Gmail
|
|
account gmail
|
|
host smtp.gmail.com
|
|
port 587
|
|
from gmailuser@gmail.com
|
|
user gmailuser
|
|
passwordeval "gpg -dq ~/.offlineimappass.gpg"
|
|
|
|
# Set a default account
|
|
account default : myuser
|