Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I finally got this working correctly. The solution, for me anyway, was to make the change in the sendmail.cf file not the sendmail.mc file. I simply entered the LAN IP address in place of the loopback address. I then did the 'service sendmail restart'. Thanks for all the help.
I've been following this thread closely because I too am attempting to set up a mail server on my linux box. My current problem seems to be that my sendmail is not listening on port 25. I am running my linux box 24/7 behind a router (192.168.0.140) with my linux box being 192.168.0.138.
I _believe_ I have most of my settings correct. Without adding pages and pages of configuration files, sendmail is running; iptables is accepting everything; sendmail.mc has DAEMON_OPTIONS set to 0.0.0.0, local LAN IP, and WAN IP; eth0 set to WAN IP; etc. After making changes suggested in this thread, I've restarted programs and the computer.
I can ssh to the linux box from other machines, it is serving web pages both LAN and WAN, so I know there's a connection to the outside world.
Running netstat tells me that there are all sorts of tcp port connections, but not port 25. Attempting to send user-to-user mail with pine gives an error sending "Connection failed to WAN_IP,25: Connection refused".
Is this enough to suggest what my problem is? Am I missing something obvious to someone else?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.