Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Hello,
i have a fresh install of Redhat 9.0 and have not changed any of the sendmail configuration options (yet). I have also installed Bugzilla on this machine and need the ability to send email notifications to people when there are bug updates. I really dont understand sendmail very well because ive been very successful at dodging it, at the same time, i am a bit of a veteran at Linux admin stuff. Anyway, i can send emails to any other domain except for my own. For example, i can send an email to anybody@hotmail.com but i cannot send an email to myself@mydomain.com. If i sent it to mydomain.com then the message is returned as 'Returned mail'. I get the following message within that mail stating: Host unknown (Name server: 192.168.20.101.mydomain.com.: host not found). Now, the confusing thing is that 192.168.20.101 is the ip address to my mail.mydomain.com (which is where i want the email to be relayed to) but it seems to take the ip address and append on the domain name again. Here is the lowdown on my versions:
sendmail-8.12.8-4
sendmail-cf-8.12.8-4
kernel-2.4.20-6
cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
Right On!!!! It turns out that the DNS was configured with an incorrect MX record for my domain. The MX record had the mail server IP address and should have just said mail:
This is what it was:
@ IN MX 10 192.168.20.101
This is what i changed it to:
@ IN MX 10 mail
I then restarted named and now sendmail can email to mydomain.com.... Problem solved!!!!
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe