rlue

.mbsyncrc

Jul 4th, 2017
1,570
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ACCOUNTS ====================================================================
  2.  
  3. # ryan.lue@gmail.com ----------------------------------------------------------
  4. IMAPAccount gmail
  5. Host imap.gmail.com
  6. Port 993
  7. User ryan.lue
  8. PassCmd "security find-internet-password -s smtp.gmail.com -w"
  9. AuthMechs LOGIN
  10. SSLType IMAPS
  11. SSLVersions TLSv1.2
  12.  
  13. # STORES ======================================================================
  14.  
  15. IMAPStore gmail
  16. Account gmail
  17.  
  18. MaildirStore local
  19. Path ~/Mail/
  20. Inbox ~/Mail/\<\<Gmail\>\>
  21. Flatten "."
  22.  
  23. # CHANNELS ====================================================================
  24.  
  25. Channel gmail-inbox
  26. Master :gmail:INBOX
  27. Slave :local:<<Gmail>>
  28. Create Slave
  29. Expunge Both
  30. SyncState *
  31.  
  32. Channel gmail-drafts
  33. Master :gmail:"[Gmail]/Drafts"
  34. Slave :local:<Drafts>
  35. Create Slave
  36. Expunge Both
  37. SyncState *
  38.  
  39. Channel gmail-sent
  40. Master :gmail:"[Gmail]/Sent Mail"
  41. Slave :local:<Sent>
  42. Create Slave
  43. Expunge Both
  44. SyncState *
  45.  
  46. Channel gmail-spam
  47. Master :gmail:"[Gmail]/Spam"
  48. Slave :local:<Spam>
  49. Create Slave
  50. Expunge Both
  51. SyncState *
  52.  
  53. Channel gmail-deferred
  54. Master :gmail:"Deferred"
  55. Slave :local:<Deferred>
  56. Create Slave
  57. Expunge Both
  58. SyncState *
  59.  
  60. Channel gmail-trash
  61. Master :gmail:"[Gmail]/Trash"
  62. Slave :local:<Trash>
  63. Create Slave
  64. Expunge Both
  65. SyncState *
  66.  
  67. Channel gmail-labels
  68. Master :gmail:
  69. Slave :local:
  70. Patterns * !"%" ![Gmail]/*
  71. Create Both
  72. Remove Both
  73. Expunge Both
  74. SyncState *
  75.  
  76. # GROUPS ======================================================================
  77.  
  78. Group inboxes
  79. Channel gmail-inbox
  80. Channel gmail-drafts
  81. Channel gmail-sent
  82. Channel gmail-deferred
RAW Paste Data