Closed stmontgomery closed 8 years ago
RFC 5232 supports specifying a string-list of IMAP flags to the fileinto command via the :flags tag, but check-sieve does not properly parse this.
fileinto
:flags tag
The usage is currently
fileinto [\":flags\"][\":copy\"] <folder: string>"
but should be
fileinto [\":flags\" <list-of-flags: string-list>][\":copy\"] <folder: string>
Test cases reproducing the issue and proposed fix below. See my commit messages for details, including an explanation of why the bison version changed from 3.0.2 to 3.0.4.
RFC 5232 supports specifying a string-list of IMAP flags to the
fileinto
command via the:flags tag
, but check-sieve does not properly parse this.The usage is currently
but should be
Test cases reproducing the issue and proposed fix below. See my commit messages for details, including an explanation of why the bison version changed from 3.0.2 to 3.0.4.