rp

simple email tools
git clone https://git.parazyd.org/rp
Log | Files | Refs | README | LICENSE

commit 7ce4bcd5c0f2d453090114d05796eab853b37316
parent 1685ad5ab9055b0d4d61f4f155589e8c0846a64a
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 28 Feb 2018 21:59:29 +0100

Fix typo in sieve rule generation.

Diffstat:
Msieve.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sieve.c b/sieve.c @@ -27,7 +27,7 @@ int gento(char *line) { mbox = strtok(NULL, ","); if (!mbox) return 1; - printf("if header :contains [\"To\",\"Cc\"] \"%s\"", email); + printf("if header :contains [ \"To\",\"Cc\" ] \"%s\"", email); printf(" { fileinto :create \"%s\"; stop; }\n", mbox); einfo("to: %s -> %s\n", email, mbox); @@ -66,7 +66,7 @@ int genabook(char *line) { if (!email) return 1; printf("if header :contains \"From\" \"%s\"", email); - printf(" { fileinto: create \"INBOX\"; stop; }\n"); + printf(" { fileinto :create \"INBOX\"; stop; }\n"); einfo("from: %s -> INBOX\n", email);