Exim mail server: When I send test mail to the Gmail, how can I hide the hostname after “via”

emailemail-servereximgmailspf

I just set up Exim for sending email from a website using this guide:
http://library.linode.com/email/exim/send-only-mta-ubuntu-10.04-lucid

All done with no problem.

When I open a test mail I sent to myself, in the "from" field, instead of showing only the website's address, it also shows my server's hostname.

I read the explanation from Gmail but can't figure out:
https://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=1311182

How could I hide it?

Best Answer

Have you followed the steps outlined by Google?

"Gmail checks whether emails are correctly authenticated. If your messages are sent by a bulk mailing vendor or by third-party affiliates, please publish an SPF record (#2) that includes the IPs of the vendor or affiliates which send your messages. Or, you may consider signing your messages with a DKIM (#3) signature that is associated with your domain."

Option 2, is probably the most straight forward which will also yield the most mileage (with other systems/site as well - besides Google)

" 2. SPF record: An SPF record is a list of IP addresses that are authorized to send mail for a particular domain. For more information on how to publish an SPF record, please visit http://www.openspf.org."