Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
My problem with sendmail 8.11.6-15 is that I can receive mail but not send out. I tried sending out a mail to a hotmail account, but the connection to mx1.hotmail.com always timeout.
#host -t mx hotmail.com
hotmail.com mail is handled by 5 mx4.hotmail.com
hotmail.com mail is handled by 5 mx1.hotmail.com
hotmail.com mail is handled by 5 mx2.hotmail.com
hotmail.com mail is handled by 5 mx3.hotmail.com
but when i ping the mail servers:
PING mx4.hotmail.com (184.108.40.206) from 192.168.1.205 : 56(84) bytes of data
then i don't get any response. I can ping yahoo. I tried sending another mail to an @iname.com account. Again, that failed.
The mail log that I get is:
Aug 22 08:42:45 HelloKitty sendmail: h7M0Wj830371: firstname.lastname@example.org, ctladdr=root (0/0), delay=00:10:00, xdelay=00:10:00, mailer=esmtp, pri=30079, relay=iname-com-bk.mr.outblaze.com. [220.127.116.11], dsn=4.0.0, stat=Deferred: Connection timed out with iname-com-bk.mr.outblaze.com.
Aug 22 08:43:09 HelloKitty sendmail: h7M0N6e30243: email@example.com, ctladdr=viola (503/503), delay=00:20:03, xdelay=00:10:01, mailer=esmtp, pri=120057, relay=iname-com-bk.mr.outblaze.com. [18.104.22.168], dsn=4.0.0, stat=Deferred: Connection timed out with iname-com-bk.mr.outblaze.com.
Aug 22 08:43:10 HelloKitty sendmail: h7M0Wj830371: firstname.lastname@example.org, ctladdr=root (0/0), delay=00:10:25, xdelay=00:00:00, mailer=esmtp, pri=120079, relay=iname-com-bk.mr.outblaze.com., dsn=4.0.0, stat=Deferred: Connection timed out with iname-com-bk.mr.outblaze.com.
Aug 22 08:44:42 HelloKitty sendmail: h7LGYns28929: to=<email@example.com>, ctladdr=<firstname.lastname@example.org> (503/503), delay=08:09:53, xdelay=00:10:00, mailer=esmtp, pri=754652, relay=mx2.hotmail.com. [22.214.171.124], dsn=4.0.0, stat=Deferred: Connection timed out with mx2.hotmail.com.
My mail server setting:
#host -t mx wongz.com
wongz.com mail is handled by 5 mail.wongz.com
On the DNS server, mail.wongz.com is point to wongz.com
I'm not sure if it's a problem with my hostname setting. My hostname was HelloKitty. It always give me the error message that this is an unqualified domain name. Therefore, I changed the hostname by doing the following:
Type "hostname mail.wongz.com"
changed the hostname in "/etc/hosts"
changed the hostname in "/etc/sysconfig/network"
I obtain my IP via dhcp. Is that all I need to do to change the hostname? After changing the hostname, I got the following results.
Is the above correct?
Finally, I need to add my ISP domain name in access.db as a RELAY in order to send mail. Why is that the case? If I'm connecting to mail.wongz.com to send mail directly, it shouldn't be acting as a RELAY AGENT? Please kindly explain the functino of th relay.
The Sendmail program only sends mail. I have been through this exercise of trying to configure Sendmail for a dial-up ppp account and it is a little tricky. I'll bet the configuration file that you're using now is for networked computers that have real addresses. So when Sendmail sends out your messages it will look like it's coming from a phony address, so will be rejected by the other mail transfer programs out there on the Internet. The Sendmail.cf file has to be customized to make it work right.
Since the sendmail.cf file is very complicated they have graciously provided another program to generate this file but it's still not a cake-walk. You edit the sendmail.mc file instead.
In the end I just gave up. That's why I'm the oldest newbie on the list. Good luck to you.
You may be connected to the Internet all the time, but unless you have a bona fide host name, your header files still need to be rewritten. Red Hat caters to the Big Boys who are using Sendmail to manage hundreds of E-mail accounts on a fully qualified domain. If your mail goes from your home computer looking like email@example.com then it won't get through. Sendmail is not an easy, intuitive program. It may be better to download the latest Mozilla Mail which will do the rewriting of the header files for you without all the reconfiguring. If Mozilla Mail works, then you will know that it's not your firewall, ports etc.