[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sendmail
> Hello everyone,
>
> I have run into a problem on my system where only user root can receive
> mail. I have set up additional users on the system but they seem to only
> be able to send mail to root. If I send a message to user "JoeUser" it
> delivers the error "user not found" back to postmaster(root). I assume
> my network config needs to be modified or my user settings need some
> work. I searched all the man pages on mail, but they all seem to point
> to the sendmail should find the user name on the system. My domain is
> linux.com and the machine hostname is mylinux (real original huh). I'm
> running RedHat 5.2 also. I sure would appreciate the help.
>
> Thanks much, Chris
First suggestion, change your domain name to something that doesn't
exist, or buy a domain name. What happens if you want to connect or
email to the REAL linux.com? It'll go back to your site and you'll
never get there.
The second thing you need to do is add your domain name and host
names to the file: /etc/sendmail.cw
Your domain, and all host names (with and without domain names)
have to be in that /etc/sendmail.cw. Sendmail will only accept
local email for hosts and domains that are listed in that file.
Also, if you want to email to just your domain name (not including the
hostname) like "joe@linux.xyz" instead of "joe@mylinux.linux.xyz"
you will have to setup your own DNS server and create "MX" records
for the "linux.xyz" domain. (not a quick or easy task)
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------