Solved

sendmail not answering except for 'localhost'

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
In this video we show how to create a Shared 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 >> Sha…
In this video we show how to create a Contact 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 >> Contact ta…

809 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