From 6d589545e5fc64d0d8254a7249c89e3e2c603b9b Mon Sep 17 00:00:00 2001 From: neingeist Date: Fri, 28 Sep 2012 12:56:44 +0200 Subject: [PATCH] Add README --- README | 14 ++++++++++++++ mail2taskwarrior | 10 +--------- 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100755 README diff --git a/README b/README new file mode 100755 index 0000000..b6fadc6 --- /dev/null +++ b/README @@ -0,0 +1,14 @@ +Add a task to taskwarrior via email. Makes use of the taskw Python bindings. + + http://taskwarrior.org + https://github.com/ralphbean/taskw + +For use with procmail or maildrop. Example using maildrop's .mailfilter: + + + if ($SIZE < 8192 && /^From:.*myaddress@example.com/ && /^To:.*taskwarrior@/) + { + log "add task via mail2taskwarrior" + xfilter "devel/mail2taskwarrior/mail2taskwarrior" + exit + } diff --git a/mail2taskwarrior b/mail2taskwarrior index 15a0b9e..bd107f4 100755 --- a/mail2taskwarrior +++ b/mail2taskwarrior @@ -5,15 +5,7 @@ # http://taskwarrior.org # https://github.com/ralphbean/taskw # -# For use with procmail or maildrop. Example using maildrop's .mailfilter: -# -# -# if ($SIZE < 8192 && /^From:.*myaddress@example.com/ && /^To:.*taskwarrior@/) -# { -# log "add task via mail2taskwarrior" -# xfilter "devel/mail2taskwarrior/mail2taskwarrior" -# exit -# } +# See README for more info. # from taskw import TaskWarrior