If you use a command like:
cat mymail |mail -s "my test mail" email@example.com
A mail will be generated that will use the comments field from /etc/passwd as the user's full name, this may not always be appropriate.
Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.