Ureka! Apparently I have to leave a space between the "DJ" and my domain name to make it work. "Dj ihe.com" Now it is sending properly without the host name. Thanks Marshall for pointing me in the right direction. Minh -----Original Message----- From: Nguyen, Minh Sent: Friday, October 08, 2004 1:19 PM To: 'General Red Hat Linux discussion list' Subject: RE: Changing sender email address Thanks Marshall, but I got some strange result: 1) When I changed the "Dj$w.Foo.COM" to "Djihe.com" I got the following error 3:06:05> minh.nguyen@xxxxxxxxxx User unknown /root/dead.letter... Saved message in /root/dead.letter I did it using the following command: mail -s "testing" minh.nguyen@xxxxxxx < /etc/hosts 2) When I changed the "Dj$w.Foo.COM" to "Dj$domain.com" the email goes through, but it showed up with a letter missing in the domain name: "root@xxxxxx" instead of "root@xxxxxxx" Any ideas? Minh -----Original Message----- From: McDougall, Marshall (FSH) [mailto:MarMcDouga@xxxxxxxxx] Sent: Friday, October 08, 2004 11:18 AM To: 'General Red Hat Linux discussion list' Subject: RE: Changing sender email address In your /etc/sendmail.cf look for a section: # my official domain name # ... define this only if sendmail cannot automatically determine your domain #Dj$w.Foo.COM And change $w.Foo.COM to domain.com. That should do it. Regards, Marshall -----Original Message----- From: Nguyen, Minh [mailto:minh.nguyen@xxxxxxx] Sent: Friday, October 08, 2004 1:11 PM To: redhat-list@xxxxxxxxxx Subject: Changing sender email address RH 2.1AS For some reason when I send email it set the sender email as user@xxxxxxxxxxxxxxx Is there a setting somewhere I can change to have it just send as user@xxxxxxxxxx? I am a newbie at Admin stuffs, so details is greatly appreciated. Thanks in advance for any advice. Minh <mailto:minh.nguyen@xxxxxxx> The information contained in this message and any attachments is confidential and proprietary and may be privileged and protected from disclosure. If you are not the intended recipient, you are hereby notified that any reproduction, publication, or other use of or reliance upon, this information by anyone other than the intended recipient is strictly prohibited and may be a violation of law. If you have received this message in error, please notify us immediately by replying to the message or calling the person who sent this message and then deleting it and any attachments from your computer. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list The information contained in this message and any attachments is confidential and proprietary and may be privileged and protected from disclosure. If you are not the intended recipient, you are hereby notified that any reproduction, publication, or other use of or reliance upon, this information by anyone other than the intended recipient is strictly prohibited and may be a violation of law. If you have received this message in error, please notify us immediately by replying to the message or calling the person who sent this message and then deleting it and any attachments from your computer. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list