Solved

sendmail not answering except for 'localhost'

Posted on 2001-06-07
5
232 Views
Last Modified: 2013-12-17
We are setting up a replacement server for out current one who will be retiring very soon (and thus we decided why not start from scratch). At the same time we setup a firewall which the enw server will be behind. The firewall is set up to do NAT and successfully routes pop3, imap, httpd and ssh through to the new server and smtp is set up in the exact way. In reality this firewall should have nothing to do with the problem, but i mention it just in case.

The server is RedHat 7.1, the IP of the machine is for the LAN 10.1.1.198. When I am on the local machine and i do a:

 telnet localhost 25

i will get connected...same goes for telnetting to 127.0.0.1, however if I attempt to telnet to 10.1.1.198 on port 25 it will say:

  Trying 10.1.1.198...
  telnet: Unable to connect to remote host: Connection refused

the machine had ipchains set up on it as secondary backup from the main firewall but i completely removed that just in case that was the problem. The same error happens when I try to telnet to it with it's real internet ip, with the domain name etc, and this is tested from remote boxen and the local box itself, the only thing it likes is localhost and 127.0.0.1

if you have any clue what this problem is, let me know.
0
Comment
Question by:dellete
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:markt9
ID: 6165924
Redhat 7.1 defaults to high security firewall rules.

Log on as root and type      setup

choose firewall configuration and run tool. You are probably at security level high.

You can choose custom level and allow mail, or to play with set it to low till you know sendmail works.

Your telnet to port 25 is an excellent test.
0
 
LVL 1

Author Comment

by:dellete
ID: 6167486
thanks for the reply, but that isn't it (plus 7.1 defaults with medium security level), but i have completely disabled ipchains for the time being while trying to figure this out, so there is no firewall active.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
ID: 6167633
Nope that firewall rules aren't the problem. By default RH 7.1 has inbound access to sendmail blocked. Look at the Release notes on the 1st CD and you'll see what needs to be done to enable inbound connections to sendmail.
0
 
LVL 1

Author Comment

by:dellete
ID: 6168119
thanks, i guess that will teach me for not reading those things....

(i am so used to installing everything manually, i hate this automatic setup stuff)

thanks for the answer.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6168658
Yeah, sometimes it is trully amazing what you can find in the Release Notes... Don't feel bad, I got bit by that for an hour or so on my first RedHat 7.1 install.
0

Featured Post

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

Suggested Solutions

Microsoft Outlook is not just an email client but it is full featured Personal Information Manager. But sometimes Outlook gets disconnected and you simply can’t access it. What steps can you perform before calling IT support? In this article we will…
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now