[exim-dev] [Bug 458] Expansion condition: forall and/or fora…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: bug458
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] [Bug 458] Expansion condition: forall and/or forany
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=458





------- Comment #6 from holmgren@??? 2007-02-06 18:00 -------
Created an attachment (id=64)
--> (http://www.exim.org/bugzilla/attachment.cgi?id=64&action=view)
Add foranyaddress/foralladresses

As another example, this patch adds foranyaddress/foralladdresses conditions.
Note that they unlike the foranyaddress filter condition, the addresses are
*not* automatically extracted - you have to use ${address:...} for that. This
may be confusing, but it allows inspection of the full item, including any
display-name.

Also note that like the foranyaddress filter condition, but unlike
forany/forall, empty items are skipped. This allows easy concatenation of
address fields.

There is one thing I don't like about this solution: I envision further
list-operating expansion items, such as map, reduce, filter, and foreach
(similar to forany, but an expansion item), and having two versions of every
one of them seems ugly.

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