aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-04-13 19:00:51 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-04-13 19:00:51 +0200
commit8af86e2467a4e28d539ea222fe6557e77f9f3aa7 (patch)
tree05362f1eb0189f0013a4b97f782c2c56deb24083
parent64a237bfd6501d5bed1298e59b19ef562e53969a (diff)
downloaddotfiles-8af86e2467a4e28d539ea222fe6557e77f9f3aa7.tar.gz
dotfiles-8af86e2467a4e28d539ea222fe6557e77f9f3aa7.zip
mbsync: encrypt my config
-rw-r--r--mbsync/mbsyncrc104
-rw-r--r--mbsync/mbsyncrc.gpgbin0 -> 1322 bytes
-rwxr-xr-xsetup.py2
3 files changed, 1 insertions, 105 deletions
diff --git a/mbsync/mbsyncrc b/mbsync/mbsyncrc
deleted file mode 100644
index 1a6c2d1..0000000
--- a/mbsync/mbsyncrc
+++ /dev/null
@@ -1,104 +0,0 @@
-### Global ###
-# Propagate message deletion
-Expunge Both
-
-# Automatically create missing mailboxes, both locally and on the server
-Create Both
-
-# Save the synchronization state files in the relevant directory
-SyncState *
-
-### MUHQ ###
-
-IMAPAccount MUHQ
-Host euporie.uberspace.de
-User muhq@muhq.space
-PassCmd "pass email/MUHQ"
-SSLType IMAPS
-CertificateFile /etc/ssl/certs/ca-certificates.crt
-
-IMAPStore MUHQ-remote
-Account MUHQ
-
-MaildirStore MUHQ-local
-Subfolders Verbatim
-Path ~/.local/share/maildir/MUHQ/
-Inbox ~/.local/share/maildir/MUHQ/INBOX
-
-Channel MUHQ
-Far :MUHQ-remote:
-Near :MUHQ-local:
-Patterns *
-SyncState *
-
-### SNFMT ###
-
-IMAPAccount SNFMT
-Host eurydome.uberspace.de
-User snfmt
-PassCmd "pass email/SNFMT"
-SSLType IMAPS
-CertificateFile /etc/ssl/certs/ca-certificates.crt
-
-IMAPStore SNFMT-remote
-Account SNFMT
-
-MaildirStore SNFMT-local
-Subfolders Verbatim
-Path ~/.local/share/maildir/SNFMT/
-Inbox ~/.local/share/maildir/SNFMT/INBOX
-
-Channel SNFMT
-Far :SNFMT-remote:
-Near :SNFMT-local:
-Patterns *
-SyncState *
-
-### FISCHER-PAF ###
-
-IMAPAccount FISCHER-PAF
-Host sslin.df.eu
-User florian@fischer-paf.de
-PassCmd "pass email/FISCHER-PAF"
-SSLType IMAPS
-CertificateFile /etc/ssl/certs/ca-certificates.crt
-
-IMAPStore FISCHER-PAF-remote
-Account FISCHER-PAF
-
-MaildirStore FISCHER-PAF-local
-Subfolders Verbatim
-# The trailing "/" is important
-Path ~/.local/share/maildir/FISCHER-PAF/
-Inbox ~/.local/share/maildir/FISCHER-PAF/INBOX
-
-Channel FISCHER-PAF
-Far :FISCHER-PAF-remote:
-Near :FISCHER-PAF-local:
-# Or include everything
-Patterns *
-
-### VOCOSMA ###
-
-IMAPAccount VOCOSMA
-Host vulpecula.uberspace.de
-User flo@vocosma.it
-PassCmd "pass email/VOCOSMA"
-SSLType IMAPS
-CertificateFile /etc/ssl/certs/ca-certificates.crt
-
-IMAPStore VOCOSMA-remote
-Account VOCOSMA
-
-MaildirStore VOCOSMA-local
-Subfolders Verbatim
-# The trailing "/" is important
-Path ~/.local/share/maildir/VOCOSMA/
-Inbox ~/.local/share/maildir/VOCOSMA/INBOX
-
-Channel VOCOSMA
-Far :VOCOSMA-remote:
-Near :VOCOSMA-local:
-# Or include everything
-Patterns *
-Patterns !mail2cardbot
diff --git a/mbsync/mbsyncrc.gpg b/mbsync/mbsyncrc.gpg
new file mode 100644
index 0000000..f2a5a3e
--- /dev/null
+++ b/mbsync/mbsyncrc.gpg
Binary files differ
diff --git a/setup.py b/setup.py
index 5b078de..ade4b79 100755
--- a/setup.py
+++ b/setup.py
@@ -128,7 +128,7 @@ targets = {
("config/termite/dark", config_dir + "/termite/dark"),
("config/termite/light", config_dir + "/termite/light")],
"mbsync":
- [("mbsync/mbsyncrc", home_dir + "/.mbsyncrc"),
+ [("mbsync/mbsyncrc.gpg", home_dir + "/.mbsyncrc"),
("mbsync/mbsync.service", config_dir + "/systemd/user/mbsync.service"),
("mbsync/mbsync.timer", config_dir + "/systemd/user/mbsync.timer")],
"msmtp":