ietf-mta-filters
[Top] [All Lists]

List variables in Sieve (Re: variables draft (draft-homme-sieve-variables-00.txt))

2003-04-11 14:59:18

In order to move imapflags extension forward I need support for set/list 
variables.
I haven't thought too much how this is going to be implemented (so don't blame 
me if
I say something stupid ;-)), but here are some preliminary thoughts and 
questions:

1). Special syntax for list variables?
2). Can they be expanded inside strings? If yes, what does it mean?
3). Need new actions to add/remove values to the list:

addhead <listvariable> <value(s)>
addtail <listvariable> <value(s)>
remove <listvariable> <value(s)>

4). Need a way to convert a list variable to a string form (conversion in other
direction is easily achievable with existing capabilities: set listvar 
["${var1}",
"${var2}", ...];)

New command:
 asstring <identifier> <listvariable> <delimeter_str>

<delimeter_str> defines the delimiter that would be inserted between values of 
the
listvariable.

Alexey
__________________________________________
R & D, ACI Worldwide/MessagingDirect
Watford, UK

Work Phone: +44 1923 81 2877
Home Page: http://orthanc.ab.ca/mel

I speak for myself only, not for my employer.
__________________________________________



<Prev in Thread] Current Thread [Next in Thread>