Change Default Form Root When Sending Email From Mail or Mailx
In order to change the default sender name when sending an email using the mail
or mailx
command, you can follow these steps. This will allow you to replace the default “root” with your desired name. Please note that these instructions are typically applicable to Unix-like systems such as Linux.
-
Change the Full Name:
To change the full name associated with your user account, you can use the
chfn
(change finger) command. Open your terminal and run the following command, replacing"Your Full Name"
with the name you want to use as the sender: