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

Góra strony
Delete this message
Reply to this message
Autor: bug458
Data:  
Dla: exim-dev
Temat: [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 #4 from holmgren@??? 2007-02-06 14:45 -------
Nice. Though in fact I didn't expect you to accept this without discussion. I
see that you have given an example using $recipients in NewStuff. I think
people should be made aware that it won't work if items contain commas. Not
that they usually do, but they *can* - and even if local users don't have
commas in their usernames, there's still local_part_prefix/_suffix. And if
one wants to apply forany/forall to $h_To:, the display-name can also contain
commas.

So I'm still trying to decide which is best: An expansion operator that
converts from an RFC 2822 address-list to a list compatible with
string_nextinlist(); separate conditions (foranyaddress/foralladdresses) that
work with such lists; or perhaps string_nextinlist can simply ignore
separators within quoted strings (treating \" as a literal quote).

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