summaryrefslogtreecommitdiff
path: root/home/xyz/.mbsyncrc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-04-12 03:36:56 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-04-12 03:36:56 -0700
commitc23b77b3c379639a7c9dce0e970bf45e299ef70a (patch)
tree2db26365a4ead1b935a8977bacd446d05fed7603 /home/xyz/.mbsyncrc
parent9d545cb5f9de53285b74de1f5a871f5b8373caf5 (diff)
neomutt isync and abook configs; backup abook
Diffstat (limited to 'home/xyz/.mbsyncrc')
-rw-r--r--home/xyz/.mbsyncrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/home/xyz/.mbsyncrc b/home/xyz/.mbsyncrc
new file mode 100644
index 00000000..7bceeb89
--- /dev/null
+++ b/home/xyz/.mbsyncrc
@@ -0,0 +1,31 @@
+# references:
+# /usr/share/doc/isync/examples/mbsyncrc.sample
+# https://wiki.archlinux.org/title/Isync
+# `man mbsync`
+# https://github.com/LukeSmithxyz/mutt-wizard
+
+IMAPStore xyz@flylightning.xyz-remote
+Host mail.flylightning.xyz
+User xyz
+# credit: GPL-2.0-or-later https://git.zx2c4.com/password-store/tree/contrib/dmenu/passmenu
+PassCmd "pass master2 | { IFS= read -r p; printf %s \"$p\";}"
+SSLType IMAPS
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+MaildirStore xyz@flylightning.xyz-local
+# man page says needed
+Subfolders Verbatim
+# trailing slash important?
+# seems $XDG_DATA_HOME does not work?
+Path ~/.local/share/mail/xyz@flylightning.xyz/
+Inbox ~/.local/share/mail/xyz@flylightning.xyz/INBOX
+
+Channel xyz@flylightning.xyz
+Expunge Both
+# old system use master and slave
+Far :xyz@flylightning.xyz-remote:
+Near :xyz@flylightning.xyz-local:
+# not sure if needed
+Patterns *
+Create Both
+SyncState *