From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: offlineimap Date: Wed, 6 Apr 2016 08:32:32 +0300 Message-ID: <20160406053232.GA10957@debian-netbook> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/WwmFnJnmDyWGHa4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ang52-0007Tg-BO for guix-devel@gnu.org; Wed, 06 Apr 2016 01:32:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ang4z-0007IF-1v for guix-devel@gnu.org; Wed, 06 Apr 2016 01:32:40 -0400 Received: from flashner.co.il ([178.62.234.194]:51641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ang4y-0007I7-Qk for guix-devel@gnu.org; Wed, 06 Apr 2016 01:32:36 -0400 Received: from debian-netbook (85.65.229.31.dynamic.barak-online.net [85.65.229.31]) by flashner.co.il (Postfix) with ESMTPSA id BB8B44004E for ; Wed, 6 Apr 2016 05:32:34 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --/WwmFnJnmDyWGHa4 Content-Type: multipart/mixed; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 =3D 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. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-offlineimap-Add-sqlite-support.patch" Content-Transfer-Encoding: quoted-printable =46rom ef7af3b17fcf242af87ad4a86ea46bd340f94da8 Mon Sep 17 00:00:00 2001 =46rom: Efraim Flashner 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-pysql= ite. --- 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 --=20 2.8.0.rc3 --J2SCkAp4GZ/dPZZf-- --/WwmFnJnmDyWGHa4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXBJ9wAAoJEPTB05F+rO6TaJIP/RaW1x1Th6f4rl90g8r4NiTV IWolv2N7P8+lXAJqNLxRLpwO6y6jEDWubHe262vDC5huKEt0Mppop11LWbn29kx4 /YuBGb7r3tTae/6iImqJvXS6nQhbwaa1B7BTBFmW1bQDLHgDa5iTPZfbptgUoQQj n7QMxTbWxtoK879SLFjARRiSlIGQPD2ohEyL42jxZNXtxK2jWCiRDi7u6JQ/4JRx 8emzD2Mi9iJBKdJwSymCqzi6ar5JB7GaXtoPzpnuybL+XuS2M4YNIsRmZBWPRktk 5ugV3+fvgfRES/9V7J23Wh4MedEroxecl3ZwRDOwjNJrrsFPEj5JGzp2mknJdGo3 bAqet90LX3VwDB4AXK26pmXtBUosNgCn8Uim4M0Kn4JH1Bn+vAg2x1MrFLZvXaC0 Bxg2Ax9yXkGpPw59evrwiqHVnrQULuRgav/Fd9aZVCcYkUzDpT3bMcNGR0YS8dqn nuSPusvXvTGrl4ZcfclepNNJOZJHxEg0xojIf1aXiy4ebFAdu44q3pJq2WzVhnp7 q8hi4g/25w7TT+Puk0Vw4D1kVnMdtx6tMnOMBfXuDUOhO2eMxFnPYSXtK2nvVgXZ X94HCAF9JK+pEV6pqEVofFSxp3tIULEPsGbmhu+Kk6OmpZ2cPP3wJFQNZaQFr2AH 15A7XkOytMlAjudj3sw+ =tBD4 -----END PGP SIGNATURE----- --/WwmFnJnmDyWGHa4--