Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-09-2004, 09:46 PM   #1
LQ Newbie
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
problems with sendmail receiving mail

I'm a new Linux user and am having a problem with sendmail 8.12.8. I'm running Redhat 9 on a machine connected to the outside world through a campus network jack. Everything was working fine until I changed the name of my Linux box in the /etc/hosts file. Now mesages sent to any user at my machines address get redirected to the root for the campus network.

I was told make sure my file was a "null client" but have been unsure as to how to do that. I was also told to define an alias for root to go to me so that my root email doesn't get redirected to the main system administrator. Is there an easy explanation for how these things could be accomplished? Thanks in advance and sorry for what I'm sure are very simple questions.
Old 01-10-2004, 01:18 AM   #2
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
why did you change the name of your machine in /etc/hosts?

if you really want to change your local hostname, it is done in /etc/sysconfig/network
Old 01-12-2004, 09:28 AM   #3
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
Sendmail is not an easy program to get set up but once you do it pretty much runs along in auto. I would reccommend getting O'Rielly Press' book "Sendmail" (third edition). It was very, very helpful about setting up my machine. Enough said about that. I am not sure either what they mean by a "null client". I can tell you that you do want to make sure that all of your email server admin messages (i.e., postmaster, root, admin, etc.) all go to you. You set that up in your aliases file. Then you have to run newaliases to rebuild the database; then restart sendmail. One thing you might want to check is with whomever the ISP is for your campus and make sure they have your new domain name registered on their server to direct the mail to you. I believe that this is called the MX file?! I am new at this also and still learning alot each day so I may be wrong. But it is something to verify. Good luck and repost with any more issues.


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
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 03:43 PM
Sendmail - problem receiving external mail manudath Linux - Wireless Networking 7 12-21-2004 02:14 PM
Receiving E-Mail Problems, need help, please! bignitz Linux - Networking 11 08-09-2004 02:00 PM
Sendmail not receiving on FC2; other problems henryhund Linux - General 8 07-26-2004 04:01 PM
problems receiving mail w/ redhat 9.0 inimdap187 Linux - Newbie 1 08-12-2003 03:40 AM

All times are GMT -5. The time now is 10:37 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