Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My question is probably very easy to answer but I have been struggling with this the whole day. Actually, I would like to change my smtp.mail name and account that is shown as sending the emails in the header. I changed the "From" but it shows only in the "visible" part of the email and there are values that are different in the header.

In this example :

Received-SPF: pass ( domain of designates as permitted sender) client-ip=; Authentication-Results:; spf=pass ( domain of designates as permitted sender); dkim=pass (test mode) account=bounce

Thank you in advance!

share|improve this question

I am not sure I really get your problem. I guess you set up a From: address in your mail client and used a mail server where you are authorized as to send the mail. Now you are wondering why this address appears in the headers. Is this correct?

If so: The values in the header are written by the SMTP server (not the client), and may be rewritten by the server to match the user that logged in. You can't change this in your mail client.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.