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 4fb869757d8852e659621299c24c1eacc9017aa0
parent d30e1d068f173f7851671dbcbfd69680e2cb86ae
Author: Jaromil <jaromil@dyne.org>
Date:   Wed, 21 Jan 2015 10:42:30 +0100

fix to filtering into priv

Diffstat:
Msrc/zlibs/filters | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/zlibs/filters b/src/zlibs/filters @@ -404,9 +404,9 @@ filter_maildir() { # parse own email and aliases match=0 - for f in $ftos; do + for f in ${(k)e_addr}; do # check if destination address is in filter_own array - if [[ ${filter_own[(r)$f]} == ${f} ]] ; then + [[ ${filter_own[(r)$f]} == ${f} ]] && { [[ "$mdinput" = "priv" ]] && { act "$c\t/ $numm" match=1 @@ -421,7 +421,7 @@ filter_maildir() { break } } - fi + } done [[ $match = 1 ]] && continue