[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 #10 from holmgren@??? 2007-02-07 15:45 -------
On Wednesday 07 February 2007 16:31, ph10@??? wrote:
> As far as I can see, it *does* always call parse_extract_address().


It does? Where? When testing, I get:

> ${if match_address {"Magnus Holmgren" <holmgren@???>}{*@lysator.liu.se}{yes}{no}}

16:38:12 30499 expanding: "Magnus Holmgren" <holmgren@???>
16:38:12 30499    result: "Magnus Holmgren" <holmgren@???>
16:38:12 30499 expanding: *@lysator.liu.se
16:38:12 30499    result: *@lysator.liu.se
16:38:12 30499 address match: subject="magnus holmgren"
<holmgren@???> pattern=*@lysator.liu.se
16:38:12 30499 lysator.liu.se> in "lysator.liu.se"? no (end of list)
16:38:12 30499 "Magnus Holmgren" <holmgren@???> in
"*@lysator.liu.se"? no (end of list)
16:38:12 30499 condition: match_address {"Magnus Holmgren"
<holmgren@???>}{*@lysator.liu.se}
16:38:12 30499    result: false
16:38:12 30499 expanding: yes
16:38:12 30499    result: yes
16:38:12 30499 skipping: result is not used
16:38:12 30499 expanding: no
16:38:12 30499    result: no
16:38:12 30499 expanding: ${if match_address {"Magnus Holmgren"
<holmgren@???>}{*@lysator.liu.se}{yes}{no}}
16:38:12 30499    result: no
no


It doesn't work better the other way around either.

> I far prefer the solution of finding a way of converting RFC2822 address
> lists rather than having foranyaddress, etc. However, I think the name
> "addresses" is too ambiguous. I think something like ${address_list:xxxxx}
> would be clearer. I'm thinking about putting that in.


I concur. address_list was that Kjetil T. Homme suggested. But isn't
"addresslist" better, considering the "historical mis-design"?

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