You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sysadmins@spamassassin.apache.org by Sidney Markowitz <si...@sidney.com> on 2024/03/07 07:30:44 UTC

Request for some DNS configuration

I would like to set up some test cases related to
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8213

Can someone please set up a subdomain of spamassassin.org with TXT 
records that includes one that looks like a reasonable SPF record and a 
bunch of other TXT so that the total number of bytes in a reply to a 
query for TXT is more than 1500?

A reasonable SPF record could be

TXT "v=spf1 include:dnsbltest.spamassassin.org -all"

I guess setting up another 20 TXT records each 75 random characters long 
with that 46 character SPF record somewhere in the last five would do it.


The example that I have been using to reproduce the issue is 53.com 
which as you can see from

dig 53.com TXT @1.1.1.1

has 20 TXT records with a total size in the reply packet of 1545

If this ends up getting fixed and we want to have an actual regression 
test for it, I don't think it would be good to have the test hit a real 
site like 53.com.

Thanks,

  Sidney

Re: Request for some DNS configuration

Posted by Giovanni Bechis <gi...@paclan.it>.
On 3/7/24 08:30, Sidney Markowitz wrote:
> I would like to set up some test cases related to
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8213
> 
> Can someone please set up a subdomain of spamassassin.org with TXT records that includes one that looks like a reasonable SPF record and a bunch of other TXT so that the total number of bytes in a reply to a query for TXT is more than 1500?
> 
> A reasonable SPF record could be
> 
> TXT "v=spf1 include:dnsbltest.spamassassin.org -all"
> 
> I guess setting up another 20 TXT records each 75 random characters long with that 46 character SPF record somewhere in the last five would do it.
> 
> 
> The example that I have been using to reproduce the issue is 53.com which as you can see from
> 
> dig 53.com TXT @1.1.1.1
> 
> has 20 TXT records with a total size in the reply packet of 1545
> 
> If this ends up getting fixed and we want to have an actual regression test for it, I don't think it would be good to have the test hit a real site like 53.com.
> 
> Thanks,
> 
>   Sidney
I have created the dns records, I am going to commit a regression test.
  Giovanni