Re: Sieve script won't compile. Compiler output isn't helpful.

2016-11-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 30 Nov 2016, Stephan Bosch wrote: Op 30-11-2016 om 11:04 schreef Steven Mainor: The main problem is that Sieve quoted strings are allowed to contain newlines, which means that a string doesn't necessarily end before the end of the line.

Re: Sieve script won't compile. Compiler output isn't helpful.

2016-11-30 Thread Giles Coochey
On 30/11/16 11:39, Steven Mainor wrote: Hey Stephan, Its okay I should have been able to spot that as many times as I read it. I feel very silly about it. I just recently started using sieve but already I love how powerful it is. Thanks, Steven An easy way to spot these types of errors is

Re: Sieve script won't compile. Compiler output isn't helpful.

2016-11-30 Thread Steven Mainor
Hey Stephan, Its okay I should have been able to spot that as many times as I read it. I feel very silly about it. I just recently started using sieve but already I love how powerful it is. Thanks, Steven On November 30, 2016 5:44:55 AM EST, Stephan Bosch wrote: > >

Re: Sieve script won't compile. Compiler output isn't helpful.

2016-11-30 Thread Stephan Bosch
Op 30-11-2016 om 11:04 schreef Steven Mainor: Hello Martin, Wow. That was indeed the problem. I have been staring at that small script for a week and I just couldn't see it. I even had a friend look at it and he couldn't find it either. I feel a bit ridiculous now. Making the

Re: Sieve script won't compile. Compiler output isn't helpful.

2016-11-30 Thread Steven Mainor
Hello Martin, Wow. That was indeed the problem. I have been staring at that small script for a week and I just couldn't see it. I even had a friend look at it and he couldn't find it either. I feel a bit ridiculous now. Thanks so much for your help, Steven On 11/30/2016 04:48 AM, Martin

Re: Sieve script won't compile. Compiler output isn't helpful.

2016-11-30 Thread Martin Wheldon
Hi Steven, OK a on closer inspection :) You are missing a closing double quote on line 59: fileinto :create "Lists/Debain/News; should be: fileinto :create "Lists/Debain/News"; Best Regards Martin On 2016-11-30 09:30, Steven Mainor wrote: Hey martin, Thanks for the reply! I made the

Re: Sieve script won't compile. Compiler output isn't helpful.

2016-11-30 Thread Steven Mainor
Hey martin, Thanks for the reply! I made the changes you suggested but I got the same results. According to my understanding, #header "from" "per...@example.com"# is correct for an exact match. On 11/30/2016 04:10 AM, Martin Wheldon wrote: Hi Steven, I think you may be missing the

Re: Sieve script won't compile. Compiler output isn't helpful.

2016-11-30 Thread Martin Wheldon
Hi Steven, I think you may be missing the :contains from the two header lines below: if anyof (header "From" "store-n...@amazon.com", envelope :contains "From" "menswearhouse.com", envelope :contains "From" "officedepot.com", envelope :contains "From"