On Sun, 30 May 2004 08:09:13 GMT, Blitzen <(E-Mail Removed)> wrote:
> 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
If sendmail was compiled with tcpwrappers, you may need sendmail: ALL
(using the daemon name, not protocol name) depending what is in your
hosts.deny. But if nothing shows up in your sendmail logs,
/var/log/messages, or firewall logs (if enabled), maybe your ISP started
blocking port 25 other than to their own smtp relay(s).
--
David Efflandt - All spam ignored
http://www.de-srv.com/