[exim] Re: dnsdb loses characters (exim 4.96.2, 4.97)

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andrew C Aitchison
Fecha:  
A: Jeremy Harris
Cc: exim-users
Asunto: [exim] Re: dnsdb loses characters (exim 4.96.2, 4.97)
On Fri, 17 Nov 2023, Jeremy Harris via Exim-users wrote:

> Just pushed 79670d3c32cc - anybody building from git may wish to test.


# echo '${lookup dnsdb{>\n; defer_never,txt=perrigo.com}}' | exim -be |\
     grep -a v=spf1 | tr ' ' '\n' | grep 65.221.12.128
ip4:65.221.12.128/32


# echo '${lookup dnsdb{>\n; txt=exim.org}}' | exim -be
> cumin

v=spf1 a ip4:37.221.193.62 ip6:2a03:4000:8:637::2 a:hh.schlittermann.de mx
?all

So both the original issue and the single chunk case that Victor Ustugov
reported today look good.

When I run the test suite I had to change my hostname to avoid
*** Host name is not fully qualified: this may cause problems ***
so I wont vouch for the state of my DNS, but
     ./runtest 2200 -continue -keep
reports:


>>> The following tests require: lookup dnsdb

dnsdb/2200 dnsdb lookup in string expansions
** Comparison of test-stdout-munged with stdout/2200 failed===============
Line 4 of "test-stdout-munged" does not match line 4 of "stdout/2200".
----------
> txt=long.test.ex           This is a max-length chunk 

78901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012
----------
> txt=long.test.ex           This is a max-length chunk 

789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234A
short chunkA final chunk
===============
1 difference found.
"test-stdout-munged" contains 62 lines; "stdout/2200" contains 62 lines.

... so my exim has lost
3456789012345678901234A short chunkA final chunk

:-(

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew@???


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