Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-07-2007, 11:54 AM   #1
Registered: Feb 2007
Location: /home
Distribution: Kubuntu and CentOS
Posts: 214

Rep: Reputation: 32
configuring sendmail domain

Greetings all!

I've never dealt with sendmail. I am aware that it is quite complex and I am hoping this query can get a simple answer.

when I send mail from my linux box via cron to my personal email address the address is:

Where does send mail deside that localhost.localdomain is my domain? How can I set this to something more appealing?

If its a time consuming change, I'm not going to bother as this is a merely cosmetic change.

thanks in advance.
Old 06-09-2007, 04:25 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 166Reputation: 166
IIRC, sendmail gets its local domain information from /etc/hosts and/or /etc/mail/local-host-names. You could try adding your domain name to one (or both) of those.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring sendmail to allow SMTP traffic from my IP, domain, or email address hlslaughter Linux - Software 0 03-29-2007 02:19 PM
configuring mta without domain jaymare Linux - Newbie 2 04-02-2006 02:35 PM
configuring domain/host name user1442 *BSD 2 10-31-2005 11:28 PM
Sendmail sending as, i want it to be from just PlatinumRik Linux - Software 5 10-07-2004 04:32 PM
HELP! Sendmail Config for where xxx is not domain, but want act like 1 rld1025 Linux - Newbie 2 09-11-2003 07:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration