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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: bug458
Datum:  
To: exim-dev
Betreff: [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 #7 from holmgren@??? 2007-02-06 21:53 -------
Created an attachment (id=65)
--> (http://www.exim.org/bugzilla/attachment.cgi?id=65&action=view)
Add conversion operator

And this implements an operator that converts an RFC2822 address-list into a
colon-separated (the separator can be changed in the same way as for the dnsdb
lookup) list, i.e. it changes commas between separate addresses into the
separator and doubles all (other) occurrences of the separator.

The name of the operator would be more apt if it extracted the actual addresses
(automatic ${address:...}), but again I wanted to make the list elements
available in their entirety.

The the separator changing mechanism (example: ${addresses:>,$h_To:}) makes
things a bit insecure unless the separator is always explicitly specified.

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