Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 just installed RedHat7.2. The mail server is running. I startx and use netscape messenger to connect to the mail server, which is running on localhost. I edit the preferences and define my mail server as my <IP>:<port>. When I try to connect to the server, I get a services for port 25 disabled for security reasons error. I have modified my ipchains to allow everything. I still get that error. Even when I change my mailserver connection to localhost, I still can't connect.
The mail server is not accepting connections from outside the network. When I do a netstat -an, I see that the server is only listening to 127.0.0.1 for port 25. The firewall is off. Is there something else I'm missing?
Relaying is by default denied in sendmail from redhat 6.2 and onword you must create a file named "ip_allow" in /etc/mail dir "/etc/mail/ip_allow" file. and past your network ip address here like
and so on. Then sendmail accept connections from these ip on port 25 and relay their mails
Yes ur absolutely right about relaying but i guess this is not the real culprit. Sendmail in this case is not listning on the external interface ( instead listning on 127.0.0.1 ie; loop back interface ) ..... the file u mentioned will allow the mentioned ip's to use ur mail server as a RELAY server ( ie; relay mails on their behalf to external world !).
I hope my above mentioned post will help solve the above mentioned problem.
afaik the Addr= option in the cf file can simply be removed, which is what sendmail docs recommend. and also /etc/mail/ip_allow is not a standard file i don't think (wrong???) the normal way is to use /etc/mail/access instead.#, using the access-db feature on sendmail
Just look into yout /etc/mail/local-host-table file that you have entries for your .(localhost+For whatever host you like to receive the mails). .And also make sure that you have proper MX entry for the same hosts in your DNS server