Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 15:36:46 +0100
From:      rene@xs4all.nl
To:        postfix-users@cloud9.net
Cc:        Andre <andre@netvision.com.br>, questions@freebsd.org
Subject:   Re: not accepting SMTP connections :((
Message-ID:  <20020313153646.V24040@xs4all.nl>
In-Reply-To: <200203121010.02122.andre@netvision.com.br>; from andre@netvision.com.br on Tue, Mar 12, 2002 at 10:10:01AM -0200
References:  <20020311141528.S24040@xs4all.nl> <200203121010.02122.andre@netvision.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 12, 2002 at 10:10:01AM -0200, Andre wrote:
> 
> Have you tried connecting to 127.0.0.1 from inside the machine where Postfix 
> is running? Cleared all your IPFW or IPFilter rules? This "I can't connect" 
> complain ordinarily is just some forgotten firewall rule.
> 
Thank you. I now know that something inside my box starts-up smtpd whenever a
valid request is sent to localhost:25

However, all is not fine yet.
I've done some tests today, and included results below:

 localhost:$ telnet 127.0.0.1 25
<succeeds>

 localhost:$ nslookup localhost
[snip]
Name:    localhost.localhost
Address:  127.0.0.1

 localhost:$ telnet localhost 25
Trying ::1...
[hangs, would like to know why]

 somehost:$ telnet mydomain.net <- verified that it points to my localhost, can ping>
Trying 194.109.196.149...
telnet: Unable to connect to remote host: Connection refused

[following ran while somehost tried to telnet to localhost:25]
 $ tcpdump -i tun0 not port ssh and not port http and not port netbios-ns
tcpdump: listening on tun0
15:28:18.608355 somehost.58253 > localhost.smtp: S
3945481990:3945481990(0) win 8192 <mss 1460,nop,wscale 0,nop,nop,timestamp
2534510 0> (DF) [tos 0x10]
15:28:18.608526 localhost.smtp > somehost.58253: R 0:0(0) ack
3945481991 win 0

 localhost:$ tail /var/log/maillog
[nothing]

I am totally clueless as to what part of my system acknowledges or refuses
network requests, in general.. 
I'd love to have a way to test if a packet reaches the daemon for a certain port..

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313153646.V24040>