Subject: Re: stupid questions about sendmail and mutt
To: None <dlagno@mail.ru>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 02/06/2005 17:11:07
In message <20050206215133.GH5839@chup.gado>, Denis Lagno writes:
>> >I have not much modifications from standard configuration in etc.tgz set.
>> >I have no /etc/hosts.deny file, I have not configured any firewall.
>> >I have almost unmodified sendmail.cf.
>> >Connection between machines is via Wi-Fi access point D-Link 2000AP+.
>> >Also there is configured ipsec, but I tried to disable ipsec and
>> >I still cannot telnet to port 25 from other machine. But I can
>> >telnet to port 23 for example, or ssh.
>>
>> What does "netstat -a | grep smtp" show?
>
># netstat -a | grep smtp
>tcp 0 0 localhost.smtp *.* LISTEN
>tcp6 0 0 localhost.smtp *.* LISTEN
>
Your sendmail is configured to listen to 127.0.0.1 only. I don't run
sendmail, so I can't tell you how to fix it, but I thought I saw a
message last night with details.
Basically, NetBSD as shipped does not listen on *any* ports. You need
to reconfigure to listen for incoming connections from other machines.
--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb