Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
RH8.0 - when I try to send out an email I get 'Connection refused by <name of my RH server I am sending from>'. Can this be a firewall issue. I'm thinking I had this problem some time ago but cannot find my notes as to how it was resolved. Any ideas?
Assuming you have internet access and are able to browse the web, yes this could be a firewall problem. Check the OUTPUT chain of your filter table with 'iptables -t filter -L OUTPUT' and ensure that you either aren't restricting outbound connections, or that SMTP is allowed out from your machine.
I suspect it has got nothing to do with your firewall, since your mail server is running on the same host as that from whihc you are sending the mail, correct?
If you are using sendmail, you probably have forgotten to configure the file --
# file : /etc/mail/local-host-names
# All alias names (CNAME and MX records) for the localhost must be included.
The fact that it is only listing 127.0.0.1:25 means that it is only going to connect if you 'telnet 127.0.0.1 25'. But, if you try to connect using 'telnet 126.96.36.199 25' it will timeout because sendmail isn't working on this 'interface'. You need to edit your /etc/sendmail.mc (or similar, I can't be certain where your origonal .mc file is) and change
I found the reason why I could not get m4 to run. should read a little more. now that I've fixed that, ran m4 and restarted sendmail. Still no email sent. On a whim I installed RH7.3 on a laptop and, without any configuration of sendmail, I tested this same issue. It worked! AUGH! The issue is with 8.0 but how do I work around it? Download the latest 8.12.9 and discard RH8.0 sendmail distro. I think I'm gong to give that a try.
I did edit submit.mc:
I understand it to be
Is this correct?
In /etc/mail I did a
# make clean
# lsl (verified date/time stamp changed for submit.cf)
# /etc/rc.d/init.d/sendmail restart
tried to resend mail
# mail -s test2 <address>
I check /var/log and now I get no attempt to send mail.
I even tried lower-case .com. same result.
One thing I noticed in previous attempts compared to those server that work using 7.3, the maillog relay=outlook.kfbs.com.
On 8.0 maillog, the relay is my server I am trying to send from.
(relay=3wtlap.kfbs.com) Just a difference that may be worth noting.
Am I just doing something wrong?
Thanks for your patience and help. j-me
okay, found out what was wrong. It IS working!!! 8)