Arnt Gulbrandsen wrote:
The LISTSCRIPTS text implies that script names are sent one per line.
However, the syntax allows script names to contain linebreaks, e.g.
the following is legal according to the syntax:
C: Listscripts
S: "summer_script"
S: "vacation_script"
S: {12+}
S: main
S: script} ACTIVE
IMAP/ACAP would interpret the following as a single protocol "line":
S: {12+}
S: main
S: script} ACTIVE
S: OK
I think the document should be changed to prohibit CRLFs in script names.
I've also updated the example to become:
C: Listscripts
S: "summer_script"
S: "vacation_script"
S: {13+}
S: clever"script
S: "main_script" ACTIVE
S: OK
I suggest changing the text: "If there exists an active script the
atom ACTIVE is appended to the name of that script. The ACTIVE string
MUST NOT appear for more than one script."
Aaron told me in private mail that a well-known sieve UI couldn't
handle some perfectly legal syntax. Shame on whoever wrote that code.
Practically speaking, it might be advisable to use more varied syntax
in the managesieve specifition's examples, to make it more difficult
to overlook these things.