HELO/EHLO does not include FQDN
I'm including my -filter script here in case it cound help someone else and in case anyone sees a better solution or a bug in my solution. This seems to be working just fine in test and production. # Make a copy for verification # cp "$1" "$1.pre.tmp" # NOTES # IFS= required to include leading/trailing spaces # -r required to leave escape (backslash) chars alone # Replace host\.myserver\.com to your receiving SMTP server name--only update rDNS for these "Received" headers while IFS= read -r line;...
My only argument to add this is for SpamAssassin. Using SpamAssassin to scan the email without the rDNS triggers 2-3 spam rules that indicate the email is spam based on the rDNS not matching the HELO name. The result is that you then have to go into SA and set the score to 0 to prevent HAM from getting tagged as SPAM. I'm just created a filter rule that uses SED and DIG to update the received lines. But, was just wondering if you already had an option that I missed to do this. Emailrelay solves a...
rDNS Name in Received Header