OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Help] Connection failed

From: mouss (usebsdfree.fr)
Date: Sun Aug 28 2005 - 13:06:00 CDT


宁王 a écrit :

>Hi,
> I am new to postfix, and I have setup a SMTP server on db.grids.cn.
> By unmasking the parameter:
> mynetworks =
> I am able to connect this server from my gateway machine with
>'telnet db.grids.cn 25'.
>
>
redo the test with IP addresses instead of domain names. test both the
internal and external IP of the gateway (127.0.0.1 doesn't count).

> However, from the intranet (connecting to internet from that
>gateway), I get only error message of 'connection failed on port 25'.
>
>
redo the test above using the internal IP of the gateway. make sure the
request really reaches the gateway machine (watch for intermediary
routers/FWs). make sure the request really goes to postfix (make sure
the gateway isn't configured as a FW that rejects your connection).
also make sure that postfix is listening on these IP addresses. don't
play with inet_interfaces unless you know what you're doing.
finally, read the DEBUG_README document.