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 problem is that whenever my server sends emails, the sender field gets overwritten.

From: should be: Web Site Name <>

But email is delivered to the address from:

World Wide Web Owner <>

Or while sending the emails from the root in the SSH:

Charlie & <>

My /etc/ssmtp/ssmtp.conf configuration file content:
realname = "Web Site Name"

How can I instruct ssmtp not to change From: fields in emails? Or just define the From: anywhere?

When I add FromLineOverride=YES into the ssmtp.conf the server doesnt want to send emails anymore (email with set Form field).

share|improve this question
up vote 1 down vote accepted

Should do the trick. Are you sure you are setting the From header correctly inside your mail sending code?

share|improve this answer
Terrible misstake. Thank you :P – Scott Dec 3 '12 at 22:45

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.