mbsyncrc.sample 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. Channel work
  22. Far :work:
  23. Near :local:work
  24. Expunge Near
  25. Sync PullNew Push
  26. IMAPStore personal
  27. Host host.play.com
  28. Port 6789
  29. RequireSSL no
  30. Channel personal
  31. Far :personal:
  32. Near :local:personal
  33. Expunge Both
  34. MaxMessages 150
  35. MaxSize 200k
  36. IMAPStore remote
  37. Tunnel "ssh -q host.remote.com /usr/sbin/imapd"
  38. Channel remote
  39. Far :remote:
  40. Near :local:remote
  41. Group boxes
  42. Channels work personal remote
  43. IMAPStore st1
  44. Host st1.domain.com
  45. RequireCRAM yes
  46. CertificateFile ~/.st1-certificate.crt
  47. IMAPStore st2
  48. Host imap.another-domain.com
  49. Path non-standard/
  50. RequireSSL no
  51. UseTLSv1 no
  52. Channel rst
  53. Far :st1:somebox
  54. Near :st2:
  55. IMAPAccount server
  56. Host imaps:foo.bar.com
  57. CertificateFile ~/.server-certificate.crt
  58. IMAPStore server
  59. Account server
  60. MapInbox inbox
  61. Trash ~/trash
  62. TrashRemoteNew yes
  63. MaildirStore mirror
  64. Path ~/Maildir/
  65. SubFolders Verbatim
  66. Channel o2o
  67. Far :server:
  68. Near :mirror:
  69. Patterns %
  70. Group partial o2o:inbox,sent-mail,foobar
  71. # INBOX => server, INBOX.foo => server.foo, etc.
  72. Channel inbox
  73. Far :server:INBOX
  74. Near :mirror:server
  75. Patterns *