[exim-dev] [Bug 2855] New: $sender_host_address doesn't work…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2855] New: $sender_host_address doesn't work well with hybrid (v4mapped) IPv4 representation
https://bugs.exim.org/show_bug.cgi?id=2855

            Bug ID: 2855
           Summary: $sender_host_address doesn't work well with hybrid
                    (v4mapped) IPv4 representation
           Product: Exim
           Version: N/A
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Mail Receipt
          Assignee: unallocated@???
          Reporter: hs@???
                CC: exim-dev@???


I'm getting panic log entries like this:

```
2022-01-12 23:52:28 1n7mTi-00HVay-Gm failed to expand condition "${if
match_ip{$sender_host_address}{+mx}}" for always_bcc router:
"::ffff:47.38.105.140.59316" is not an IP address
2022-01-12 23:53:16 1n7mJF-00HUuL-89 failed to expand condition "${if
match_ip{$sender_host_address}{+mx}}" for always_bcc router:
"::ffff:47.48.200.86.58498.0" is not an IP address
```

- OS: IPv6 disabled
- Exim: IPv6 disabled
- Listener (according to `exiwhat` and `ss -lt`) listens on IPv4 only

In host.c host_ntoa() probably calls inet_ntop() which returns the v4mapped
form.
I'm not sure yet and need to dig more into this.

It happens since a recent upgrade from Debian 10 to Debian 11 (and thus from
Exim 4.92 (?) to Exim 4.94.2)

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