Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Baltimore,MD,USA,Earth,Some Galaxy, We haven't gone that far!
Distribution: Redhat 7.3
Posts: 104
Rep:
Changing root@localhost to root@domain.com
How can I change this boring root@localhost thing to
something like root@domain.com?
Not only it's boring, even some email servers won't accept my mail.
Any help appreciated,
Thank you.
The config files are located in the "/etc/sysconfig" tree. Change localhost to whatever you want.
Are you spending alot of time as root? The recommended behavior is to use a normal user account and then use the "su" command to become root only when *required*.
Location: Baltimore,MD,USA,Earth,Some Galaxy, We haven't gone that far!
Distribution: Redhat 7.3
Posts: 104
Original Poster
Rep:
zmedico,
I searched all over /etc/susconfig, but couldn't find anything about localhost.
Could you give me the exact location?
By the way, no, I'm not spending that much time using root. It just irritates me, you know,
Thanks.
That would change the name of the machine to something exceedingly long... however, your mail problem is coming from the entry in /etc/hosts. LEAVE the localhost entry, but add one for your machine, like:
123.123.123.123 YeahBob.whatever.com whatever
That is if you want your mail to originate from root@yeahbob.whatever.com, otherwise, just cut out the hostname and have:
123.123.123.123 whatever.com
Also, make sure to replace that bogus mess with your IP address.
Cheers,
Finegan
P.S. Your are either going to have to take this to runlevel 1 and then back to 3 and hand kill and restart sendmail... OR, just reboot the machine to have this take effect.
I had the same Problem as Stingreen and now I can send the messages without any complaint from mutt but there is uncertainty in my mind about this whole thing.
I mean all of my emails seem to come from "FinGivesAStraightAnswer.whatever.com" and all the replies to that emails come through that server aswell.
Can`t it be that the webmaster of that server may not like that and give me a warning at some time?? I if it were legal than it is almost an open invitation to SPAMMERS ??
I can`t believe this is tolerated by all servers...
I tring too see my win 2k machine for my redhat 7.2 box. They cannot seem to see each other. Please excuse me , i'm new to linux. I have dhcp installed and can access the internet form both machines. I have tried seaching for the linux box but not coming up anything. I'm lost, any help would be nice.
I have got that problem in Debian 3.1 (Knoppix 3.1).
My /etc/hosts has "127.0.0.1 myhost.something.net myhost"
/etc/hostname has only one line "myhost.something.net"
Since I am new to Debian, I do not know where to change the settings so that mail written by me seem to come from myself@mydomain.com instead of from "realos@Knoppix".
Any hint or reference to a doc is well appreciated,
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.