Sendmail: received from root@localhost / spam problem

Hi,

I have set up a working sendmail installation that has only one problem: deep in the mail header is an entry that reads “received from: (root@localhost)”.

Every other entry - incl. the from address - use the correct domain name, host name and user name.

Unfortunately, this little entry seems to be reason why most of our emails are being treated as spam by other mail servers.

Help would be very welcome!

Thanks a lot in advance!

Late answer, but since there haven’t been any takers …

On 25.02.2009 23:16, agogo98 wrote:
> I have set up a working sendmail installation that has only one
> problem: deep in the mail header is an entry that reads “received from:
> (root@localhost)”.

In a “Received:” header, I assume. Quite normal.

> Unfortunately, this little entry seems to be reason why most of our
> emails are being treated as spam by other mail servers.

I doubt that very much. Any server that drew such a conclusion from
such an innocent little header entry would be severely broken, and
there are certainly not many of them.

In most cases I have seen where outgoing mail from a Linux PC was
treated as spam for no apparent reason, it was because the PC in
question tried to send mail directly to the recipient from an
Internet connection with a dynamic IP address, which is a big no-no.
Try to configure your Sendmail to use your provider’s mail server
as an SMTP relay for outgoing mail (aka smarthost) and see if it
helps.

HTH
Tilman