Mailing List Archive

[Bug 3060] dnsdb lookups are truncating the last character of the line
https://bugs.exim.org/show_bug.cgi?id=3060

--- Comment #1 from Jeremy Harris <jgh146exb@wizmail.org> ---
Possibly a dup of 3054 ?

--
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 3060] dnsdb lookups are truncating the last character of the line [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3060

--- Comment #2 from Jeremy Harris <jgh146exb@wizmail.org> ---
Please give an example failing lookup so that this can be checked.

--
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 3060] dnsdb lookups are truncating the last character of the line [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3060

--- Comment #3 from Lee Maguire <lee-exim@hexkey.co.uk> ---

If I add the following ACL:

```
warn logwrite = dnsdb_test_${lookup dnsdb{>\n,
defer_never,txt=exim.org}{$value}}_
```

I see:

```
Dec 25 22:20:34 dot exim[207932]: dnsdb_test_cumi \nv=spf1 a ip4:37.221.193.62
ip6:2a03:4000:8:637::2 a:hh.schlittermann.de mx ?al _
```

By comparison:

```
$ dig +short exim.org txt
"v=spf1 a ip4:37.221.193.62 ip6:2a03:4000:8:637::2 a:hh.schlittermann.de mx
?all"
"cumin"
```

I can now see that the final character in each line isn't being truncated, but
is being replaced by a space.

--
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 3060] dnsdb lookups are truncating the last character of the line [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3060

--- Comment #4 from Lee Maguire <lee-exim@hexkey.co.uk> ---
An ACL of

```
warn logwrite = dnsdb_test_${lookup dnsdb{defer_never,txt=exim.org}{$value}}_
```

doesn't change the characters

```
Dec 25 22:31:50 dot exim[210288]: dnsdb_test_v=spf1 a ip4:37.221.193.62
ip6:2a03:4000:8:637::2 a:hh.schlittermann.de mx ?all\ncumin_
```

--
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 3060] dnsdb lookups are truncating the last character of the line [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=3060

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED

--- Comment #5 from Jeremy Harris <jgh146exb@wizmail.org> ---
Thanks. Bisect, using
exim -be '<${lookup dnsdb{>\n, defer_never,txt=exim.org}}>'

shows:
79670d3c32ccb37fe06f25d8192943b58606a32a is the first fixed commit

which was indeed 3054. Closing as a duplicate.

*** This bug has been marked as a duplicate of bug 3054 ***

--
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/