LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-08-2004, 11:32 AM   #16
johnsfrj
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Original Poster
Rep: Reputation: 0

Ok scowles and maxut, thanks for hanging with me on this. After I make the changes to the sendmail.mc file to look like this:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.69, Name=MTA')dnl

Then I simply WriteOut the file, save it and restart sendmail?
 
Old 10-08-2004, 01:52 PM   #17
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
Ok scowles and maxut, thanks for hanging with me on this. After I make the changes to the sendmail.mc file to look like this:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.69, Name=MTA')dnl

Then I simply WriteOut the file, save it and restart sendmail?
That's correct! Just so long as 192.168.1.69 is your systems eth0 IP address.
 
Old 10-19-2004, 09:06 AM   #18
johnsfrj
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 10-21-2004, 11:35 AM   #19
Buckyjunior
Member
 
Registered: Jul 2003
Distribution: Kubuntu Hardy
Posts: 76

Rep: Reputation: 15
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?

Bucky
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Server Refusing Connections zoso Linux - Networking 2 12-27-2004 11:41 AM
keep refusing connections tpark Linux - Networking 1 03-04-2004 02:24 AM
Refusing Connections goldfish Linux - Newbie 16 10-09-2003 06:13 PM
Telnet yet again. (refusing connections) hornokplease Linux - Networking 2 07-21-2003 03:30 AM
Sendmail refusing connections RH7.2 Fafafoey Linux - Newbie 3 11-13-2001 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration