sieve/internal error/detail subaddress and IMAP4FLAGS.

Stephan Bosch stephan at rename-it.nl
Thu Jan 4 02:24:18 EET 2018


Op 1/3/2018 om 11:57 PM schreef Stephan Bosch:
> Op 1/3/2018 om 8:49 PM schreef Larry Rosenman:
>> I'm trying to set an IMAP Flag with the detail part of an address, but getting
>> an internal error:
>>
>> an  3 13:37:27 thebighonker exim[537]: 1eWoqt-00008f-4u <= ler at lerctr.org H=(lrosenman.local) [74.203.163.58]:4650 I=[192.147.25.65]:587 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA3
>> 84:256 CV=no SNI="smtp.lerctr.org" A=dovecot_login:ler S=769 id=20180103193716.oofszdaxopnkgfvd at lrosenman.local
>> Jan  3 13:37:27 thebighonker dovecot: lmtp(549): Connect from local
>> Jan  3 13:37:27 thebighonker dovecot: lmtp(ler at lerctr.org/549): save: box=INBOX, uid=127797, msgid=<20180103193716.oofszdaxopnkgfvd at lrosenman.local>, size=1033, vsize=1062, from=Larry
>>  Rosenman <ler at lerctr.org>, subject=testd, flags=()
>> Jan  3 13:37:27 thebighonker dovecot: lmtp(ler at lerctr.org/549): sieve: msgid=<20180103193716.oofszdaxopnkgfvd at lrosenman.local>: stored mail into mailbox 'INBOX' (subject=testd from=le
>> r at lerctr.org size=1062)
>> Jan  3 13:37:27 thebighonker dovecot: lmtp(ler at lerctr.org/549): Error: sieve: !!BUG!!: Binary compiled from /home/ler/.dovecot.sieve is still corrupt; bailing out and reverting to def
>> ault delivery
>> Jan  3 13:37:27 thebighonker dovecot: lmtp(549): Disconnect from local: Client has quit the connection (state = READY)
>> Jan  3 13:37:27 thebighonker exim[545]: 1eWoqt-00008f-4u == ler_testd at lerctr.org R=localuser T=dovecot_lmtp defer (-46): LMTP error after end of data: 451 4.2.0 <ler_testd at lerctr.org>
>>  BUG: Unknown internal error
>> Jan  3 13:37:27 thebighonker dovecot: indexer-worker(ler at lerctr.org/536): Indexed 1 messages in INBOX (UIDs 127797..127797)
> OK, problem is visible directly by dumping the binary using the
> sieve-dump tool. The dump ends in:
>
> 00000070:   10: SET
> 00000072:         variable: VAR[0] ${detail}
> 00000076:         value: MATCHVAL 1
> 0000007a:   11: ADDFLAG
> 0000007c:         variable name: VAR[0] ${detail}
> 00000080:   12:   list of flags: MATCHVAL 14
> 00000083:   12: Failed to read opcode.
> 00000083:   12: Binary is corrupt.
>
> Will fix...

It is an ancient one. Fix pending:

https://github.com/stephanbosch/pigeonhole-core/commits/fix-imap4flags-variable

Regards,

Stephan.



More information about the dovecot mailing list