aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-05 08:50:19 +0200
committerneodarz <neodarz@neodarz.net>2019-09-05 08:50:19 +0200
commit69e905d78990b61e3d7dfc50a66b186fff679ea8 (patch)
tree289d27a422509c0152279e1d318f2f5bd547ab9c
parenta3533e8ddc15a2a2c99d2ad09c06bf6ad1fac962 (diff)
downloaddotfiles_dotdrop-69e905d78990b61e3d7dfc50a66b186fff679ea8.tar.xz
dotfiles_dotdrop-69e905d78990b61e3d7dfc50a66b186fff679ea8.zip
Add msmtp config
-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