Mailing List Archive

[Bug 3086] exinext mangled output for IPv6 hosts
https://bugs.exim.org/show_bug.cgi?id=3086

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|Exim 4.97 |Exim 4.98
Status|NEW |ASSIGNED
Assignee|unallocated@exim.org |jgh146exb@wizmail.org

--- Comment #1 from Jeremy Harris <jgh146exb@wizmail.org> ---
eximnext is an unholy mixture of shell and perl... could you run the shelscript
outer layer with "sh -x" and see if the perl call looks reasonable, or bad at
that
point?

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3086] exinext mangled output for IPv6 hosts [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3086

--- Comment #2 from Wolfgang Breyha <wbreyha@gmx.net> ---
I think I found it... at least for my example
-----------
--- exinext.orig 2024-04-03 14:50:12.315367555 +0200
+++ exinext 2024-04-03 14:50:33.134629609 +0200
@@ -218,7 +218,7 @@

else
{
- ($host,$ip) = $text =~ /host\s(\S+)\s\[([^]]+)\]/;
+ ($host,$ip) = $text =~ /H=(\S+)\s\[([^]]+)\]/;
if (defined $host)
{
($port,$msgid) = $key =~
-----------
fixes the output. exinext obviously tries to extract $host and $ip from the
"H=" part for IPv6.

Did the values in the retry DB change in the past from "host " to "H="?

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3086] exinext mangled output for IPv6 hosts [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3086

--- Comment #3 from Jeremy Harris <jgh146exb@wizmail.org> ---
Probably - but the dependency chain is too long to trace. As you can see from
the
comments in the perl code, for ipv6 it is parsing a text field to get the ipv6
addr;
noted as a hack, and as we find now excessively fragile versus tweaks in
far-distant
places.

What was the original dumpdb line for that address?

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3086] exinext mangled output for IPv6 hosts [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3086

--- Comment #4 from Wolfgang Breyha <wbreyha@gmx.net> ---
It was:
T:dzsmtp2.iiasa.ac.at:2001:628:21f0:80::80:146:1rrxKe-0000000E15z-21k5 -45
13133 H=dzsmtp2.iiasa.ac.at [2001:628:21f0:80::80:146]: SMTP error from remote
mail server after MAIL FROM:<>: 451 4.1.8 Possibly forged hostname for IPv6:2

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3086] exinext mangled output for IPv6 hosts [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3086

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAIT_FIX_CONFIRMATION

--- Comment #5 from Jeremy Harris <jgh146exb@wizmail.org> ---
5e0ccec4397b addresses

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[Bug 3086] exinext mangled output for IPv6 hosts [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3086

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|WAIT_FIX_CONFIRMATION |RESOLVED

--- Comment #6 from Jeremy Harris <jgh146exb@wizmail.org> ---
Nobody commented

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/