[exim-dev] [Bug 3060] dnsdb lookups are truncating the last …

Top Pagina
Delete this message
Reply to this message
Auteur: Exim Bugzilla
Datum:  
Aan: exim-dev
Onderwerp: [exim-dev] [Bug 3060] dnsdb lookups are truncating the last character of the line
https://bugs.exim.org/show_bug.cgi?id=3060

--- Comment #3 from Lee Maguire <lee-exim@???> ---

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@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/