From db757a8bd17afaf45bb354f3c58f6922f1aa486a Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 23 Feb 2014 17:15:03 +0100 Subject: Added offline imap config --- offlineimaprc | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 offlineimaprc diff --git a/offlineimaprc b/offlineimaprc new file mode 100644 index 0000000..209cb7d --- /dev/null +++ b/offlineimaprc @@ -0,0 +1,44 @@ +[general] +ui = ttyui +accounts = Gmail +# This will suppress anything but errors +ui = quiet + + +[Account Gmail] +localrepository = Gmail-Local +remoterepository = Gmail-Remote +# Minutes between syncs +autorefresh = 5 +# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the +# only changes were to IMAP flags +quick = 10 + +[Repository Gmail-Local] +type = Maildir +localfolders = ~/.mail/Gmail +nametrans = lambda folder: {'drafts': '[Gmail]/Drafts', + 'sent': '[Gmail]/Sent Mail', + 'flagged': '[Gmail]/Starred', + 'trash': '[Gmail]/Trash', + 'spam': '[Gmail]/Spam', + 'archive': '[Gmail]/All Mail', + }.get(folder, folder) + + +[Repository Gmail-Remote] +type = Gmail +remoteuser = vasil.zlatanov@gmail.com +remotepass = **** +realdelete = no +maxconnections = 1 +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts', + '[Gmail]/Sent Mail': 'sent', + '[Gmail]/Starred': 'flagged', + '[Gmail]/Trash': 'trash', + '[Gmail]/Spam': 'spam', + '[Gmail]/All Mail': 'archive', + }.get(folder, folder) + + -- cgit v1.2.3-54-g00ecf