LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Postfix and RedHat 8 (https://www.linuxquestions.org/questions/linux-newbie-8/postfix-and-redhat-8-a-216744/)

evosqueak 08-12-2004 11:51 AM

Postfix and RedHat 8
 
Hello,

I just installed a new install of RedHat 8 and Postfix. Port 110 is ok, but when I complete the following:

netstat -ndl|grep :25

I get the following output:

tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1080/master

This was previously binded to sendmail, which I removed the RPM earlier today, I'm unfamiliar with "master". How can I bind postfix/xinetd to port 25?

Thanks!

zatriz 08-13-2004 02:43 AM

im not sure what the 1080/master is about
but the tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1080/master shows that something is running on port 25 mostly likely postfix
type "telnet localhost 25"
and see what it does if it says something about your hostname and postfix then its runing where its supposed to.

evosqueak 08-13-2004 08:57 AM

The box is behind a hardware firewall.

I tried to telnet <WAN IP> 25 which is set to port trigger to the internal NAT IP address, i get:

telnet: connect to address <WAN IP>: Connection refused

I tried from the prompt on the box itself to the internal IP and get:

telnet: connect to address <NAT IP>: Connection refused

When I configured RedHat I set it to not use a firewall at all. I checked the file:

/etc/sysconfig/iptables-config and it has the following:

# Additional iptables modules (nat helper)
# Default: -empty-
#IPTABLES_MODULES="ip_nat_ftp"

# Save current firewall rules on stop.
# Value: yes|no, default: no
#IPTABLES_SAVE_ON_STOP="no"

# Save current firewall rules on restart.
# Value: yes|no, default: no
#IPTABLES_SAVE_ON_RESTART="no"

# Save (and restore) rule counter.
# Value: yes|no, default: no
#IPTABLES_SAVE_COUNTER="no"

# Numeric status output
# Value: yes|no, default: no
#IPTABLES_STATUS_NUMERIC="no"

Is this the proper configuration for RedHat to not use any firewall rules and to accept all port connections?

Thanks!

wijnands 08-13-2004 09:13 AM

every line there has an # in front of it. Looks to me like it's not active then.

If sendmail used to work and now postfix doesn't perhaps you should have a look at xinet.d


All times are GMT -5. The time now is 10:19 PM.