From e3b227137b7cbe3399a96b986bf029174d9c7902 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 8 Feb 2026 15:18:09 +0000 Subject: a CNAME loop is a permanent error --- src/qmail-remote/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qmail-remote/dns.c b/src/qmail-remote/dns.c index fb01a0d..7344cf6 100644 --- a/src/qmail-remote/dns.c +++ b/src/qmail-remote/dns.c @@ -212,7 +212,7 @@ unsigned int dns_stuff (char const *host, char const *const *eaddr, unsigned int if (r >= 2) /* it's a CNAME, loop on it */ { s6dns_domain_t *domain = genalloc_s(s6dns_domain_t, &dlist.ds) ; - if (cnames[i].count++ >= 100) qmailr_temp("DNS CNAME loop") ; + if (cnames[i].count++ >= 100) qmailr_perm("DNS CNAME loop") ; if (!skadns_send_g(&a, &cnames[i].id, domain, S6DNS_T_CNAME, &deadline, &deadline)) qmailr_tempusys("send ", "CNAME", " DNS query") ; pending++ ; -- cgit v1.3.1