Date: Thu, 15 Jan 2015 13:00:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196756] Spamilter: Add IPv6 AAAA Lookups for MtaHostChk Message-ID: <bug-196756-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196756 Bug ID: 196756 Summary: Spamilter: Add IPv6 AAAA Lookups for MtaHostChk Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jvp@lateapex.net The current (.60) version of spamilter included in the FreeBSD ports doesn't support IPv6 AAAA lookups, if the user has enabled MtaHostChk in the config= .=20 If a MTA host connect via IPv6, spamilter's DNS lookup will always fail. T= his patch fixes that. # diff dns.c dns-ipv6.c 70,71c70,71 < < rc =3D (res_nquery(statp, hn,ns_c_in,ns_t_a,packet,sizeof(pac= ket)) =3D=3D -1 ? 0 : 1); --- > rc =3D ((res_nquery(statp, hn,ns_c_in,ns_t_a,packet,sizeof(packet)) = =3D=3D -1 ? 0 : 1) || > (res_nquery(statp, hn,ns_c_in,ns_t_aaaa,packet,sizeof(packet)) =3D=3D = -1 ? 0 : 1)); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196756-13>