aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/msmtprc25
1 files changed, 25 insertions, 0 deletions
diff --git a/dotfiles/msmtprc b/dotfiles/msmtprc
new file mode 100644
index 0000000..a86b148
--- /dev/null
+++ b/dotfiles/msmtprc
@@ -0,0 +1,25 @@
+# Set default values for all following accounts.
+defaults
+auth on
+tls on
+tls_trust_file /etc/ssl/certs/ca-certificates.crt
+logfile ~/.msmtp.log
+
+# Gmail
+account neodarz
+host mail.neodarz.net
+port 587
+from neodarz@neodarz.net
+user neodarz@neodarz.net
+passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/Mail/neodarz@neodarz.net.gpg"
+
+# A freemail service
+account corentin.breton
+host mail.neodarz.net
+port 587
+from corentin.breton@neodarz.net
+user corentin.breton@neodarz.net
+passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/Mail/corentin.breton@neodarz.net.gpg"
+
+# Set a default account
+account default : neodarz