From d3a3d8b63cdeb5d6a8d3a098a1d80e6531d309f3 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 10 Sep 2012 01:25:37 +0200 Subject: backup of notes --- software/android.page | 4 ++++ software/email.page | 46 +++++++++++++++++++++++++++++++++++++++------- software/misc.page | 2 ++ software/pagekite.page | 2 +- software/unix-tricks.page | 4 ++++ 5 files changed, 50 insertions(+), 8 deletions(-) diff --git a/software/android.page b/software/android.page index a5f1576..bcf0ebf 100644 --- a/software/android.page +++ b/software/android.page @@ -35,3 +35,7 @@ be done [from the command line](http://nelenkov.blogspot.com/2012/08/changing-an $ su -c "vdc cryptfs changepw " +# Reference + +A full set of instructions for the Galaxy Nexus are +[here](http://pof.eslack.org/2012/07/30/fortifying-a-galaxy-nexus-with-stock-ish-image-and-root-access/). diff --git a/software/email.page b/software/email.page index cf3d2fc..c26c009 100644 --- a/software/email.page +++ b/software/email.page @@ -1,19 +1,51 @@ - Laptop Setup --------------- -alpine via IMAP. All messages stored and searched server-side. When offline, -use smartphone to reference recent emails, or export specific emails to read as -a text file. Edit new messages using vim to be pasted in and sent when -reconnected. +offlineimap synchronization to maildir, notmuch indexing, mutt-kr client. + +What I want when online: + +- instant (<1 seconds) email send +- with MUA open, instant (<1 seconds) email receive (IMAP IDLE) +- with MUA closed, regular (15 minute) imap synchronization, and single command + to quickly synchronize and send any queued messages + +What I want when offline: + +- full email archive to search over, sort, reply, etc +- cache send messages to an outbox folder, to be sent later (or deleted before + connecting) + +Compile mutt-kr: + + $ sudo aptitude install offlineimap notmuch libgpgme11-dev libnotmuch-dev \ + libsasl2-dev libdb-dev + $ # in mutt-kr checkout: + $ ./prepare + $ ./configure --enable-dependency-tracking --enable-notmuch \ + --enable-gpgme --enable-hcache --enable-imap --enable-smtp \ + --with-ssl --with-gnutls --with-sasl --with-curses --with-regex + +Install and configure offlineimap: + + $ sudo aptitude install offlineimap + +Fetch cacert [a la](http://docs.offlineimap.org/en/latest/FAQ.html#how-do-i-generate-an-sslcacertfile-file): + + $ openssl s_client -CApath /etc/ssl/certs -connect ${hostname}:imaps -showcerts \ + | perl -ne 'print if /BEGIN/../END/; print STDERR if /return/' > $sslcacertfile + ^D + $ # copy resulting file to /etc/ssl/certs + $ # test with: + $ openssl s_client -CAfile $sslcacertfile -connect ${hostname}:imaps 2>&1