James
2018-Sep-24 11:34 UTC
v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
On 24/09/2018 11:51, Stephan Bosch wrote:> Can you try with the sieve-test command-line tool, in particular with > trace debugging enabled?Thank you for the debugging tip, is this useful? $ sieve-test -D -c dovecot.conf sieve message sieve-test(james): Debug: sieve: Pigeonhole version 0.5.3.rc1 (716b1b49) 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. 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 $ cat dovecot.conf mail_uid = james mail_gid = staff mail_location = maildir:/path/to/%d/%n/Maildir postmaster_address = postmaster at domain.tld $ cat sieve require ["vacation"]; vacation # Reply at most once a day to a same sender :days 1 :subject "Out of office reply" # List of additional recipient addresses which are included in the auto replying. # If a mail's recipient is not the envelope recipient and it's not on this list, # no vacation reply is sent for it. :addresses ["j.doe at company.dom", "john.doe at company.dom"] "I'm out of office, please contact Joan Doe instead. Best regards John Doe"; $ cat message Subject: test From: me at domain.tld testing 123
James
2018-Sep-24 11:54 UTC
v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
On 24/09/2018 12:34, James wrote:> $ cat sieve > require ["vacation"]; > vacation > # Reply at most once a day to a same sender > :days 1...removing the ":days 1" stops the corruption: $ sieve-test -D -c dovecot.conf sieve.2 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, altsieve-test(james): Debug: sieve: Pigeonhole version 0.5.3.rc1 (716b1b49) 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.2. debug: file script: Opened script `sieve.2' from `/home/james/sieve.2'. debug: Script `sieve.2' from /home/james/sieve.2 successfully compiled. Performed actions: * send vacation message: => seconds : 604800 => subject : Out of office reply => handle : I'm out of office, please contact Joan Doe instead. Best regards John DoeOut of office reply<default-from><NO-MIME> START MESSAGE I'm out of office, please contact Joan Doe instead. Best regards John Doe END MESSAGE Implicit keep: * store message in folder: INBOX sieve-test(james): Info: final result: success $ cat sieve.2 require ["vacation"]; vacation # Reply at most once a day to a same sender # :days 1 :subject "Out of office reply" # List of additional recipient addresses which are included in the auto replying. # If a mail's recipient is not the envelope recipient and it's not on this list, # no vacation reply is sent for it. :addresses ["j.doe at company.dom", "john.doe at company.dom"] "I'm out of office, please contact Joan Doe instead. Best regards John Doe";
James
2018-Sep-24 12:01 UTC
v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
On 24/09/2018 12:54, James wrote: Remove 2.3.3 rc1, install 2.3.2 and 0.5.2, success with sieve-test including ":days 1"
Stephan Bosch
2018-Sep-24 12:35 UTC
v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
You can enable `-d -' and `-t - -Tlevel=matching' as well. Op 24-9-2018 om 13:34 schreef James:> On 24/09/2018 11:51, Stephan Bosch wrote: > >> Can you try with the sieve-test command-line tool, in particular with >> trace debugging enabled? > > Thank you for the debugging tip, is this useful? > > > $ sieve-test -D -c dovecot.conf sieve message > sieve-test(james): Debug: sieve: Pigeonhole version 0.5.3.rc1 > (716b1b49) 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. > 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 > > > > > $ cat dovecot.conf > mail_uid = james > mail_gid = staff > mail_location = maildir:/path/to/%d/%n/Maildir > postmaster_address = postmaster at domain.tld > > > > $ cat sieve > require ["vacation"]; > vacation > ? # Reply at most once a day to a same sender > ? :days 1 > ? :subject "Out of office reply" > ? # List of additional recipient addresses which are included in the > auto replying. > ? # If a mail's recipient is not the envelope recipient and it's not > on this list, > ? # no vacation reply is sent for it. > ? :addresses ["j.doe at company.dom", "john.doe at company.dom"] > "I'm out of office, please contact Joan Doe instead. > Best regards > John Doe"; > > > > $ cat message > Subject: test > From: me at domain.tld > > testing 123
James
2018-Sep-24 13:06 UTC
v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
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, altsieve-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
Possibly Parallel Threads
- v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
- v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
- Sieve's spamtest always returns 0
- v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
- sieve filtering utf 8 strings