A few of my constituents have told me that my emails are going to their Spam folder in Gmail. I did some digging with mail-tester.com and found that SpamAssassin is dinging my mailings -1.629 points for the code URI_WP_HACKED_2.
I did some more digging and found this is likely caused by the WP REST API that was integrated into Civi in 5.25. I'm currently running 5.27.0. See this link for more information: https://docs.civicrm.org/dev/en/latest/api/v3/wp-rest/
My question is: how do I resolve this SpamAssassin false positive? I don't understand how to set the CIVICRM_WP_REST_REPLACE_MAILING_TRACKING constant to true. I've tried both in wp-config.php and civicrm.settings.php. SpamAssassin is still marking the mailings as URI_WP_HACKED_2.
Any ideas as to why this is happening and how I can fix it?
Many thanks!