port 25 not responding to outside
From: Blitzen (blitzen_at_sauerburger.org)
Date: 05/30/04
- Next message: Antoine EMERIT: "Re: Encryping samba traffic"
- Previous message: David Efflandt: "Re: Shared Key with wireless in Linux -- is this possible?"
- Next in thread: Bruno Wolff III: "Re: port 25 not responding to outside"
- Reply: Bruno Wolff III: "Re: port 25 not responding to outside"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 May 2004 08:09:13 GMT
Hello. I'm having a very strange error regarding sendmail and outside
connections. I have it running on a gateway, and normally it's been fine
accepting mail from the outside. However, just recently (somewhere around
the last time I switched IP addresses, a day or two ago) it stopped
accepting connections from the outside. It still accepts connections from
localhost, and from other hosts on the internal LAN. It also accepts
connections from the outside on other ports like 22 (SSH) fine. But when
an outside host on the internet tries to connect to port 25 of my host, it
simply hangs and times out. I've tried opening my firewall completely,
allowing everything to smtp in /etc/hosts.allow, shutting down and
restarting sendmail completely several times, and rebooting altogether. It
still persists, and is driving me bananas.
I'm on a Slackware 9.0.0 box. Here are outputs of relevant commands and
file contents:
$ ps -ef | grep sendmail
root 144 1 0 03:43 ? 00:00:00 sendmail: accepting connections
smmsp 147 1 0 03:43 ? 00:00:00 sendmail: Queue
runner@00:25:00 for /var/spool/clientmqueue
$ netstat -an|grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
/etc/hosts.allow:
sshd: ALL
smtp: ALL #I added this when the problem started, even though I know
#sendmail isn't run from Inetd
I opened my iptables firewall completely to see if it would help:
$ iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
----------------EOF------------
I also run Portsentry, which I tried shutting down, to no avail.
Anyway, help as to whatever (probably obvious and trivial) thing I'm
overlooking is appreciated.
Oh, and please don't reply by email until after it's fixed, as I obviously
can't receive your reply until then =o)
Thanks.
-- Blitzen
- Next message: Antoine EMERIT: "Re: Encryping samba traffic"
- Previous message: David Efflandt: "Re: Shared Key with wireless in Linux -- is this possible?"
- Next in thread: Bruno Wolff III: "Re: port 25 not responding to outside"
- Reply: Bruno Wolff III: "Re: port 25 not responding to outside"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|