[rhn-users] Port 25 problems
boliver at lvlomas.com
boliver at lvlomas.com
Fri Jul 2 13:31:50 UTC 2004
Could someone please help me out here. I have installed Red Hat 8 on a
machine and I have upgraded to the latest version of Postfix ( with MySql
support ). I have built and installed postfix and everything seems to be
working as it should, however, my machine does not seem to want to
publically listen on port 25 when postfix is started. It works great when
I test it locally, but here is the output of a netstat on my system:
tcp 0 0 0.0.0.0:1024 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:1025 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:465 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 2113 private/rewrite
unix 2 [ ACC ] STREAM LISTENING 2117 private/bounce
unix 2 [ ACC ] STREAM LISTENING 2121 private/defer
unix 2 [ ACC ] STREAM LISTENING 2125 public/flush
unix 2 [ ACC ] STREAM LISTENING 2129 private/smtp
unix 2 [ ACC ] STREAM LISTENING 2133 public/showq
unix 2 [ ACC ] STREAM LISTENING 2137 private/error
unix 2 [ ACC ] STREAM LISTENING 2141 private/local
unix 2 [ ACC ] STREAM LISTENING 2145 private/virtual
unix 2 [ ACC ] STREAM LISTENING 2149 private/lmtp
unix 2 [ ACC ] STREAM LISTENING 2153 private/cyrus
unix 2 [ ACC ] STREAM LISTENING 2157 private/uucp
unix 2 [ ACC ] STREAM LISTENING 2161 private/ifmail
unix 2 [ ACC ] STREAM LISTENING 2165 private/bsmtp
unix 2 [ ACC ] STREAM LISTENING 2169 private/relay
unix 2 [ ACC ] STREAM LISTENING 2173 private/trace
unix 2 [ ACC ] STREAM LISTENING 2177 private/verify
unix 2 [ ACC ] STREAM LISTENING 2181 private/proxymap
unix 2 [ ACC ] STREAM LISTENING 1861
/var/lib/mysql/mysql.so
ck
unix 2 [ ACC ] STREAM LISTENING 2106 public/cleanup
unix 2 [ ACC ] STREAM LISTENING 1728 /dev/gpmctl
You can see that it is not listening on port 25 at all.
Here is a snap shot of my IPTABLES:
# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
# firewall; such entries will *not* be listed here.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 110 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 3306 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 25 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 216.223.128.151 --sport 53 -d 0/0
-j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -j REJECT
COMMIT
As you can see from that, it should accept connects on port 25.
I have tried turning off IPTABLES all together with no luck.
My machine is wired to the internet via a DSL connection and there is no
router in between it and the outside work.
Thanks.
Bryan
More information about the rhn-users
mailing list