I found an email that sieve stored in Deleted Messages incorrectly. The log messages show sieve doing that, but don't give me any indication of which sieve rule caused the problem. I went through it manually, but didn't see anything that matched. I seem to recall that there was a way to use sieve-test to show the rules and how they were applied, but I can't seem to get it to do that now. -- Doug
On Sat, 16 Dec 2017 18:17:39 -0800, Doug Hardie stated:>I found an email that sieve stored in Deleted Messages incorrectly. The log >messages show sieve doing that, but don't give me any indication of which >sieve rule caused the problem. I went through it manually, but didn't see >anything that matched. I seem to recall that there was a way to use >sieve-test to show the rules and how they were applied, but I can't seem to >get it to do that now. >It depends on how much info you want. Read the "man sieve-test" for more info. sieve-test -d- "script file" "mail-file" That will give you the most complete info. Omit the "-d-" for an abbreviated output. -- Jerry
> On 17 December 2017, at 02:42, Jerry <jerry at seibercom.net> wrote: > > On Sat, 16 Dec 2017 18:17:39 -0800, Doug Hardie stated: > >> I found an email that sieve stored in Deleted Messages incorrectly. The log >> messages show sieve doing that, but don't give me any indication of which >> sieve rule caused the problem. I went through it manually, but didn't see >> anything that matched. I seem to recall that there was a way to use >> sieve-test to show the rules and how they were applied, but I can't seem to >> get it to do that now. >> > > It depends on how much info you want. Read the "man sieve-test" for more info. > > sieve-test -d- "script file" "mail-file" > > That will give you the most complete info. Omit the "-d-" for an abbreviated > output. >Thanks. I got it figured out now. The man page had me confused for awhile. Found the logic error in my script. Now to figure out how to remember this months from now... -- Doug