Paul Cocker wrote:
-----Original Message-----
From: Noel Jones [mailto:[EMAIL PROTECTED]
Sent: 13 October 2008 13:36
To: Paul Cocker; postfix-users@postfix.org
Subject: Re: Postfix listening on 25, unable to telnet to 25
- my first config
Paul Cocker wrote:
All my telneting had been by IP address, the name wasn't in DNS yet.
I've added it, but I get the same problems. As noted in my previous
post I've now found I can access the port from the postfix machine,
just not other machines.
Use netstat or lsof to see if postfix is really listening on
the external interfaces.
Netstat reveala
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 *:smtp *:*
LISTEN
Which I believe indicates it is listening on port 25 for connections
from anywhere, yes?
If postfix doesn't appear to be listening on the external
interfaces, check your master.cf. Some distributions of
postfix change master.cf to force postfix to listen on localhost only.
Look for a line in master.cf beginning like:
127.0.0.1:smtp inet ...
and remove the "127.0.0.1:" part.
If this fixes the problem, complain to your distributor.
The smtp line look correct:
smtp inet n - n - - smtpd
Good. Looks as if postfix is ready for connections.
This means your problem is not with postfix, but with
something else interfering with the connection.
If postfix does appear to be listening on external
interfaces, then you have firewall software on that host
interfering with postfix.
Definitely nothing in between, of that I'm certain.
Are there any tools which will give me more information about attempts
to connect to a port on a remote host?
See http://www.postfix.org/DEBUG_README.html#sniffer
Run tcpdump on the postfix box to see incoming connections.
Run tcpdump on some external box to see an outgoing connection
to the postfix box (If it's a windows box, use
http://www.wireshark.org). (if it's a windows box, temporarily
disable the antivirus software and the windows firewall)
--
Noel Jones