James
2018-Sep-24 10:03 UTC
v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
I have a sieve problem with dovecot v2.3.3 rc1 with either of pigeonhole 0.5.2 or 0.5.3.rc1. The the change that triggers this is in dovecot not pigeonhole. Sieve filtering has been working with v2.3.2 and many earlier versions. Log report: Sep 24 10:36:13 mailhost dovecot: [ID 702911 mail.error] lmtp(user at domain.tld)<15816><RnikKw2wqFvIPQAAs831Jw>: Error: sieve: !!BUG!!: Binary compiled from /path/to/domain/user/dovecot.sieve is still corrupt; bailing out and reverting to default delivery This is a sieve script with a vacation handler. My other sieve filters are working. My actual sieve filter worked before and was written by Roundcube web mail. My failing test script is cut-n-paste from the sieve examples https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples so should not be in doubt. The text script compiles to dovecot.svbin and newly compiled files are identical to older versions, the compilation has not changed. James.
Stephan Bosch
2018-Sep-24 10:51 UTC
v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt
Can you try with the sieve-test command-line tool, in particular with trace debugging enabled? Op 24-9-2018 om 12:03 schreef James:> I have a sieve problem with dovecot v2.3.3 rc1 with either of > pigeonhole 0.5.2 or 0.5.3.rc1.? The the change that triggers this is > in dovecot not pigeonhole.? Sieve filtering has been working with > v2.3.2 and many earlier versions. > > > Log report: > Sep 24 10:36:13 mailhost dovecot: [ID 702911 mail.error] > lmtp(user at domain.tld)<15816><RnikKw2wqFvIPQAAs831Jw>: Error: sieve: > !!BUG!!: Binary compiled from /path/to/domain/user/dovecot.sieve is > still corrupt; bailing out and reverting to default delivery > > > This is a sieve script with a vacation handler.? My other sieve > filters are working.? My actual sieve filter worked before and was > written by Roundcube web mail.? My failing test script is cut-n-paste > from the sieve examples > https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples so should not be > in doubt. > > The text script compiles to dovecot.svbin and newly compiled files are > identical to older versions, the compilation has not changed. > > > > James.
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
Reasonably Related 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
- 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
- v2.3.3 rc1 - Error: sieve: !!BUG!!: Binary compiled from dovecot.sieve is still corrupt