all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* offlineimap
@ 2016-04-06  5:32 Efraim Flashner
  2016-04-06  9:09 ` offlineimap Ricardo Wurmus
  0 siblings, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2016-04-06  5:32 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 733 bytes --]

I've looked around the website a bit but I haven't been able to find the
documentation on it. If we add sqlite as an input to offlineimap and in
the [Accounts] section of the config add `status_backed = sqlite` then
it'll index the emails in an sqlite database and make syncing the mail
faster. When I sync with my mailserver and have no mail change, without
sqlite my sync time is 55 seconds, and with sqlite it drops to 37
seconds. One downside- the initial add everything to the database takes
quite a while.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #1.2: 0001-gnu-offlineimap-Add-sqlite-support.patch --]
[-- Type: text/plain, Size: 933 bytes --]

From ef7af3b17fcf242af87ad4a86ea46bd340f94da8 Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Wed, 6 Apr 2016 08:31:35 +0300
Subject: [PATCH] gnu: offlineimap: Add sqlite support.

* gnu/packages/mail.scm (offlineimap)[propagated-inputs]: Add python2-pysqlite.
---
 gnu/packages/mail.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 7bcb93c..fbcd841 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -302,6 +302,7 @@ and corrections.  It is based on a Bayesian filter.")
                 "0462mal2fxvavxhwjk1a6vsnspx07yniifa687dwg46aplqznin4"))))
     (build-system python-build-system)
     (native-inputs `(("python" ,python-2)))
+    (propagated-inputs `(("python2-pysqlite" ,python2-pysqlite)))
     (arguments
      ;; The setup.py script expects python-2.
      `(#:python ,python-2
-- 
2.8.0.rc3


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-11  8:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06  5:32 offlineimap Efraim Flashner
2016-04-06  9:09 ` offlineimap Ricardo Wurmus
2016-04-06  9:14   ` offlineimap Efraim Flashner
2016-04-07  6:55     ` offlineimap Efraim Flashner
2016-04-11  8:49       ` offlineimap Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.