Paul Cocker schrieb:
-----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

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?

use tcpdump for that purpose

please try

$ telnet $IP_OF_SMTP_HOST 25

and show exactly, what you get

could also be a problem with duplicate IP addresses, are you sure that the server's IP address is _really_ unique?

--
Udo Rader, CTO
http://www.bestsolution.at

Reply via email to