I have a mail server at 1.2.3.4, FDQN: mail.obfuscate.com. It hosts several domains for web and email, for example hosted1.org. I'm trying to sort out what is correct for SPF and rDNS, etc. so recipient servers don't hate me. Given the above, would these be correct headers:
Code:
From maillist@hosted1.org Thu Sep 29 00:58:49 2022
Return-Path: <maillist@hosted1.org>
Received: from mail.obfuscate.com (rrcs-1-2-3-4.mail.obfuscate.com [1.2.3.4]
:
Mark Foley <mfoley@hosted1.org>
or rather these:
Code:
From maillist@obfuscate.com Thu Sep 29 00:58:49 2022
Return-Path: <maillist@obfuscate.org>
Received: from mail.obfuscate.com (rrcs-1-2-3-4.mail.obfuscate.com [1.2.3.4]
:
Mark Foley <mfoley@hosted1.org>
The difference being in the 'From ' and 'Return-Path:' headers. As I understand it, these must match. Since the IP for both hosts is 1.2.3.4, the rDNS can only refer back to one of them 'Received:' so, my MX record for hosted.org needs to be mail.obfuscate.com, right?