[exim-dev] [Bug 1150] New: ${addresses:} expands incorrectly

Etusivu
Poista viesti
Vastaa
Lähettäjä: Arkadiusz Miskiewicz
Päiväys:  
Vastaanottaja: exim-dev
Uudet otsikot: [exim-dev] [Bug 1150] ${addresses:} expands incorrectly, [exim-dev] [Bug 1150] ${addresses:} expands incorrectly, [exim-dev] [Bug 1150] ${addresses:} expands incorrectly, [exim-dev] [Bug 1150] ${addresses:} expands incorrectly
Aihe: [exim-dev] [Bug 1150] New: ${addresses:} expands incorrectly
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1150
           Summary: ${addresses:} expands incorrectly
           Product: Exim
           Version: 4.76
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
        AssignedTo: nigel@???
        ReportedBy: arekm@???
                CC: exim-dev@???



I have a mail with header:

From: =?iso-8859-2?Q?Kr=F3l=2C_Piotr?= <Piotr.Someone@???>

Then I have a rule:
...
log_message = "BLEBLE ${addresses:$h_from:}"

which gets such result - incorrectly I get two addresses (!):

H=(test) [12.12.12.12] Warning: "BLEBLE Kr�l:Piotr.Someone@???"

(there are ugly characters between "Kr" and "l" there:
0000000: 2020 483d 2874 6573 7429 205b 3132 2e31    H=(test) [12.1
0000010: 322e 3132 2e31 325d 2057 6172 6e69 6e67  2.12.12] Warning
0000020: 3a20 2242 4c45 424c 4520 4b72 efbf bd6c  : "BLEBLE Kr...l
0000030: 3a50 696f 7453 6f6d 656f 6e65 4073 6f6d  :PiotSomeone@som
0000040: 6577 6865 7265 2e70 6c22 0a              ewhere.pl".
)


but from command line it expands correctly:

exim -be '${addresses:From: =?iso-8859-2?Q?Kr=F3l=2C_Piotr?=
Piotr.Someone@???>}'
Piotr.Someone@???


Such wrong expansion causes counting like in
http://bugs.exim.org/show_bug.cgi?id=1147 to fail to count addresses in From
correctly.


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