aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dot-mbsyncrc
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2020-10-25 19:26:25 +0100
committerÓscar Nájera <hi@oscarnajera.com>2020-10-25 19:28:12 +0100
commita6fc18a1a41088258b4acd0217c892ab911e2bb1 (patch)
treef787cbb096c79d1b0c56da6c52372948cdf31f5a /mail/dot-mbsyncrc
parent697ffaa9f159120daa4a3bf2b1db3cc1c0c5b96f (diff)
downloaddotfiles-a6fc18a1a41088258b4acd0217c892ab911e2bb1.tar.gz
dotfiles-a6fc18a1a41088258b4acd0217c892ab911e2bb1.tar.bz2
dotfiles-a6fc18a1a41088258b4acd0217c892ab911e2bb1.zip
Symlink mails and remaining home dotfiles
Diffstat (limited to 'mail/dot-mbsyncrc')
-rw-r--r--mail/dot-mbsyncrc140
1 files changed, 140 insertions, 0 deletions
diff --git a/mail/dot-mbsyncrc b/mail/dot-mbsyncrc
new file mode 100644
index 0000000..3e3e7d6
--- /dev/null
+++ b/mail/dot-mbsyncrc
@@ -0,0 +1,140 @@
+###############################################################################
+# GMAIL
+
+IMAPAccount gmail
+# Address to connect to
+Host imap.gmail.com
+User najera.oscar@gmail.com
+PassCmd "pass show google/googlemail.com/najera.oscar"
+AuthMechs LOGIN
+# Use SSL
+SSLType IMAPS
+# The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section.
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+#CertificateFile ~/.cert/imap.gmail.com.pem
+#CertificateFile ~/.cert/Equifax_Secure_CA.pem
+
+IMAPStore gmail-remote
+Account gmail
+
+MaildirStore gmail-local
+# The trailing "/" is important
+Path ~/.mail/gmail/
+Inbox ~/.mail/gmail/Inbox
+SubFolders Legacy
+
+Channel gmail
+Master :gmail-remote:
+Slave :gmail-local:
+# Exclude everything under the internal [Gmail] folder, except the interesting folders
+Patterns * ![Gmail]* "[Gmail]/Sent Mail"
+# Or include everything
+#Patterns *
+# Automatically create missing mailboxes, both locally and on the server
+Create Both
+# Save the synchronization state files in the relevant directory
+SyncState *
+Expunge Both
+
+###############################################################################
+# Personal
+IMAPAccount hi_pers
+Host git.oscarnajera.com
+User hi@oscarnajera.com
+PassCmd "pass show Correos/mail.oscarnajera.com"
+AuthMechs LOGIN
+SSLType IMAPS
+
+IMAPStore hi_pers-remote
+Account hi_pers
+
+MaildirStore hi_pers-local
+Path ~/.mail/hi_pers/
+Inbox ~/.mail/hi_pers/Inbox
+SubFolders Verbatim
+
+Channel hi_pers
+Master :hi_pers-remote:
+Slave :hi_pers-local:
+Patterns *
+Create Both
+SyncState *
+Expunge Both
+
+###############################################################################
+# AMZbooks
+IMAPAccount kindle
+Host git.oscarnajera.com
+User kindle@oscarnajera.com
+PassCmd "pass show Correos/kindle@oscarnajera.com"
+AuthMechs LOGIN
+SSLType IMAPS
+
+IMAPStore kindle-remote
+Account kindle
+
+MaildirStore kindle-local
+Path ~/.mail/kindle/
+Inbox ~/.mail/kindle/Inbox
+SubFolders Verbatim
+
+Channel kindle
+Master :kindle-remote:
+Slave :kindle-local:
+Patterns *
+Create Both
+SyncState *
+Expunge Both
+
+###############################################################################
+# Startup
+IMAPAccount delightfuldying
+Host git.oscarnajera.com
+User oscar.najera@delightfuldying.com
+PassCmd "pass show WebSites/delightfuldying.com/mailbox/julie"
+AuthMechs LOGIN
+SSLType IMAPS
+
+IMAPStore dd-remote
+Account delightfuldying
+
+MaildirStore dd-local
+Path ~/.mail/dd/
+Inbox ~/.mail/dd/Inbox
+SubFolders Verbatim
+
+Channel delightfuldying
+Master :dd-remote:
+Slave :dd-local:
+Patterns *
+Create Both
+SyncState *
+Expunge Both
+
+###############################################################################
+# Startup
+IMAPAccount fallforward
+Host git.oscarnajera.com
+User sarah@fallforward.space
+PassCmd "pass show WebSites/fallforward.space/mailbox/sarah"
+AuthMechs LOGIN
+SSLType IMAPS
+
+IMAPStore ff-remote
+Account fallforward
+
+MaildirStore ff-local
+Path ~/.mail/ff/
+Inbox ~/.mail/ff/Inbox
+SubFolders Verbatim
+
+Channel fallforward
+Master :ff-remote:
+Slave :ff-local:
+Patterns *
+Create Both
+SyncState *
+Expunge Both
+# Local Variables:
+# mode: conf-unix
+# End: