-   Linux - Newbie (
-   -   problems with sendmail receiving mail (

isostat1 01-09-2004 08:46 PM

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.

ugob 01-10-2004 12:18 AM

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

ScooterB 01-12-2004 08:28 AM

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.

All times are GMT -5. The time now is 12:10 PM.