isyncrc 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. ### SDF Section ### {{{
  2. IMAPStore sdf-remote
  3. Host ma.sdf.org
  4. Port 993
  5. User demure
  6. PassCmd "pass cli/mail-sdf-imap"
  7. AuthMechs LOGIN
  8. TLSType IMAPS
  9. ## Note: Use `openssl s_client -connect ma.sdf.org:993 -showcerts | openssl x509 -outform PEM > ~/.config/cert/ma.sdf.org` to update cert file`
  10. CertificateFile ~/.config/cert/ma.sdf.org.pem
  11. MaildirStore sdf-local
  12. Subfolders Verbatim
  13. Path ~/.mail/sdf/
  14. Inbox ~/.mail/sdf/INBOX
  15. Flatten .
  16. Channel sdf
  17. Expunge Both
  18. Far :sdf-remote:
  19. Near :sdf-local:
  20. Patterns *
  21. Create Both
  22. SyncState *
  23. ##MaxMessages $maxmes
  24. ExpireUnread no
  25. ### End SDF Section ### }}}
  26. ### Gmail Section ### {{{
  27. IMAPStore gmail-remote
  28. Host imap.gmail.com
  29. Port 993
  30. User demuredemeanor@gmail.com
  31. PassCmd "pass cli/mail-gmail"
  32. AuthMechs LOGIN
  33. TLSType IMAPS
  34. ##CertificateFile /etc/ssl/certs/ca-certificates.crt
  35. MaildirStore gmail-local
  36. Subfolders Verbatim
  37. Path ~/.mail/gmail/
  38. Inbox ~/.mail/gmail/INBOX
  39. Flatten .
  40. ### Gmail Channels ### {{{
  41. Channel gmail-main
  42. Expunge Both
  43. Far :gmail-remote:
  44. Near :gmail-local:
  45. Pattern INBOX aha Bulletin Orders People
  46. Create Both
  47. SyncState *
  48. ExpireUnread no
  49. Channel gmail-sent
  50. Expunge Both
  51. Far :gmail-remote:"[Gmail]/Sent Mail"
  52. Near :gmail-local:Sent
  53. Create Both
  54. SyncState *
  55. ExpireUnread no
  56. Channel gmail-drafts
  57. Expunge Both
  58. Far :gmail-remote:"[Gmail]/Drafts"
  59. Near :gmail-local:Drafts
  60. Create Both
  61. SyncState *
  62. ExpireUnread no
  63. Channel gmail-spam
  64. Expunge Both
  65. Far :gmail-remote:"[Gmail]/Spam"
  66. Near :gmail-local:Spam
  67. Create Both
  68. SyncState *
  69. ExpireUnread no
  70. Channel gmail-trash
  71. Expunge Both
  72. Far :gmail-remote:"[Gmail]/Trash"
  73. Near :gmail-local:Trash
  74. Create Both
  75. SyncState *
  76. ExpireUnread no
  77. ### End Gmail Channels ### }}}
  78. group gmail
  79. Channel gmail-main
  80. Channel gmail-sent
  81. Channel gmail-drafts
  82. Channel gmail-spam
  83. Channel gmail-trash
  84. ### End Gmail Section ### }}}
  85. ### VPS Section ### {{{
  86. IMAPStore vps-remote
  87. Host mail.gandi.net
  88. Port 993
  89. User demure@demu.red
  90. PassCmd "pass cli/mail-vps"
  91. AuthMechs LOGIN
  92. TLSType IMAPS
  93. MaildirStore vps-local
  94. Subfolders Verbatim
  95. Path ~/.mail/vps/
  96. Inbox ~/.mail/vps/INBOX
  97. Flatten .
  98. Channel vps
  99. Expunge Both
  100. Far :vps-remote:
  101. Near :vps-local:
  102. Patterns *
  103. Create Both
  104. SyncState *
  105. ##MaxMessages $maxmes
  106. ExpireUnread no
  107. ### End VPS Section ### }}}