Solved

sendmail not answering except for 'localhost'

Posted on 2001-06-07
5
236 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
E-Mail Server - MX Record 4 87
moving company email from Godaddy to Google Apps (gmail) 1 47
cannot remove HUB role from EX2007 server 6 37
Exchange2013 MAPI 6 66
Utilizing an array to gracefully append to a list of EmailAddresses
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

733 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