This widget could not be displayed.
1845515 Members
2659 Online
110244 Solutions
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
New Discussion
This widget could not be displayed.
This widget could not be displayed.

specify the sender name

 
lei8c8
Occasional Advisor

specify the sender name

I want to mail to some people. I use command elm to do it. I want the sender name of the mail is "system administrator" when the receive my mail. How can I realize it.
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: specify the sender name

Hi,

You could change "Super-User" in the /etc/passwd to "System Administrator"

Regards,
Robert-Jan
Naveej.K.A
Honored Contributor

Re: specify the sender name

hi,

usermod -c 'system administrator' username

with best wishes
Naveej
practice makes a man perfect!!!
Sanjay Kumar Suri
Honored Contributor

Re: specify the sender name

man elm offers following:

elmrc configuration file: A file, $HOME/.elm/elmrc, that defines the initial values for elm configuration variables.

fullname: The name the mailer will use when
sending mail from you. The default is
the full name portion (everything up to
the first comma) of the pw_gecos field
from your entry in the /etc/passwd file.
This field can be set with the chfn
command (see chfn(1), finger(1), and
passwd(4)).

You can also use "options Menu" to change the configuration.

Give it a try.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
lei8c8
Occasional Advisor

Re: specify the sender name

Thank you, Sanjay Kumar Suri. I have solved the problem by your method.