Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8942393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:30:15+00:00 2026-06-15T11:30:15+00:00

My problem is that whenever my server sends emails, the sender field gets overwritten.

  • 0

My problem is that whenever my server sends emails, the sender field gets overwritten.

From: should be: Web Site Name <admin@mywebsite.com>

But email is delivered to the address from:

World Wide Web Owner <www@mywebsite.com>

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

Charlie & <root@mywebsite.com>

My /etc/ssmtp/ssmtp.conf configuration file content:

root=postmaster@mywebsite.com
mailhub=ssl0.ovh.net:465

rewriteDomain=mywebsite.com
hostname=mywebsite.com
realname = "Web Site Name"

AuthUser=postmaster%mywebsite.com
AuthPass=removed
UseTLS=YES

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:30:17+00:00Added an answer on June 15, 2026 at 11:30 am

    Try adding FromLineOverride=YES in your ssmtp.conf, if you don’t set this the from address will be overwritten since the default value should be set to “NO”.

    • YES: Allow the user to specify their own From: address
    • NO: Use the system generated From: address
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working on an Entity, oneToMany relationship, the problem is that whenever I
problem is , that whenever the grid's row is right clicked the selected item
I'm running into a problem that I can't seem to get past. Whenever I
I am facing problem that whenever I turn off security settings in IE8, in
The problem is that whenever I input a big-ass text in the form of
whenever i am pressing key in my server system i ll send that keyevent
I'm re-designing an app I inherited that sends digital photos from a laptop to
Simple problem that I can't figure out... How can I print a '%' character
The problem that I have is somehow very specific. I have to implement a
I have a problem that I'm working on for quite some time now. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.