.mbsyncrc 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. # CopyArrivalDate yes
  2. Create Both # create missing mailboxes
  3. SyncState *
  4. # Expunge Both # automatically delete any message marked for trash
  5. ####################################################################
  6. IMAPAccount Mailo
  7. Host imap.mailo.com
  8. User adam.salwowski@mailo.com
  9. PassCmd "pass mail/mailo/adam.salwowski | head -n1"
  10. SSLType IMAPS
  11. MaildirStore Mailo-local
  12. Path ~/.mail/Mailo/
  13. Inbox ~/.mail/Mailo/Inbox
  14. SubFolders Verbatim
  15. IMAPStore Mailo-remote
  16. Account Mailo
  17. Channel Mailo
  18. Master :Mailo-remote:
  19. Slave :Mailo-local:
  20. Patterns *
  21. # ######################################################################
  22. # IMAPAccount Gmail
  23. # Host imap.gmail.com
  24. # User a@gmail.com
  25. # PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login a@gmail.com/ {print $NF}'"
  26. # AuthMechs LOGIN
  27. # SSLType IMAPS
  28. # SSLVersions TLSv1.2
  29. # CertificateFile /usr/local/etc/openssl@1.1/cert.pem
  30. # MaildirStore Gmail-local
  31. # Path ~/.mail/Gmail/
  32. # Inbox ~/.mail/Gmail/Inbox
  33. # SubFolders Verbatim
  34. # IMAPStore Gmail-remote
  35. # Account Gmail
  36. # Channel Gmail-inbox
  37. # Master :Gmail-remote:"INBOX"
  38. # Slave :Gmail-local:"INBOX"
  39. # CopyArrivalDate yes
  40. # Create Both
  41. # Expunge Both
  42. # SyncState *
  43. # Channel Gmail-trash
  44. # Master :Gmail-remote:"[Gmail]/Trash"
  45. # Slave :Gmail-local:"Trash"
  46. # CopyArrivalDate yes
  47. # Create Both
  48. # Expunge Both
  49. # SyncState *
  50. # Channel Gmail-spam
  51. # Master :Gmail-remote:"[Gmail]/Spam"
  52. # Slave :Gmail-local:"Spam"
  53. # CopyArrivalDate yes
  54. # Create Both
  55. # Expunge Both
  56. # SyncState *
  57. # Channel Gmail-all
  58. # Master :Gmail-remote:"[Gmail]/All Mail"
  59. # Slave :Gmail-local:"Archive"
  60. # CopyArrivalDate yes
  61. # Create Both
  62. # Expunge Both
  63. # SyncState *
  64. # Channel Gmail-drafts
  65. # Master :Gmail-remote:"[Gmail]/Drafts"
  66. # Slave :Gmail-local:"Drafts"
  67. # CopyArrivalDate yes
  68. # Create Both
  69. # Expunge Both
  70. # SyncState *
  71. # Group Gmail
  72. # Channel Gmail-inbox
  73. # Channel Gmail-trash
  74. # Channel Gmail-all
  75. # Channel Gmail-spam
  76. # Channel Gmail-drafts
  77. # ######################################################################
  78. # IMAPAccount GMX
  79. # Host imap.gmx.com
  80. # User a@gmx.com
  81. # PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmx.com login a@gmx.com/ {print $NF}'"
  82. # AuthMechs LOGIN
  83. # SSLType IMAPS
  84. # SSLVersion TLSv1.2
  85. # CertificateFile /usr/local/etc/openssl@1.1/cert.pem
  86. # MaildirStore GMX-local
  87. # Path ~/.mail/GMX/
  88. # Inbox ~/.mail/GMX/Inbox
  89. # SubFolders Verbatim
  90. # IMAPStore GMX-remote
  91. # Account GMX
  92. # Channel GMX
  93. # Master :GMX-remote:
  94. # Slave :GMX-local:
  95. # Patterns "INBOX" "Archive" "Trash" "Spam" "Drafts" "Sent"
  96. # CopyArrivalDate yes
  97. # Create Both
  98. # Expunge Both
  99. # SyncState *
  100. # ####################################################################
  101. # IMAPAccount Proton
  102. # Host 127.0.0.1
  103. # PORT 1111
  104. # User a@protonmail.com
  105. # PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine 127.0.0.1/ {print $NF}'"
  106. # AuthMechs LOGIN
  107. # SSLType STARTTLS
  108. # SSLVersion TLSv1.2
  109. # CertificateFile /usr/local/etc/openssl@1.1/cert.pem
  110. # MaildirStore Proton-local
  111. # Path ~/.mail/Proton/
  112. # Inbox ~/.mail/Proton/Inbox
  113. # SubFolders Verbatim
  114. # # Define the IMAP4
  115. # IMAPStore Proton-remote
  116. # Account Proton
  117. # Channel Proton
  118. # Master :Proton-remote:
  119. # Slave :Proton-local:
  120. # Patterns "INBOX" "Archive" "Trash" "Spam" "Drafts" "Sent"
  121. # CopyArrivalDate yes
  122. # Create Both
  123. # Expunge Both
  124. # SyncState *
  125. # ####################################################################
  126. # IMAPAccount Apple
  127. # Host imap.mail.me.com
  128. # PORT 993
  129. # User a@icloud.com
  130. # PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.mail.me.com/ {print $NF}'"
  131. # AuthMechs LOGIN
  132. # SSLType IMAPS
  133. # SSLVersion TLSv1.2
  134. # CertificateFile /usr/local/etc/openssl@1.1/cert.pem
  135. # MaildirStore Apple-local
  136. # Path ~/.mail/Apple/
  137. # Inbox ~/.mail/Apple/Inbox
  138. # SubFolders Verbatim
  139. # IMAPStore Apple-remote
  140. # Account Apple
  141. # Channel Apple-all
  142. # Master :Apple-remote:
  143. # Slave :Apple-local:
  144. # Patterns "INBOX" "Archive" "Trash" "Spam" "Drafts"
  145. # CopyArrivalDate yes
  146. # Create Both
  147. # Expunge Both
  148. # SyncState *
  149. # Channel Apple-sent
  150. # Master :Apple-remote:"Sent Messages"
  151. # Slave :Apple-local:"Sent"
  152. # CopyArrivalDate yes
  153. # Create Both
  154. # Expunge Both
  155. # SyncState *
  156. # Group Apple
  157. # Channel Apple-sent
  158. # Channel Apple-all
  159. # ####################################################################
  160. IMAPAccount Mailo
  161. Host imap.mailo.com
  162. User adam.salwowski@mailo.com
  163. PassCmd "pass mbsync/mailo"
  164. # AuthMechs LOGIN
  165. SSLType IMAPS
  166. # SSLVersions TLSv1.2
  167. # CertificateFile /usr/local/etc/openssl@1.1/cert.pem
  168. MaildirStore Mailo-local
  169. Path ~/.mail/Mailo/
  170. Inbox ~/.mail/Mailo/Inbox
  171. SubFolders Verbatim
  172. IMAPStore Mailo-remote
  173. Account Mailo
  174. Channel Mailo
  175. Master :Mailo-remote:
  176. Slave :Mailo-local:
  177. Patterns *