SMTP Connection Refused

David-Paul Niner dpniner at dpniner.net
Wed Nov 2 20:57:04 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ki Song wrote:
> I am running Fedora Core 4 using Postfix as my mail server.
> 
> When I send/receive e-mail messages from an outside client (yahoomail,
> gmail, hotmail, etc.), the messages are delivered properly.
> 
> However, when I send a message to a different e-mail server in house
> (store.knifecenter.com), it says the connection is refused. Here is the
> exact message that is returned in the postfix maillog:
> 
> connect to store.knifecenter.com[70.88.225.6]: Connection refused (port 25)
> D7C9C3572A1: to=<listserv at store.knifecenter.com>, relay=none, delay=0,
> status=deferred (connect to store.knifecenter.com[70.88.225.6]: Connection
> refused)
> disconnect from unknown[10.1.10.19]
> 
> What is going on? Any ideas?
>  
> 

Looks like you're trying to connect to a NAT'd public IP address from a
private internal address.

I would suggest one of the following options:

1.   Set up an "internal" dns server, or configure your DNS server to
support views so that all internal clients see the private rather than
the public ip address of the mail server

2.  Push out a static hosts file to each client machine with a host
entry for store.knifecenter.com that points to the private address of
your postfix box.

That should be enough to get you started.

You can learn more about views in BIND 9 here:
http://sysadmin.oreilly.com/news/views_0501.html

As far as pushing out the hosts file, you should be able to script that
action.

Let me know if I can be of any further assistance,
David-Paul Niner, RHCE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDaSgbbbM3pSFeMYgRAlZyAJ9u4+9FH3Yp7C5xFyFPqrHM2oLVpwCcCmWT
z09Mcgra+88vKm0niq2T8k8=
=ha1h
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-list mailing list