Guest User

Untitled

a guest
Oct 20th, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. # Sample minimal config file. Copy this to ~/.offlineimaprc and edit to
  2. # suit to get started fast.
  3. [general]
  4. pythonfile = ~/.mutt/offlineimap.py
  5. accounts = c42,gmail,umn,hdonnay,physics,xanhmag
  6. maxsyncaccounts = 4
  7. fsync = false
  8. socktimeout = 20
  9. #ui = basic
  10.  
  11. [mbnames]
  12. enabled = yes
  13. filename = ~/.mutt/automailboxes
  14. header = "mailboxes "
  15. peritem = "+%(accountname)s/%(foldername)s"
  16. sep = " "
  17. footer = "\n"
  18.  
  19. [Account gmail]
  20. localrepository = Local-gmail
  21. remoterepository = Remote-gmail
  22. status_backend = sqlite
  23. autorefresh = 5
  24. quick = 10
  25.  
  26. [Account umn]
  27. localrepository = Local-umn
  28. remoterepository = Remote-umn
  29. status_backend = sqlite
  30. autorefresh = 5
  31. quick = 10
  32.  
  33. [Account physics]
  34. localrepository = Local-physics
  35. remoterepository = Remote-physics
  36. status_backend = sqlite
  37. autorefresh = 5
  38. quick = 10
  39.  
  40. [Account hdonnay]
  41. localrepository = Local-hdonnay
  42. remoterepository = Remote-hdonnay
  43. status_backend = sqlite
  44. autorefresh = 5
  45. quick = 10
  46.  
  47. [Account xanhmag]
  48. localrepository = Local-xanhmag
  49. remoterepository = Remote-xanhmag
  50. status_backend = sqlite
  51. autorefresh = 5
  52. quick = 10
  53.  
  54. [Account c42]
  55. localrepository = Local-c42
  56. remoterepository = Remote-c42
  57. status_backend = sqlite
  58. autorefresh = 1
  59. quick = 1
  60. presynchook = imapfilter
  61. postsynchook = imapfilter -c ~/.imapfilter/notify.config.lua
  62.  
  63. [Repository Local-gmail]
  64. type = Maildir
  65. localfolders = ~/.mail/gmail
  66.  
  67. [Repository Local-umn]
  68. type = Maildir
  69. localfolders = ~/.mail/umn
  70.  
  71. [Repository Local-physics]
  72. type = Maildir
  73. localfolders = ~/.mail/physics
  74.  
  75. [Repository Local-c42]
  76. type = Maildir
  77. localfolders = ~/.mail/c42
  78.  
  79. [Repository Local-hdonnay]
  80. type = Maildir
  81. localfolders = ~/.mail/hdonnay
  82.  
  83. [Repository Local-xanhmag]
  84. type = Maildir
  85. localfolders = ~/.mail/xanhmag
  86.  
  87. [Repository Remote-gmail]
  88. type = Gmail
  89. remotehost = imap.gmail.com
  90. remoteuser = hdonnay@gmail.com
  91. remotepasseval = keyring.get_password("email","hdonnay@gmail.com")
  92. ssl = yes
  93. realdelete = no
  94. nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
  95. re.sub ('sent_mail', 'sent',
  96. re.sub ('starred', 'flagged',
  97. re.sub (' ', '_', foldername.lower()))))
  98. folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
  99.  
  100. [Repository Remote-umn]
  101. type = Gmail
  102. remotehost = imap.gmail.com
  103. remoteuser = donna029@umn.edu
  104. remotepasseval = keyring.get_password("email","donna029@umn.edu")
  105. ssl = yes
  106. realdelete = no
  107. nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
  108. re.sub ('sent_mail', 'sent',
  109. re.sub ('starred', 'flagged',
  110. re.sub (' ', '_', foldername.lower()))))
  111. folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
  112.  
  113. [Repository Remote-physics]
  114. type = IMAP
  115. remotehost = mail.physics.umn.edu
  116. remoteuser = hank
  117. remotepasseval = keyring.get_password("email","hank@physics.umn.edu")
  118. maxconnections = 4
  119. ssl = yes
  120. nametrans = lambda foldername: re.sub (' ', '_', foldername.lower())
  121. folderfilter = lambda foldername: not re.search('^user\.sysadm\..+', foldername)
  122.  
  123. [Repository Remote-c42]
  124. type = IMAP
  125. remotehost = mail.code42.com
  126. remoteuser = hdonnay
  127. remotepasseval = keyring.get_password("email","hank@code42.com")
  128. maxconnections = 4
  129. ssl = yes
  130.  
  131. [Repository Remote-hdonnay]
  132. type = Gmail
  133. remotehost = imap.gmail.com
  134. remoteuser = hank@hdonnay.com
  135. remotepasseval = keyring.get_password("email","hank@hdonnay.com")
  136. ssl = yes
  137. realdelete = no
  138. nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
  139. re.sub ('sent_mail', 'sent',
  140. re.sub ('starred', 'flagged',
  141. re.sub (' ', '_', foldername.lower()))))
  142. folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
  143.  
  144. [Repository Remote-xanhmag]
  145. type = IMAP
  146. remotehost = cynic.xanhmag.com
  147. remoteuser = hank
  148. remotepasseval = keyring.get_password("email","hank@xanhmag.com")
  149. maxconnections = 4
  150. ssl = yes
  151. nametrans = lambda foldername: re.sub (' ', '_', foldername.lower())
Add Comment
Please, Sign In to add comment