[exim-dev] [Bug 1147] builtin list counting feature

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-dev
Anciens-sujets: [exim-dev] [Bug 1147] New: builtin list counting feature
Sujet: [exim-dev] [Bug 1147] builtin list counting feature
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1147




--- Comment #2 from Jeremy Harris <jgh146exb@???> 2012-06-10 00:34:48 ---
Created an attachment (id=576)
--> (http://bugs.exim.org/attachment.cgi?id=576)
${list:name} and ${nlist:string} expansions

For amusement, a pair of expansion operators:

${list:name}
Takes the name of a named list (with optional +) and returns the expansion.
Handles nested named lists (but the output will be confused if variant list
separator specs are present). Looks for any type of list, in an undefined
order, returning the first one found. Variants list_a, list_d, list_h and
list_l restrict the lookup to address, domain, host or localpart lists
respectively.

${nlist:string}
Takes a list and returns the number of elements.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email