I have a customer that is complaining about emails marked as spam.
I'm looking at the header. It shows the correct From: reg@company.com
However, it doesn't like the return-path.
Return-Path: <apache@servername.mycompany.com>
Received-SPF: neutral (google.com: x.x.x.x is neither permitted nor denied by domain of apache@servername.mycompany.com) client-ip=x.x.x.x;
Authentication-Results: mx.google.com; spf=neutral (google.com: x.x.x.x is neither permitted nor denied by domain of apache@servername.mycompany.com) smtp.mail=apache@servername.mycompany.com
How do I configure sendmail to use the From address for the Return-Path?
Best Answer
From the bat book (page 1165):
Your client is not having problems with the Return-Path: header. Neither with SPF since the result is neutral as the headers tell us. You client must accept the fact that the intended recipients consider what he sends as spam.
If this is indeed a false positive consider setting up proper SPF and DKIM records for the domain and see if the situation improves.