SA Bugzilla – Bug 7810
gmail has an extra dot in rDNS
Last modified: 2020-07-17 05:03:58 UTC
I noticed that gmail includes a trailing dot in rDNS. Received: from mail.apache.org (hermes.apache.org. [207.244.88.153]) by mx.google.com with SMTP id s20si659662edr.444.2020.04.22.23.41.32 for <rwmaillists@gmail.com>; Wed, 22 Apr 2020 23:41:33 -0700 (PDT) This dot is present in the 'rdns=' field in Relays-External etc. Rather than fixing all the rules this breaks, I think it would cause less trouble in the long run to strip trailing dots in the end section of parse_received_line().
+1 to cleaning it up in parsed_received_line().
Sending spamassassin-3.4/lib/Mail/SpamAssassin/Message/Metadata/Received.pm Sending trunk/lib/Mail/SpamAssassin/Message/Metadata/Received.pm Sending trunk/rulesrc/sandbox/gbechis/20_misc.cf Sending trunk/rulesrc/sandbox/smf/20_smf.cf Transmitting file data ....done Committing transaction... Committed revision 1879979.