aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--config.yaml4
-rw-r--r--dotfiles/msmtprc25
-rw-r--r--install.sh4
4 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md
index 44314e4..c21d048 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,7 @@
i3 > i3 window manager config
i3pystatus > i3 bar window manager replacement config
khal > calendar config
+ msmtp > smtp client config
scripts > misc scripts
systemd > user services for differents application
```
diff --git a/config.yaml b/config.yaml
index 7b8e1e0..f1e5e55 100644
--- a/config.yaml
+++ b/config.yaml
@@ -33,6 +33,9 @@ dotfiles:
d_khal:
src: config/khal
dst: ~/.config/khal
+ f_msmtprc:
+ src: msmtprc
+ dst: ~/.msmtprc
profiles:
unicorn:
dotfiles:
@@ -46,6 +49,7 @@ profiles:
- d_scripts
- d_gnupg
- d_khal
+ - f_msmtprc
fenec:
dotfiles:
- d_i3pystatus
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
diff --git a/install.sh b/install.sh
index 0a45df1..f3b8e7c 100644
--- a/install.sh
+++ b/install.sh
@@ -111,4 +111,8 @@
#sudo pacman -S khal
+## msmtp
+
+#sudo pacman -S msmtp
+
# install dotfiles