mbsyncrc.sample 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # Global configuration section
  2. # Values here are used as defaults for any following Channel section that
  3. # doesn't specify them.
  4. Expunge None
  5. Create Both
  6. MaildirStore local
  7. Path ~/Mail/
  8. Trash Trash
  9. IMAPStore work
  10. Host work.host.com
  11. User tehuser
  12. Pass xxxxxxxx
  13. # Fetch password from gnome-keyring:
  14. #PassCmd "gnome-keyring-query get mail_pw"
  15. # Fetch password from .netrc:
  16. #PassCmd "sed -n -e 's,^machine work\\.host\\.com login tehuser password \\(.*\\),\\1,p' < $HOME/.netrc"
  17. # Fetch password from a gpg-encrypted file:
  18. #PassCmd "gpg --quiet --for-your-eyes-only --decrypt $HOME/imappassword.gpg"
  19. # Fetch password from pwmd (http://pwmd.sourceforge.net/):
  20. #PassCmd "echo -ne 'GET myIsp\\tpassword' | pwmc datafile"
  21. # On Mac OS X, run "KeyChain Access" -- File->New Password Item. Fill out form using
  22. # "Keychain Item Name" http://IMAPSERVER (note: the "http://" is a hack)
  23. # "Account Name" USERNAME
  24. # "Password" PASSWORD
  25. #PassCmd "/usr/bin/security find-internet-password -w -a USERNAME -s IMAPSERVER ~/Library/Keychains/login.keychain"
  26. Channel work
  27. Master :work:
  28. Slave :local:work
  29. Expunge Slave
  30. Sync PullNew Push
  31. IMAPStore personal
  32. Host host.play.com
  33. Port 6789
  34. RequireSSL no
  35. Channel personal
  36. Master :personal:
  37. Slave :local:personal
  38. Expunge Both
  39. MaxMessages 150
  40. MaxSize 200k
  41. IMAPStore remote
  42. Tunnel "ssh -q host.remote.com /usr/sbin/imapd"
  43. Channel remote
  44. Master :remote:
  45. Slave :local:remote
  46. Group boxes
  47. Channels work personal remote
  48. IMAPStore st1
  49. Host st1.domain.com
  50. RequireCRAM yes
  51. CertificateFile ~/.st1-certificate.crt
  52. IMAPStore st2
  53. Host imap.another-domain.com
  54. Path non-standard/
  55. RequireSSL no
  56. UseTLSv1 no
  57. Channel rst
  58. Master :st1:somebox
  59. Slave :st2:
  60. IMAPAccount server
  61. Host imaps:foo.bar.com
  62. CertificateFile ~/.server-certificate.crt
  63. IMAPStore server
  64. Account server
  65. MapInbox inbox
  66. Trash ~/trash
  67. TrashRemoteNew yes
  68. MaildirStore mirror
  69. Path ~/Maildir/
  70. SubFolders Verbatim
  71. Channel o2o
  72. Master :server:
  73. Slave :mirror:
  74. Patterns %
  75. Group partial o2o:inbox,sent-mail,foobar
  76. # INBOX => server, INBOX.foo => server.foo, etc.
  77. Channel inbox
  78. Master :server:INBOX
  79. Slave :mirror:server
  80. Patterns *