[exim-dev] [Bug 458] Various expansion items and conditions …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: bug458
Dátum:  
Címzett: exim-dev
Régi témák: [exim-dev] [Bug 458] New: Expansion condition: forall and/or forany
Tárgy: [exim-dev] [Bug 458] Various expansion items and conditions iterating over lists
------- 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 #22 from holmgren@??? 2007-02-11 18:55 -------
On Sunday 11 February 2007 04:46, kjetilho@??? wrote:
> ------- Comment #19 from kjetilho@??? 2007-02-11 03:46 -------
> I like map/filter/reduce very much!
>
> (In reply to comment #18)
>
> >     {${map {${addresses:$recipients}}

>
> so ${addresses:} will accept space delimited addresses? looks like it from
> a quick glance at the patch.


No, that is not my intention, and I don't think it is the case. ${addresses:}
uses parse_find_address_end() and parse_extract_address(), which should parse
RFC 2822 address lists correctly. And $recipients is comma-delimited.

> ideally, Exim should be able to see that $recipients is used in a list
> context (to use Perl terminology) so that you don't need the extra call.


I hope that that's how it will work in Exim 5...

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