LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 04-11-2004, 07:37 AM   #1
htm
Member
 
Registered: Mar 2004
Posts: 162

Rep: Reputation: 30
sendmail problem in LAN


Folks,

I have a remote sever and a LAN, here my story onlcy concerns the LAN

This LAN has a redhat 9.0 server and with a bunch of Win and Redhat clients.

The Redhat 9.0 server has 2 ethernet cards, one for the internet,
one servers as squid proxy, thx to squid, internet access is fine with
all clients

Now I use old sendmail at server side, and it's just fine

The problem is with my client side, I use Mozilla 1.6 as mail client,
to test Mozilla mail client works, at sever side, I configure
Mozilla's outgoing mail server as my 2nd card Ip address:
192.168.0.1, and sending email out from the server is just fine
(telnet 192.168.0.1 26 is also fine, in /etc/hosts I use 192.168.0.1
as IP address instead of 1st card's real IP address or 127.0.0.1);
now at client side, I have some trouble, I've got following questions:

1. why telnet 192.168.0.1 25 from client fails

2. is that a squid problem? I heard of that problem - if yes,
but at least telnet 192.168.0.1 25 should work (I stopped squid,
telnet 25 still does not work)

Thx,
HTM

Last edited by htm; 04-11-2004 at 07:40 AM.
 
Old 04-11-2004, 01:08 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It sounds like a firewall problem - what rules do you have?
iptables -L

It may be worth checking that sendmail is listening to all interfaces:
netstat -nlp
 
Old 04-12-2004, 07:58 AM   #3
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
remaining problems

Yeah, you are right, once I relaxed my firewall rules, now at my client side,
I can telnet 25 port of my local server, however, send mail at Mozilla 1.6 after
configuration still failed, the error info is as flows:

Error occurred during sending email, mail server response:

5.7.1 <farfromcrowded@yahoo.com> ... Relaying denies, IP
name lookup failed [192.168.0.2}

Here my local server has 2 ethernet cards, 1 for internet, another for
squid proxy: 192.168.0.1

and 192.168.02 is my client

If that is squid problem? If yes, how to resolve it?

Thx,
HTM
 
Old 04-12-2004, 08:05 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to configure relaying:
http://sendmail.org/tips/relaying.html
 
Old 04-12-2004, 09:34 AM   #5
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
David, you are a guru!

So far you've helped me on resolving 2 problems:

1. del 127.0.0.1 issue
2. sendmail in a LAN

If possible, could you take a look at my posted problem at my remote server side
on imap issues?

On my local LAN side, I have no prblems now except mailman setup

Really apreciate your kindest help and most generous help.
HTM
 
  


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
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
Internet and LAN access is unstable-is this a hardware problem or a software problem? soren625 Linux - Networking 1 06-07-2004 06:43 AM
sendmail from within a LAN Citizen Bleys Linux - General 1 12-15-2003 04:12 AM
problem processing sendmail.mc to sendmail.cf ...help... lucastic Linux - Networking 1 09-21-2003 10:08 AM
Asus a7n266-vm/lan/aa: Problem with onboard lan jmourik Linux - Hardware 9 08-13-2003 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:08 AM.

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