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 7e8e4280db14414f553ba7bffb9c636ea436112d
parent c177c8c3c830eceaf8ba7a4dee2fced7a3f8d776
Author: Jaromil <jaromil@dyne.org>
Date:   Thu,  7 Apr 2016 10:04:16 +0200

imap remote folder switching in peek

Diffstat:
Msrc/zlibs/email | 3++-
Msrc/zlibs/filters | 8++++++--
2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/zlibs/email b/src/zlibs/email @@ -581,10 +581,11 @@ EOF source '$_pass_tmp' unset mark_old set sort=reverse-date-received +set folder=${iproto}://${ilogin}@${imap}:${imap_port} EOF # schedule deletion of pass files after use - sched +1 " + sched +3 " rm -f $MAILDIRS/.mutt/muttpass touch $MAILDIRS/.mutt/muttpass ${=rm} -f $tmp" # zero the tmp passfile after a second diff --git a/src/zlibs/filters b/src/zlibs/filters @@ -521,8 +521,6 @@ macro index,pager a "<pipe-message>$WORKDIR/bin/jaro -l whitelist -q learn sende macro index,pager A "<pipe-message>$WORKDIR/bin/jaro -l whitelist -q learn all<enter>" "add all addresses in whitelist" macro index,pager z "<pipe-message>$WORKDIR/bin/jaro -l blacklist -q learn sender<enter>" "add sender to blacklist" -# mailboxes in order of priority -source '$MAILDIRS/.mutt/mboxes' # specific configuration files source '$WORKDIR/.mutt/gpg' @@ -532,7 +530,13 @@ source '$WORKDIR/.mutt/formats' source '$WORKDIR/.mutt/keybindings' source '$WORKDIR/.mutt/colors' source '$MAILDIRS/Identity.txt' + +# pointer to password tempfile and dynamic settings +# must be before mboxes to set folder on imap peek source '$MAILDIRS/.mutt/muttpass' + +# mailboxes in order of priority +source '$MAILDIRS/.mutt/mboxes' EOF