I'm running CentOS 5.4 with sendmail. My computer hostname is bob.domain.com. Whenever I would nc -v 127.0.0.1 25 into sendmail I would get bob.domain.com on the banner. Whenever I send out email the emails would be email@example.com
. I wanted the email to show up as firstname.lastname@example.org
. So in the etc/mail/sendmail.cf file I changed the line
Now when I enter sendmail I see domain.com in the banner so I know the change took place. However, when I send email using
mail -s "test" email@example.com
then email still goes out as firstname.lastname@example.org
. What other changes do I need to make?