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.
I'm pretty much a linux noob.. been using it for years, but never very in depth. I'm trying to set up sendmail to send me an email from my linux box to my email account on my isp (tampabay roadrunner). I have my linux box /etc/hosts file set up with a line that looks something like this:
127.0.0.1 blah blah
192.168.1.xxx server.mydomain.com server
My emails using sendmail are being bounced back with this error:
From MAILER-DAEMON@server.mydomain.com Wed Mar 10 09:23:23 2004
Received: from localhost (localhost)
by server.mydomain.com (8.12.10/8.12.10) id i2AENNDk002134;
Wed, 10 Mar 2004 09:23:23 -0500
Date: Wed, 10 Mar 2004 09:23:23 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON@server.mydomain.com>
Content-Type: multipart/report; report-type=delivery-status;
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
The original message was received at Wed, 10 Mar 2004 09:23:23 -0500
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
(reason: 550 5.7.1 Mail Refused - 68.202.7 - See http://security.rr.com/mail_blocks.htm#security - 20031206)
----- Transcript of session follows -----
... while talking to flmx-2.tampabay.rr.com.:
>>> MAIL From:<email@example.com>
<<< 550 5.7.1 Mail Refused - 68.202.7 - See http://security.rr.com/mail_blocks.htm#security - 20031206
554 5.0.0 Service unavailable
What's going on? I think it has something to do with the fact that my ISP thinks these emails are spam, which they are not. Is it because it's resolving the dns to "localhost:localdomain"? If so, how do I get rid of that? Remember, I changed my etc/hosts file to reflect server.mydomain.com. Please help.
By looking at the error message, it seems that your ISP may have blocked the address 'localhost.localdomain'. However...
1. If you do not have a registered domain name with you or If you are not in a LAN with more than 1 computers, then the following entry in my opinion isnt required. I am assuming that you are trying to send mail from your standalone computer to your ISP e-mail account. If thats correct, then try removing the following line from your /etc/hosts and then send mail again.
192.168.1.xxx server.mydomain.com server
2. You can also see whats actually going on in detail with sendmail by using the -v option
mail -v <your-email-address>
3. Also, just to check, try stopping your firewall
service iptables stop
4. Additionally, monitor /var/log/maillog and check what error messages are being produced other than the ones u just posted.
Thanks for the reply. I have a strong suspicion that it has something to do with the localhost.localdomain.
I am running the linux box behind my 4 port linksys router, so that NAT IP is necessary in the etc/hosts file. I have 3 other computers running on my home network.
Is there any way to stop the ISP from resolving my linux box as localhost.localdomain? I tried configuring those spoofing setting in the sendmail.conf, and my etc/hosts (and prompt) are configured to have the machine resolve to server.mydomain.com. Please tell me this is fixable without having to run a DSN server on my box.
An MX record is what DNS uses for a Mail Exchanger for a particular domain.
You can easily run a security check on your ISP mail system by masquerading your sendmail MTA with a domain name that can be resolved. If the ISP resolves the domain and lets you send mail now, then they dont check for valid hosts at that domain. If it is bounced again, then they most likely have host checking and you will have to contact them about adding an MX Record for a domain name that you register.