From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: offlineimap
Date: Wed, 6 Apr 2016 08:32:32 +0300 [thread overview]
Message-ID: <20160406053232.GA10957@debian-netbook> (raw)
[-- 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 --]
next reply other threads:[~2016-04-06 5:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-06 5:32 Efraim Flashner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160406053232.GA10957@debian-netbook \
--to=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).