commit 9a68b788eb2712dbe5d4b572cd1d72c7cccae378
parent 47aae751c0efa08b82093efa810177dfc69c2331
Author: Jaromil <jaromil@dyne.org>
Date: Fri, 31 Aug 2012 09:51:39 +0200
whitelist learning on sent emails
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/zlibs/addressbook b/src/zlibs/addressbook
@@ -146,7 +146,7 @@ learn() {
insert_address "$email" "$name"
return 0
;;
- receiver) # complex: more addresses in To: and Cc:
+ recipient) # complex: more addresses in To: and Cc:
head="`cat | ${WORKDIR}/bin/fetchaddr -x To: -a`"
for h in ${head}; do
email="${h[(ws:,:)1]} )"
diff --git a/src/zlibs/email b/src/zlibs/email
@@ -264,7 +264,7 @@ EOF
else
act "Mail sent succesfully"
# whitelist those to whom we send mails
- cat ${mail} | $WORKDIR/bin/jaro -l whitelist -q receiver to:
+ cat ${mail} | $WORKDIR/bin/jaro -q learn recipient
${=rm} ${mail} &
unlink ${smtp} &
fi