Closed prehor closed 5 years ago
FWIW, this patch is currently included in the Arch Linux package so given you are back working on amavisd-milter I'd love to get this merged. If you want, I can make it a proper commit and submit a PR.
Hi @Bluewind, it would be nice if you sent the PR.
I've opened a PR at #3
Moved form amavisd-milter-users mailing list.
From: Florian Pritz bluewind@xi... - 2017-12-15 23:35:26Attachments: signature.asc
Spamassassin's RDNS_NONE check tests if the rdns field in the Received header is empty or "unknown". Postfix sets the client_name macro to "unknown" when the FcrDNS check fails, but the hostname passed to xxfi_connect is set to the IP address which means that RDNS_NONE will never trigger. Fix this by using client_name if available and only fall back to the hostname parameter otherwise.