How to configure sender address rewrite and change the user name

Solution Unverified - Updated -


  • How to configure sendmail server to rewrite the sender address and the display name
  • An application sends emails from the root user
  • When sending an email with the command mail, we receive the following:
From: root <>
Sent: Tue, Mar 19, 2013 at 2:08 PM
Subject: test

but we would like the email to rewrite the sender like this:

From: Admin <>
Sent: Tue, Mar 19, 2013 at 2:08 PM


  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In