jaromail

a commandline tool to easily and privately handle your e-mail
git clone git://parazyd.org/jaromail.git
Log | Files | Refs | Submodules | README

commit 1005678e425a1f103842891c0be1be2054944471
parent 22cb9f38bbd02be39310c63ec847b5a1ece9da7e
Author: Jaromil <jaromil@dyne.org>
Date:   Fri,  2 May 2014 14:42:08 +0200

addressbook in ram not needed (no real speed gain on that)

Diffstat:
Msrc/jaro | 4+---
Msrc/zlibs/email | 6------
2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/jaro b/src/jaro @@ -238,9 +238,7 @@ hostname=$(hostname) # gather the current hostname { test -r "$KEYRING" } || { create_keyring "$KEYRING" } # make sure we have an addressbook -addressbook_tmp=$TMPDIR/${USER}.${hostname}.addressbook -{ test -r "$addressbook" } || { create_addressbook } -{ test -r "$addressbook_tmp" } && { addressbook="$addressbook_tmp" } +{ test -r "$addressbook" } || { create_addressbook "$addressbook" } ${=mkdir} "$MAILDIRS/logs" # ${=mkdir} "$MAILDIRS/certs" diff --git a/src/zlibs/email b/src/zlibs/email @@ -275,12 +275,6 @@ fetch() { unlock $MAILDIRS/logs/procmail-${datestamp}.log fi - # copy addressbook in RAM for speedup - # TODO: check if we really have ramdisk - # newlock $addressbook_tmp - # cp $WORKDIR/addressbook $addressbook_tmp - # unlink $addressbook_tmp - act "please wait while downloading mails..." print " $fmconf " | fetchmail -f -