On 24/09/2018 13:35, Stephan Bosch wrote:
You can enable
-d -' and
-t - -Tlevel=matching' as well.
$ sieve-test -D -d - -t - -Tlevel=matching -c dovecot.conf sieve message
sieve-test(james): Debug: Effective uid=1001, gid=10, home=/home/james
sieve-test(james): Debug: maildir++: root=/path/to//james/Maildir,
index=, indexpvt=, control=, inbox=/path/to//james/Maildir, alt=
sieve-test(james): Debug: sieve: Pigeonhole version 0.5.2 (7704de5e)
initializing
sieve-test(james): Debug: sieve: include: sieve_global is not set; it is
currently not possible to include :global' scripts. debug: file storage: Using Sieve script path: /home/james/sieve. debug: file script: Opened script
sieve' from /home/james/sieve'. debug: Script
sieve' from /home/james/sieve successfully compiled.
- Script metadata (block: 0):
class = file class.version = 0 location = /home/james/sieve
Required extensions (block: 1):
0: vacation (id: 9)
Main program (block: 2):
Address Line Code 00000000: DEBUG BLOCK: 3 00000001: EXTENSIONS [1]: 00000002: vacation 00000004: 2: VACATION 00000007: 4: seconds: NUM 5 00000009: Binary is corrupt.
## Started executing script 'sieve'
VACATION: #ERROR#: unknown optional operand
2: [[EXECUTION ABORTED]]
## Finished executing script 'sieve'
sieve-test(james): Info: corrupt binary deleted. sieve-test(james): Error: unlink((null)) failed: Bad address (in sieve-test.c:426) sieve-test(james): Info: final result: failed; resolved with successful implicit keep